Skip to content

Commit

Permalink
Support for PHP 8.3. Dropped support for Laravel 9
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet committed Jan 2, 2024
1 parent 97ec7e5 commit bb1a8be
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 28 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [8.2, 8.1, 8.0]
laravel: [9.*]
php: [8.3, 8.2, 8.1]
laravel: [10.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}

Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
This package allows you to seamlessly use the [Browser Kit features](https://github.com/laravel/browser-kit-testing) in more modern Laravel installations.

## Requirements
* Laravel 9.
* PHP 8.0 or higher.
* Support for [Package Discovery](https://laravel.com/docs/5.5/packages#package-discovery).
* Laravel 10
* PHP 8.1 or higher

## Sponsor this package!

Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
"homepage": "https://github.com/protonemedia/laravel-browser-kit-macro",
"type": "library",
"require": {
"php": "^8.0 || ^8.1 || ^8.2",
"laravel/browser-kit-testing": "^6.0",
"illuminate/http": "^9.0",
"illuminate/support": "^9.0",
"php": "^8.1 || ^8.2 || ^8.3",
"laravel/browser-kit-testing": "^7.0",
"illuminate/http": "^10.0",
"illuminate/support": "^10.0",
"symfony/dom-crawler": "^6.0"
},
"require-dev": {
"orchestra/testbench": "^7.0",
"phpunit/phpunit": "^9.4"
"orchestra/testbench": "^8.0",
"phpunit/phpunit": "^10.4"
},
"license": "MIT",
"authors": [
Expand Down
20 changes: 5 additions & 15 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
backupGlobals="false"
colors="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
</phpunit>
</phpunit>

0 comments on commit bb1a8be

Please sign in to comment.