File tree Expand file tree Collapse file tree 4 files changed +23
-5
lines changed Expand file tree Collapse file tree 4 files changed +23
-5
lines changed Original file line number Diff line number Diff line change 28
28
with :
29
29
php-version : ${{ matrix.php }}
30
30
coverage : xdebug
31
+ ini-file : development
31
32
- run : composer install
32
33
- run : vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml
33
34
if : ${{ matrix.php >= 7.3 }}
Original file line number Diff line number Diff line change 17
17
"react/http" : " ^1.6"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " ^9.5 || ^5.7 || ^4.8.35"
20
+ "phpunit/phpunit" : " ^9.6 || ^5.7 || ^4.8.35"
21
21
},
22
22
"autoload" : {
23
- "psr-4" : { "Clue\\ React\\ EventSource\\ " : " src/" }
23
+ "psr-4" : {
24
+ "Clue\\ React\\ EventSource\\ " : " src/"
25
+ }
24
26
},
25
27
"autoload-dev" : {
26
- "psr-4" : { "Clue\\ Tests\\ React\\ EventSource\\ " : " tests/" }
28
+ "psr-4" : {
29
+ "Clue\\ Tests\\ React\\ EventSource\\ " : " tests/"
30
+ }
27
31
}
28
32
}
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"
19
19
</coverage >
20
20
<php >
21
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" value="1" /> -->
24
+ <ini name =" assert.active" value =" 1" />
25
+ <ini name =" assert.exception" value =" 1" />
26
+ <ini name =" assert.bail" value =" 0" />
22
27
</php >
23
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" 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