File tree 5 files changed +30
-24
lines changed
5 files changed +30
-24
lines changed Original file line number Diff line number Diff line change @@ -17,20 +17,22 @@ jobs:
17
17
- name : Setup PHP
18
18
uses : shivammathur/setup-php@v2
19
19
with :
20
- php-version : 8.1
20
+ php-version : 8.2
21
21
22
22
- name : Cache Composer packages
23
23
id : composer-cache
24
24
uses : actions/cache@v4
25
25
with :
26
26
path : vendor
27
- key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
27
+ key : ${{ runner.os }}-php-8.2- ${{ hashFiles('**/composer.lock') }}
28
28
restore-keys : |
29
- ${{ runner.os }}-php-
29
+ ${{ runner.os }}-php-8.2-
30
+
30
31
- name : Install dependencies
31
32
if : steps.composer-cache.outputs.cache-hit != 'true'
32
33
run : |
33
34
composer install
34
35
composer dump
36
+
35
37
- name : Run analyse phpstan
36
38
run : vendor/bin/phpstan analyse --error-format github
Original file line number Diff line number Diff line change @@ -15,17 +15,18 @@ jobs:
15
15
- name : Setup PHP
16
16
uses : shivammathur/setup-php@v2
17
17
with :
18
- php-version : ' 8.1 '
18
+ php-version : ' 8.2 '
19
19
coverage : xdebug
20
20
21
21
- name : Cache Composer packages
22
22
id : composer-cache
23
23
uses : actions/cache@v4
24
24
with :
25
25
path : vendor
26
- key : ${{ runner.os }}-php-8.1 -${{ hashFiles('**/composer.lock') }}
26
+ key : ${{ runner.os }}-php-8.2 -${{ hashFiles('**/composer.lock') }}
27
27
restore-keys : |
28
- ${{ runner.os }}-php--8.1
28
+ ${{ runner.os }}-php--8.2
29
+
29
30
- name : Install dependencies
30
31
if : steps.composer-cache.outputs.cache-hit != 'true'
31
32
run : |
Original file line number Diff line number Diff line change @@ -13,16 +13,22 @@ jobs:
13
13
fail-fast : false
14
14
matrix :
15
15
php : [8.3, 8.2, 8.1, 8.0]
16
- laravel : [10.*, 9.*]
16
+ laravel : [11.*, 10.*, 9.*]
17
17
dependency-version : [prefer-lowest, prefer-stable]
18
18
include :
19
19
- laravel : 9.*
20
20
testbench : 7.*
21
21
- laravel : 10.*
22
22
testbench : 8.*
23
+ - laravel : 11.*
24
+ testbench : 9.*
23
25
exclude :
24
26
- laravel : 10.*
25
27
php : 8.0
28
+ - laravel : 11.*
29
+ php : 8.0
30
+ - laravel : 11.*
31
+ php : 8.1
26
32
27
33
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
28
34
Original file line number Diff line number Diff line change 19
19
"license" : " MIT" ,
20
20
"require" : {
21
21
"php" : " ^8.0" ,
22
- "illuminate/config" : " ^9.0|^10.0" ,
23
- "illuminate/console" : " ^9.0|^10.0" ,
24
- "illuminate/log" : " ^9.0|^10.0" ,
25
- "illuminate/support" : " ^9.0|^10.0" ,
26
- "monolog/monolog" : " ^2.0|^3.0" ,
22
+ "illuminate/config" : " ^9.0|^10.0|^11.0 " ,
23
+ "illuminate/console" : " ^9.0|^10.0|^11.0 " ,
24
+ "illuminate/log" : " ^9.0|^10.0|^11.0 " ,
25
+ "illuminate/support" : " ^9.0|^10.0|^11.0 " ,
26
+ "monolog/monolog" : " ^2.0|^3.0|^11.0 " ,
27
27
"cesargb/php-log-rotation" : " ^2.7"
28
28
},
29
29
"require-dev" : {
30
- "orchestra/testbench" : " ^7.0|^8.0" ,
31
- "phpunit/phpunit" : " ^9.5" ,
30
+ "phpunit/phpunit" : " ^9.5|^10.5" ,
32
31
"friendsofphp/php-cs-fixer" : " ^3.13" ,
33
- "nunomaduro/larastan" : " ^2.3"
32
+ "nunomaduro/larastan" : " ^2.3" ,
33
+ "orchestra/testbench" : " ^7.0|^8.0|^9.0"
34
34
},
35
35
"autoload" : {
36
36
"psr-4" : {
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" bootstrap =" vendor/autoload.php" backupGlobals =" false" backupStaticAttributes =" false" colors =" true" verbose =" true" convertErrorsToExceptions =" true" convertNoticesToExceptions =" true" convertWarningsToExceptions =" true" processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
3
- <coverage >
4
- <include >
5
- <directory suffix =" .php" >src/</directory >
6
- </include >
7
- <report >
8
- <text outputFile =" php://stdout" showUncoveredFiles =" false" />
9
- </report >
10
- </coverage >
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" bootstrap =" vendor/autoload.php" backupGlobals =" false" colors =" true" processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory =" .phpunit.cache" backupStaticProperties =" false" >
11
3
<testsuites >
12
4
<testsuite name =" League Test Suite" >
13
5
<directory >tests</directory >
14
6
</testsuite >
15
7
</testsuites >
16
8
<logging />
9
+ <source >
10
+ <include >
11
+ <directory suffix =" .php" >src/</directory >
12
+ </include >
13
+ </source >
17
14
</phpunit >
You can’t perform that action at this time.
0 commit comments