Skip to content

Commit 5e61543

Browse files
authored
Merge pull request #20 from msztorc/laravel11
Laravel 11
2 parents 47e1e9b + 98905b0 commit 5e61543

File tree

3 files changed

+33
-38
lines changed

3 files changed

+33
-38
lines changed

.github/workflows/tests.yml

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: [ubuntu-latest]
12-
php: [8.2, 8.1, 8.0, 7.4, 7.3]
13-
laravel: [9.*, 8.*, 7.*, 6.*, 10.*]
12+
php: [8.3, 8.2, 8.1, 8.0, 7.4, 7.3]
13+
laravel: [6.*, 7.*, 8.*, 9.*, 10.*, 11.*]
1414
dependency-version: [prefer-lowest, prefer-stable]
1515
include:
16+
- laravel: 11.*
17+
testbench: 9.*
1618
- laravel: 10.*
1719
testbench: 8.*
1820
- laravel: 9.*
@@ -24,27 +26,42 @@ jobs:
2426
- laravel: 6.*
2527
testbench: ^4.17
2628
exclude:
29+
- laravel: 11.*
30+
php: 8.1
31+
- laravel: 11.*
32+
php: 8.0
33+
- laravel: 11.*
34+
php: 7.4
35+
- laravel: 11.*
36+
php: 7.3
2737
- laravel: 10.*
2838
php: 8.0
2939
- laravel: 10.*
3040
php: 7.4
3141
- laravel: 10.*
3242
php: 7.3
33-
- laravel: 6.*
34-
php: 8.1
35-
- laravel: 6.*
43+
- laravel: 9.*
44+
php: 7.3
45+
- laravel: 9.*
46+
php: 7.4
47+
- laravel: 8.*
3648
php: 8.2
49+
dependency-version: prefer-lowest
50+
- laravel: 8.*
51+
php: 8.3
52+
dependency-version: prefer-lowest
3753
- laravel: 7.*
3854
php: 8.1
3955
- laravel: 7.*
4056
php: 8.2
41-
- laravel: 8.*
57+
- laravel: 7.*
58+
php: 8.3
59+
- laravel: 6.*
60+
php: 8.1
61+
- laravel: 6.*
4262
php: 8.2
43-
dependency-version: prefer-lowest
44-
- laravel: 9.*
45-
php: 7.3
46-
- laravel: 9.*
47-
php: 7.4
63+
- laravel: 6.*
64+
php: 8.3
4865

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

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
}
2222
],
2323
"require": {
24-
"php": "^7.3|^7.4|^8.0|^8.1|^8.2",
25-
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0",
24+
"php": "^7.3 || ^7.4 || ^8.0 || ^8.1 || ^8.2 || ^8.3",
25+
"illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
2626
"ext-json": "*"
2727
},
2828
"autoload": {
@@ -54,7 +54,7 @@
5454
},
5555
"require-dev": {
5656
"friendsofphp/php-cs-fixer": "^2 || ^3",
57-
"orchestra/testbench": "^4.0|^5.0|^6.0||^7.0|^8.0",
58-
"phpunit/phpunit": "^8.0 || ^9.0"
57+
"orchestra/testbench": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
58+
"phpunit/phpunit": "^8.0 || ^9.0 || ^10.0 || ^11.0"
5959
}
6060
}

phpunit.xml.dist

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit bootstrap="vendor/autoload.php"
33
backupGlobals="false"
4-
backupStaticAttributes="false"
54
colors="true"
6-
verbose="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
105
processIsolation="false"
116
stopOnFailure="false">
12-
<php>
13-
<ini name="error_reporting" value="-1" />
14-
<ini name="xdebug.mode" value="coverage" />
15-
<env name="XDEBUG_MODE" value="coverage" />
16-
</php>
177
<testsuites>
188
<testsuite name="Test Suite">
19-
<directory>tests</directory>
9+
<directory>./tests</directory>
2010
</testsuite>
2111
</testsuites>
22-
<filter>
23-
<whitelist>
24-
<directory suffix=".php">src/</directory>
25-
</whitelist>
26-
</filter>
27-
<logging>
28-
<log type="tap" target="build/report.tap"/>
29-
<log type="junit" target="build/report.junit.xml"/>
30-
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
31-
<log type="coverage-text" target="build/coverage.txt"/>
32-
<log type="coverage-clover" target="build/logs/clover.xml"/>
33-
</logging>
3412
</phpunit>

0 commit comments

Comments
 (0)