Skip to content

Commit 3730a2e

Browse files
authored
Support for PHP 8.3. Dropped support for Laravel 9 (#23)
1 parent faa03bb commit 3730a2e

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,14 +8,12 @@ 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
dependency-version: [prefer-lowest, prefer-stable]
1414
include:
1515
- laravel: 10.*
1616
testbench: 8.*
17-
- laravel: 9.*
18-
testbench: 7.*
1917

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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ If you want to know more about the background of this package, please read [the
2424

2525
## Requirements
2626

27-
* PHP 8.0 or higher
28-
* Laravel 9 or higher
27+
* PHP 8.1 or higher
28+
* Laravel 10 or higher
2929

3030
## Installation
3131

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.1|^8.2",
20-
"illuminate/support": "^9.0|^10.0"
19+
"php": "^8.1|^8.2|^8.3",
20+
"illuminate/support": "^10.0"
2121
},
2222
"require-dev": {
23-
"nesbot/carbon": "^2.66",
24-
"orchestra/testbench": "^7.0|^8.0",
25-
"phpunit/phpunit": "^9.5.10"
23+
"orchestra/testbench": "^8.0",
24+
"phpunit/phpunit": "^10.4"
2625
},
2726
"autoload": {
2827
"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)