File tree 6 files changed +31
-40
lines changed
6 files changed +31
-40
lines changed Original file line number Diff line number Diff line change 10
10
strategy :
11
11
matrix :
12
12
os : [ubuntu-latest, windows-latest, macos-latest]
13
- php : [8.1, 8.2, 8.3]
13
+ php : [8.2, 8.3, 8.4]
14
+
14
15
name : ${{ matrix.os }} - PHP ${{ matrix.php }}
15
16
16
17
runs-on : ${{ matrix.os }}
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 1
- FROM php:8.1 -cli-alpine
1
+ FROM php:8.2 -cli-alpine
2
2
3
3
ENV TAKEOUT_CONTAINER=1
4
4
Original file line number Diff line number Diff line change 11
11
|
12
12
*/
13
13
14
- $ app = new LaravelZero \Framework \Application (
14
+ use LaravelZero \Framework \Application ;
15
+
16
+ $ app = new Application (
15
17
dirname (__DIR__ )
16
18
);
17
19
Original file line number Diff line number Diff line change 16
16
}
17
17
],
18
18
"require" : {
19
- "php" : " ^8.0 " ,
19
+ "php" : " ^8.2 " ,
20
20
"ext-json" : " *" ,
21
21
"ext-pcntl" : " *" ,
22
22
"ext-posix" : " *" ,
23
23
"composer/semver" : " ^3.4" ,
24
24
"guzzlehttp/psr7" : " ^2.6"
25
25
},
26
26
"require-dev" : {
27
- "guzzlehttp/guzzle" : " ^7.4 " ,
28
- "laravel-zero/framework" : " ^9 .0" ,
27
+ "guzzlehttp/guzzle" : " ^7.5 " ,
28
+ "laravel-zero/framework" : " ^11 .0" ,
29
29
"mockery/mockery" : " ^1.3.1" ,
30
- "nunomaduro/laravel-console-menu" : " ^3.3 " ,
31
- "phpunit/phpunit" : " ^9.0 " ,
30
+ "nunomaduro/laravel-console-menu" : " ^3.4 " ,
31
+ "phpunit/phpunit" : " ^10.5 " ,
32
32
"squizlabs/php_codesniffer" : " ^3.5" ,
33
- "tightenco/tlint" : " ^6.0 "
33
+ "tightenco/tlint" : " ^9.3 "
34
34
},
35
35
"autoload" : {
36
36
"psr-4" : {
49
49
"preferred-install" : " dist" ,
50
50
"sort-packages" : true ,
51
51
"optimize-autoloader" : true ,
52
- "platform-check" : false ,
53
- "platform" : {
54
- "php" : " 8.0.2"
55
- }
52
+ "platform-check" : false
56
53
},
57
54
"scripts" : {
58
55
"lint:check" : [
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