File tree 4 files changed +25
-55
lines changed
4 files changed +25
-55
lines changed Original file line number Diff line number Diff line change 9
9
tests :
10
10
strategy :
11
11
matrix :
12
- os : [Ubuntu, Windows, macOS]
13
- php : [8.0, 8.1]
14
- # php: [7.2, 7.3, 7.4, 8.0]
15
-
16
- include :
17
- - os : Ubuntu
18
- os-version : ubuntu-latest
19
-
20
- - os : Windows
21
- os-version : windows-latest
22
-
23
- - os : macOS
24
- os-version : macos-latest
25
-
26
- - os : macOS-11
27
- os-version : macos-11.0
28
- php : 8.0
29
-
30
- - os : macOS-11
31
- os-version : macos-11.0
32
- php : 8.1
12
+ os : [ubuntu-latest, windows-latest, macos-latest]
13
+ php : [8.2]
33
14
34
15
name : ${{ matrix.os }} - PHP ${{ matrix.php }}
35
16
36
- runs-on : ${{ matrix.os-version }}
37
-
38
17
steps :
39
18
- name : Checkout code
40
19
uses : actions/checkout@v1
Original file line number Diff line number Diff line change 4
4
/.vagrant
5
5
.phpunit.result.cache
6
6
/storage
7
+ .phpunit.cache /
7
8
phpunit.xml
8
9
composer.lock
Original file line number Diff line number Diff line change 16
16
}
17
17
],
18
18
"require" : {
19
- "php" : " ^8.1 " ,
19
+ "php" : " ^8.2 " ,
20
20
"ext-json" : " *" ,
21
21
"ext-pcntl" : " *" ,
22
22
"ext-posix" : " *" ,
23
23
"guzzlehttp/psr7" : " ^1.7"
24
24
},
25
25
"require-dev" : {
26
26
"guzzlehttp/guzzle" : " ^7.5" ,
27
- "laravel-zero/framework" : " ^10 .0" ,
27
+ "laravel-zero/framework" : " ^11 .0" ,
28
28
"mockery/mockery" : " ^1.3.1" ,
29
29
"nunomaduro/laravel-console-menu" : " ^3.4" ,
30
- "phpunit/phpunit" : " ^9.0 " ,
30
+ "phpunit/phpunit" : " ^10.5 " ,
31
31
"squizlabs/php_codesniffer" : " ^3.5" ,
32
- "tightenco/tlint" : " ^6.0 "
32
+ "tightenco/tlint" : " ^9.3 "
33
33
},
34
34
"autoload" : {
35
35
"psr-4" : {
50
50
"optimize-autoloader" : true ,
51
51
"platform-check" : false ,
52
52
"platform" : {
53
- "php" : " 8.1 "
53
+ "php" : " 8.2 "
54
54
}
55
55
},
56
56
"scripts" : {
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"
3
- backupGlobals =" false"
4
- backupStaticAttributes =" false"
5
- bootstrap =" vendor/autoload.php"
6
- colors =" true"
7
- convertErrorsToExceptions =" true"
8
- convertNoticesToExceptions =" true"
9
- convertWarningsToExceptions =" true"
10
- processIsolation =" false"
11
- stopOnFailure =" false"
12
- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
13
- <coverage processUncoveredFiles =" true" >
14
- <include >
15
- <directory suffix =" .php" >./app</directory >
16
- </include >
17
- </coverage >
18
- <testsuites >
19
- <testsuite name =" Feature" >
20
- <directory suffix =" Test.php" >./tests/Feature</directory >
21
- </testsuite >
22
- <testsuite name =" Unit" >
23
- <directory suffix =" Test.php" >./tests/Unit</directory >
24
- </testsuite >
25
- </testsuites >
26
- <php >
27
- <server name =" APP_ENV" value =" testing" />
28
- </php >
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" backupGlobals =" false" bootstrap =" vendor/autoload.php" colors =" true" processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory =" .phpunit.cache" backupStaticProperties =" false" >
3
+ <testsuites >
4
+ <testsuite name =" Feature" >
5
+ <directory suffix =" Test.php" >./tests/Feature</directory >
6
+ </testsuite >
7
+ <testsuite name =" Unit" >
8
+ <directory suffix =" Test.php" >./tests/Unit</directory >
9
+ </testsuite >
10
+ </testsuites >
11
+ <php >
12
+ <server name =" APP_ENV" value =" testing" />
13
+ </php >
14
+ <source >
15
+ <include >
16
+ <directory suffix =" .php" >./app</directory >
17
+ </include >
18
+ </source >
29
19
</phpunit >
You can’t perform that action at this time.
0 commit comments