File tree Expand file tree Collapse file tree 8 files changed +49
-62
lines changed Expand file tree Collapse file tree 8 files changed +49
-62
lines changed Original file line number Diff line number Diff line change 8
8
9
9
strategy :
10
10
matrix :
11
- php : ['8.0', 8.1, 8.2]
12
- laravel : [11, 10, 9]
13
- include :
14
- - { laravel: 11, phpunit: 11 }
15
- - { laravel: 10, phpunit: 10 }
16
- - { laravel: 9, phpunit: 9 }
11
+ php : [8.2, 8.3, 8.4]
12
+ lib :
13
+ - laravel : ^13.0.x-dev
14
+ - laravel : ^12.0
15
+ - laravel : ^11.0
17
16
exclude :
18
- - { php: 8.0, laravel: 10 }
19
- - { php: 8.0, laravel: 11 }
20
- - { php: 8.1, laravel: 11 }
17
+ - php : 8.2
18
+ lib :
19
+ laravel : ^13.0.x-dev
21
20
22
21
steps :
23
- - uses : actions/checkout@v4
22
+ - uses : actions/checkout@v3
24
23
25
24
- name : Setup PHP
26
25
uses : shivammathur/setup-php@v2
27
26
with :
28
27
php-version : ${{ matrix.php }}
29
28
coverage : xdebug
30
29
31
- - run : composer require "laravel/framework:^${{ matrix.laravel }}" --dev
32
- - run : composer require "phpunit/phpunit:^${{ matrix.phpunit }}" --dev
30
+ - run : composer require "laravel/framework:${{ matrix.lib.laravel }}" --dev
33
31
- run : mkdir -p build/logs
34
- - run : vendor/bin/phpunit -c 'phpunit${{ matrix.phpunit }}.xml' - -coverage-clover build/logs/clover.xml
32
+ - run : vendor/bin/phpunit --coverage-clover build/logs/clover.xml
35
33
36
34
- name : Upload Coverage
37
35
uses : nick-invision/retry@v2
38
36
env :
39
37
COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
38
COVERALLS_PARALLEL : ' true'
41
- COVERALLS_FLAG_NAME : ' laravel:${{ matrix.laravel }}'
39
+ COVERALLS_FLAG_NAME : ' laravel:${{ matrix.lib. laravel }}'
42
40
with :
43
41
timeout_minutes : 1
44
42
max_attempts : 3
Original file line number Diff line number Diff line change 18
18
- php-scrutinizer-run
19
19
20
20
environment :
21
- php : ' 8.1.8 '
21
+ php : ' 8.3.17 '
22
22
23
23
dependencies :
24
24
before :
Original file line number Diff line number Diff line change @@ -8,8 +8,11 @@ Null Guard for Laravel. Designed for Middleware-based authentication and testing
8
8
9
9
## Requirements
10
10
11
- - PHP: ` ^8.0 `
12
- - Laravel: ` ^9.0 || ^10.0 || ^11.0 `
11
+ - PHP: ` ^8.2 `
12
+ - Laravel: ` ^11.0 || ^12.0 `
13
+
14
+ > [ !NOTE]
15
+ > Older versions have outdated dependency requirements. If you cannot prepare the latest environment, please refer to past releases.
13
16
14
17
## Installing
15
18
Original file line number Diff line number Diff line change 22
22
},
23
23
"require" : {
24
24
"php" : " ^8.0" ,
25
- "illuminate/auth" : " ^9.0 || ^10.0 || ^11.0" ,
26
- "illuminate/contracts" : " ^9.0 || ^10.0 || ^11.0" ,
27
- "illuminate/support" : " ^9.0 || ^10.0 || ^11.0"
25
+ "illuminate/auth" : " ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0 " ,
26
+ "illuminate/contracts" : " ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0 " ,
27
+ "illuminate/support" : " ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0 "
28
28
},
29
29
"require-dev" : {
30
30
"orchestra/testbench" : " *" ,
31
- "orchestra/testbench-core" : " >=7 .0" ,
32
- "phpunit/phpunit" : " >=9.5 " ,
33
- "mockery/mockery" : " ^1.3.3 || ^1.4.2 "
31
+ "orchestra/testbench-core" : " >=9 .0" ,
32
+ "phpunit/phpunit" : " >=11.0 " ,
33
+ "mockery/mockery" : " ^1.6.12 "
34
34
},
35
35
"minimum-stability" : " dev" ,
36
36
"prefer-stable" : true ,
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ backupGlobals =" false"
4
+ bootstrap =" vendor/autoload.php"
5
+ colors =" true"
6
+ processIsolation =" false"
7
+ stopOnFailure =" false"
8
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.0/phpunit.xsd"
9
+ cacheDirectory =" .phpunit.cache"
10
+ backupStaticProperties =" false" >
11
+
12
+ <source >
13
+ <include >
14
+ <directory >./src</directory >
15
+ </include >
16
+ </source >
17
+
18
+ <coverage />
19
+
20
+ <testsuites >
21
+ <testsuite name =" Package Test Suite" >
22
+ <directory suffix =" Test.php" >./tests</directory >
23
+ </testsuite >
24
+ </testsuites >
25
+ </phpunit >
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments