File tree 4 files changed +22
-5
lines changed
4 files changed +22
-5
lines changed Original file line number Diff line number Diff line change 32
32
with :
33
33
php-version : ${{ matrix.php }}
34
34
coverage : xdebug
35
+ ini-file : development
35
36
- run : composer install
36
37
- run : vendor/bin/phpunit --coverage-text
37
38
if : ${{ matrix.php >= 7.3 }}
57
58
continue-on-error : true
58
59
steps :
59
60
- uses : actions/checkout@v3
60
- - run : cp ` which composer` composer.phar && ./composer.phar self-update --2.2 # downgrade Composer for HHVM
61
+ - run : cp "$( which composer)" composer.phar && ./composer.phar self-update --2.2 # downgrade Composer for HHVM
61
62
- name : Run hhvm composer.phar install
62
63
uses : docker://hhvm/hhvm:3.30-lts-latest
63
64
with :
Original file line number Diff line number Diff line change 35
35
"react/stream" : " ^1.2"
36
36
},
37
37
"require-dev" : {
38
- "phpunit/phpunit" : " ^9.3 || ^5.7 || ^4.8.35" ,
38
+ "phpunit/phpunit" : " ^9.5 || ^5.7 || ^4.8.35" ,
39
39
"react/async" : " ^4 || ^3 || ^2" ,
40
40
"react/promise-stream" : " ^1.4"
41
41
},
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.3 + -->
4
- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3 /phpunit.xsd"
3
+ <!-- PHPUnit configuration file with new format for PHPUnit 9.5 + -->
4
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.5 /phpunit.xsd"
6
6
bootstrap =" vendor/autoload.php"
7
7
cacheResult =" false"
8
8
colors =" true"
17
17
<directory >./src/</directory >
18
18
</include >
19
19
</coverage >
20
+ <php >
21
+ <ini name =" error_reporting" value =" -1" />
22
+ <!-- Evaluate assertions, requires running with "php -d zend.assertions=1 vendor/bin/phpunit" -->
23
+ <!-- <ini name="zend.assertions=1" value="1" /> -->
24
+ <ini name =" assert.active" value =" 1" />
25
+ <ini name =" assert.exception" value =" 1" />
26
+ <ini name =" assert.bail" value =" 0" />
27
+ </php >
20
28
</phpunit >
Original file line number Diff line number Diff line change 15
15
<directory >./src/</directory >
16
16
</whitelist >
17
17
</filter >
18
+ <php >
19
+ <ini name =" error_reporting" value =" -1" />
20
+ <!-- Evaluate assertions, requires running with "php -d zend.assertions=1 vendor/bin/phpunit" -->
21
+ <!-- <ini name="zend.assertions=1" value="1" /> -->
22
+ <ini name =" assert.active" value =" 1" />
23
+ <ini name =" assert.exception" value =" 1" />
24
+ <ini name =" assert.bail" value =" 0" />
25
+ </php >
18
26
</phpunit >
You can’t perform that action at this time.
0 commit comments