File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 27
27
with :
28
28
php-version : ${{ matrix.php }}
29
29
coverage : xdebug
30
+ ini-file : development
30
31
- run : composer install
31
32
- run : vendor/bin/phpunit --coverage-text --stderr
32
33
if : ${{ matrix.php >= 7.3 }}
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
3
3
<!-- PHPUnit configuration file with new format for PHPUnit 9.5+ -->
4
- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
5
xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.5/phpunit.xsd"
6
6
bootstrap =" vendor/autoload.php"
7
+ cacheResult =" false"
7
8
colors =" true"
8
- cacheResult = " false " >
9
+ convertDeprecationsToExceptions = " true " >
9
10
<testsuites >
10
11
<testsuite name =" Framework X test suite" >
11
12
<directory >./tests/</directory >
19
20
</coverage >
20
21
<php >
21
22
<ini name =" error_reporting" value =" -1" />
23
+ <!-- Evaluate assertions, requires running with "php -d zend.assertions=1 vendor/bin/phpunit" -->
24
+ <!-- <ini name="zend.assertions=1" value="1" /> -->
25
+ <ini name =" assert.active" value =" 1" />
26
+ <ini name =" assert.exception" value =" 1" />
27
+ <ini name =" assert.bail" value =" 0" />
22
28
</php >
23
29
</phpunit >
Original file line number Diff line number Diff line change 16
16
<directory >./src/</directory >
17
17
</whitelist >
18
18
</filter >
19
+ <php >
20
+ <ini name =" error_reporting" value =" -1" />
21
+ <!-- Evaluate assertions, requires running with "php -d zend.assertions=1 vendor/bin/phpunit" -->
22
+ <!-- <ini name="zend.assertions=1" value="1" /> -->
23
+ <ini name =" assert.active" value =" 1" />
24
+ <ini name =" assert.exception" value =" 1" />
25
+ <ini name =" assert.bail" value =" 0" />
26
+ </php >
19
27
</phpunit >
You can’t perform that action at this time.
0 commit comments