File tree Expand file tree Collapse file tree 4 files changed +34
-47
lines changed Expand file tree Collapse file tree 4 files changed +34
-47
lines changed Original file line number Diff line number Diff line change @@ -10,20 +10,26 @@ jobs:
10
10
fail-fast : false
11
11
matrix :
12
12
php : [8.3, 8.2, 8.1, 8.0]
13
- laravel : ["^10.0", "^9.0", "^8.12"]
13
+ laravel : ["^11.0", "^ 10.0", "^9.0", "^8.12"]
14
14
dependency-version : [prefer-lowest, prefer-stable]
15
15
include :
16
- - laravel : " ^10.0"
16
+ - laravel : ^11.0
17
+ testbench : 9.*
18
+ - laravel : ^10.0
17
19
testbench : 8.*
18
- - laravel : " ^9.0"
20
+ - laravel : ^9.0
19
21
testbench : 7.*
20
- - laravel : " ^8.12"
21
- testbench : " ^6.23"
22
+ - laravel : ^8.12
23
+ testbench : ^6.23
22
24
exclude :
23
- - laravel : " ^10.0"
25
+ - laravel : ^10.0
24
26
php : 8.0
25
- - laravel : " ^8.12"
27
+ - laravel : ^8.12
26
28
php : 8.3
29
+ - laravel : ^11.0
30
+ php : 8.1
31
+ - laravel : ^11.0
32
+ php : 8.0
27
33
28
34
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
29
35
49
55
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "symfony/console:>=4.3.4" "mockery/mockery:^1.3.2" --no-interaction --no-update
50
56
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
51
57
58
+ - name : Display PHP version
59
+ run : php -v | grep ^PHP | cut -d' ' -f2
60
+
52
61
- name : Execute tests
53
62
run : vendor/bin/phpunit
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ A simple package allowing for consistent API responses throughout your Laravel a
13
13
## Requirements
14
14
15
15
- PHP ` ^8.0 `
16
- - Laravel ` ^8.12 ` , ` ^9.0 ` or ` ^10 .0 `
16
+ - Laravel ` ^8.12 ` , ` ^9.0 ` , ` ^10.0 ` or ` ^11 .0 `
17
17
18
18
### Legacy Support
19
19
Original file line number Diff line number Diff line change 18
18
],
19
19
"require" : {
20
20
"php" : " ^8.0" ,
21
- "illuminate/support" : " ^8.12|^9.0|^10.0"
21
+ "illuminate/support" : " ^8.12|^9.0|^10.0|^11.0 "
22
22
},
23
23
"require-dev" : {
24
- "orchestra/testbench" : " ^6.23|^7.0|^8.0" ,
25
- "phpunit/phpunit" : " ^9.4"
24
+ "orchestra/testbench" : " ^6.23|^7.0|^8.0|^9.0 " ,
25
+ "phpunit/phpunit" : " ^9.4|^10.1 "
26
26
},
27
27
"autoload" : {
28
28
"psr-4" : {
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <phpunit
3
- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
- xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
5
- backupGlobals =" false"
6
- backupStaticAttributes =" false"
7
- bootstrap =" vendor/autoload.php"
8
- colors =" true"
9
- convertErrorsToExceptions =" true"
10
- convertNoticesToExceptions =" true"
11
- convertWarningsToExceptions =" true"
12
- processIsolation =" false"
13
- stopOnFailure =" false"
14
- executionOrder =" random"
15
- failOnWarning =" true"
16
- failOnRisky =" true"
17
- failOnEmptyTestSuite =" true"
18
- beStrictAboutOutputDuringTests =" true"
19
- verbose =" true"
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ bootstrap =" vendor/autoload.php"
4
+ colors =" true"
5
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.4/phpunit.xsd"
20
6
>
21
- <testsuites >
22
- <testsuite name =" Test Suite" >
23
- <directory >tests</directory >
24
- </testsuite >
25
- </testsuites >
26
- <coverage >
27
- <include >
28
- <directory suffix =" .php" >./src</directory >
29
- </include >
30
- <report >
31
- <html outputDirectory =" build/coverage" />
32
- <text outputFile =" build/coverage.txt" />
33
- <clover outputFile =" build/logs/clover.xml" />
34
- </report >
35
- </coverage >
36
- <logging >
37
- <junit outputFile =" build/report.junit.xml" />
38
- </logging >
7
+ <source >
8
+ <include >
9
+ <directory suffix =" .php" >src/</directory >
10
+ </include >
11
+ </source >
12
+ <testsuites >
13
+ <testsuite name =" Test Suite" >
14
+ <directory >tests</directory >
15
+ </testsuite >
16
+ </testsuites >
39
17
</phpunit >
You can’t perform that action at this time.
0 commit comments