File tree 4 files changed +16
-10
lines changed
4 files changed +16
-10
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
23
24
- 5.5
24
25
- 5.4
25
26
steps :
26
- - uses : actions/checkout@v3
27
+ - uses : actions/checkout@v4
27
28
- uses : shivammathur/setup-php@v2
28
29
with :
29
30
php-version : ${{ matrix.php }}
40
41
runs-on : ubuntu-22.04
41
42
continue-on-error : true
42
43
steps :
43
- - uses : actions/checkout@v3
44
+ - uses : actions/checkout@v4
44
45
- run : cp "$(which composer)" composer.phar && ./composer.phar self-update --2.2 # downgrade Composer for HHVM
45
46
- name : Run hhvm composer.phar install
46
47
uses : docker://hhvm/hhvm:3.30-lts-latest
Original file line number Diff line number Diff line change 28
28
"php" : " >=5.4.0"
29
29
},
30
30
"require-dev" : {
31
- "phpunit/phpunit" : " ^9.5 || ^5.7 || ^4.8.36"
31
+ "phpunit/phpunit" : " ^9.6 || ^5.7 || ^4.8.36"
32
32
},
33
33
"autoload" : {
34
34
"psr-4" : {
35
35
"React\\ Promise\\ " : " src/"
36
36
},
37
- "files" : [" src/functions_include.php" ]
37
+ "files" : [
38
+ " src/functions_include.php"
39
+ ]
38
40
},
39
41
"autoload-dev" : {
40
42
"psr-4" : {
41
- "React\\ Promise\\ " : [" tests" , " tests/fixtures" ]
43
+ "React\\ Promise\\ " : [
44
+ " tests/" ,
45
+ " tests/fixtures/"
46
+ ]
42
47
}
43
48
},
44
49
"keywords" : [
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"
23
23
<php >
24
24
<ini name =" error_reporting" value =" -1" />
25
25
<!-- Evaluate assertions, requires running with "php -d zend.assertions=1 vendor/bin/phpunit" -->
26
- <!-- <ini name="zend.assertions=1 " value="1" /> -->
26
+ <!-- <ini name="zend.assertions" value="1" /> -->
27
27
<ini name =" assert.active" value =" 1" />
28
28
<ini name =" assert.exception" value =" 1" />
29
29
<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"
21
21
<php >
22
22
<ini name =" error_reporting" value =" -1" />
23
23
<!-- Evaluate assertions, requires running with "php -d zend.assertions=1 vendor/bin/phpunit" -->
24
- <!-- <ini name="zend.assertions=1 " value="1" /> -->
24
+ <!-- <ini name="zend.assertions" value="1" /> -->
25
25
<ini name =" assert.active" value =" 1" />
26
26
<ini name =" assert.exception" value =" 1" />
27
27
<ini name =" assert.bail" value =" 0" />
You can’t perform that action at this time.
0 commit comments