File tree 5 files changed +13
-9
lines changed
5 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 11
11
strategy :
12
12
matrix :
13
13
php :
14
+ - 8.3
14
15
- 8.2
15
16
- 8.1
16
17
- 8.0
24
25
- 5.4
25
26
- 5.3
26
27
steps :
27
- - uses : actions/checkout@v3
28
+ - uses : actions/checkout@v4
28
29
- uses : shivammathur/setup-php@v2
29
30
with :
30
31
php-version : ${{ matrix.php }}
Original file line number Diff line number Diff line change 31
31
"react/promise" : " ^3.0 || ^2.8 || ^1.2.1"
32
32
},
33
33
"require-dev" : {
34
- "phpunit/phpunit" : " ^9.5 || ^5.7 || ^4.8.35"
34
+ "phpunit/phpunit" : " ^9.6 || ^5.7 || ^4.8.35"
35
35
},
36
36
"autoload" : {
37
37
"files" : [
38
38
" src/functions_include.php"
39
39
]
40
40
},
41
41
"autoload-dev" : {
42
- "psr-4" : { "React\\ Tests\\ Async\\ " : " tests/" }
42
+ "psr-4" : {
43
+ "React\\ Tests\\ Async\\ " : " tests/"
44
+ }
43
45
}
44
46
}
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
3
- <!-- PHPUnit configuration file with new format for PHPUnit 9.5 + -->
3
+ <!-- PHPUnit configuration file with new format for PHPUnit 9.6 + -->
4
4
<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.5 /phpunit.xsd"
5
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.6 /phpunit.xsd"
6
6
bootstrap =" vendor/autoload.php"
7
7
cacheResult =" false"
8
8
colors =" true"
20
20
<php >
21
21
<ini name =" error_reporting" value =" -1" />
22
22
<!-- Evaluate assertions, requires running with "php -d zend.assertions=1 vendor/bin/phpunit" -->
23
- <!-- <ini name="zend.assertions=1 " value="1" /> -->
23
+ <!-- <ini name="zend.assertions" value="1" /> -->
24
24
<ini name =" assert.active" value =" 1" />
25
25
<ini name =" assert.exception" value =" 1" />
26
26
<ini name =" assert.bail" value =" 0" />
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
3
- <!-- PHPUnit configuration file with old format before PHPUnit 9 -->
3
+ <!-- PHPUnit configuration file with old format for legacy PHPUnit -->
4
4
<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
5
xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/4.8/phpunit.xsd"
6
6
bootstrap =" vendor/autoload.php"
18
18
<php >
19
19
<ini name =" error_reporting" value =" -1" />
20
20
<!-- Evaluate assertions, requires running with "php -d zend.assertions=1 vendor/bin/phpunit" -->
21
- <!-- <ini name="zend.assertions=1 " value="1" /> -->
21
+ <!-- <ini name="zend.assertions" value="1" /> -->
22
22
<ini name =" assert.active" value =" 1" />
23
23
<ini name =" assert.exception" value =" 1" />
24
24
<ini name =" assert.bail" value =" 0" />
Original file line number Diff line number Diff line change 3
3
namespace React \Async ;
4
4
5
5
// @codeCoverageIgnoreStart
6
- if (!function_exists (__NAMESPACE__ . '\\parallel ' )) {
6
+ if (!\ function_exists (__NAMESPACE__ . '\\parallel ' )) {
7
7
require __DIR__ . '/functions.php ' ;
8
8
}
9
+ // @codeCoverageIgnoreEnd
You can’t perform that action at this time.
0 commit comments