File tree Expand file tree Collapse file tree 3 files changed +22
-26
lines changed Expand file tree Collapse file tree 3 files changed +22
-26
lines changed Original file line number Diff line number Diff line change 16
16
fail-fast : false
17
17
matrix :
18
18
php-version :
19
- - " 8.1"
20
- - " 8.2"
21
19
- " 8.3"
20
+ - " 8.4"
22
21
23
22
steps :
24
23
- name : " Checkout"
@@ -27,11 +26,11 @@ jobs:
27
26
- name : " Install PHP with extensions"
28
27
uses : " shivammathur/setup-php@v2"
29
28
with :
30
- php-version : " ${{ matrix.php-version }}"
31
- php_extensions : " xdebug"
29
+ php-version : " ${{ matrix.php-version }}"
30
+ extensions : " xdebug"
32
31
33
32
- name : " Cache dependencies installed with Composer"
34
- uses : " actions/cache@v2 "
33
+ uses : " actions/cache@v4 "
35
34
with :
36
35
path : " ~/.composer/cache"
37
36
key : " php${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.json') }}"
Original file line number Diff line number Diff line change 9
9
"type" : " library" ,
10
10
"license" : " MIT" ,
11
11
"require" : {
12
- "php" : " >=8.1 " ,
12
+ "php" : " >=8.3 " ,
13
13
"setbased/helper-code-store" : " ^2.4.0"
14
14
},
15
- "minimum-stability" : " dev" ,
16
- "prefer-stable" : true ,
17
15
"require-dev" : {
18
- "phing/phing" : " ^3.0.0-RC4 " ,
19
- "phpunit/phpunit" : " ^9.5.28 "
16
+ "phing/phing" : " ^3.0.1 " ,
17
+ "phpunit/phpunit" : " ^11.0 "
20
18
},
21
19
"autoload" : {
22
20
"psr-4" : {
Original file line number Diff line number Diff line change 1
- <?xml version =" 1.0" ?>
2
- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" bootstrap =" test/bootstrap.php" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
3
- <coverage processUncoveredFiles =" true" >
4
- <include >
5
- <directory suffix =" .php" >src</directory >
6
- </include >
7
- <exclude >
8
- <directory suffix =" .php" >vendor/setbased</directory >
9
- </exclude >
10
- <report >
11
- <clover outputFile =" test/coverage.xml" />
12
- <html outputDirectory =" test/report" />
13
- </report >
14
- </coverage >
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
4
+ displayDetailsOnTestsThatTriggerDeprecations =" true"
5
+ displayDetailsOnTestsThatTriggerErrors =" true"
6
+ displayDetailsOnTestsThatTriggerNotices =" true"
7
+ displayDetailsOnTestsThatTriggerWarnings =" true"
8
+ displayDetailsOnPhpunitDeprecations =" true" >
15
9
<testsuites >
16
- <testsuite name =" Tests " >
10
+ <testsuite name =" default " >
17
11
<directory >test</directory >
18
12
</testsuite >
19
13
</testsuites >
20
- <logging />
14
+
15
+ <source ignoreIndirectDeprecations =" true" restrictNotices =" true" restrictWarnings =" true" >
16
+ <include >
17
+ <directory >src</directory >
18
+ </include >
19
+ </source >
21
20
</phpunit >
You can’t perform that action at this time.
0 commit comments