Skip to content

Commit bd4cfb2

Browse files
authored
Support for PHP 8.3. Dropped support for Laravel 9 (#11)
* Support for PHP 8.3. Dropped support for Laravel 9 * Update phpunit.xml.dist
1 parent 01cc897 commit bd4cfb2

File tree

4 files changed

+13
-33
lines changed

4 files changed

+13
-33
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@ jobs:
88
strategy:
99
fail-fast: true
1010
matrix:
11-
php: [8.2, 8.1]
12-
laravel: [10.*, 9.*]
11+
php: [8.3, 8.2, 8.1]
12+
laravel: [10.*]
1313
db: [mysql, postgres, sqlite]
1414
dependency-version: [prefer-lowest, prefer-stable]
1515
include:
1616
- laravel: 10.*
1717
testbench: 8.*
18-
- laravel: 9.*
19-
testbench: 7.*
2018

2119
name: P${{ matrix.php }} - L${{ matrix.laravel }} - DB ${{ matrix.db }} - ${{ matrix.dependency-version }}
2220

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Stop duplicating your Eloquent query scopes and constraints in PHP. This package
1212

1313
## Requirements
1414

15-
* PHP 8.0+
16-
* Laravel 9.0
15+
* PHP 8.1+
16+
* Laravel 10.0
1717

1818
This package is tested with GitHub Actions using MySQL 8.0, PostgreSQL 10.8 and SQLite.
1919

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.1|^8.2",
20-
"illuminate/support": "^9.0|^10.0",
21-
"nesbot/carbon": "^2.66"
19+
"php": "^8.1|^8.2|^8.3",
20+
"illuminate/support": "^10.0"
2221
},
2322
"require-dev": {
2423
"mockery/mockery": "^1.4.4",
25-
"orchestra/testbench": "^7.0|^8.0",
26-
"phpunit/phpunit": "^9.5"
24+
"orchestra/testbench": "^8.0",
25+
"phpunit/phpunit": "^10.4"
2726
},
2827
"autoload": {
2928
"psr-4": {

phpunit.xml.dist

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit bootstrap="vendor/autoload.php"
3-
backupGlobals="false"
4-
backupStaticAttributes="false"
5-
colors="true"
6-
verbose="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
processIsolation="false"
11-
stopOnFailure="false">
3+
backupGlobals="false"
4+
colors="true"
5+
processIsolation="false"
6+
stopOnFailure="false">
127
<testsuites>
138
<testsuite name="Test Suite">
149
<directory>tests</directory>
1510
</testsuite>
1611
</testsuites>
17-
<filter>
18-
<whitelist>
19-
<directory suffix=".php">src/</directory>
20-
</whitelist>
21-
</filter>
22-
<logging>
23-
<log type="tap" target="build/report.tap"/>
24-
<log type="junit" target="build/report.junit.xml"/>
25-
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
26-
<log type="coverage-text" target="build/coverage.txt"/>
27-
<log type="coverage-clover" target="build/logs/clover.xml"/>
28-
</logging>
29-
</phpunit>
12+
</phpunit>

0 commit comments

Comments
 (0)