|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<phpunit backupGlobals="false" |
3 | | - backupStaticAttributes="false" |
| 2 | +<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" |
4 | 4 | bootstrap="vendor/autoload.php" |
| 5 | + cacheDirectory="build/.phpunit.cache" |
| 6 | + executionOrder="random" |
| 7 | + requireCoverageMetadata="false" |
| 8 | + beStrictAboutCoverageMetadata="true" |
5 | 9 | beStrictAboutOutputDuringTests="true" |
6 | | - colors="true" |
7 | | - verbose="true" |
8 | | - convertErrorsToExceptions="true" |
9 | | - convertNoticesToExceptions="true" |
10 | | - convertWarningsToExceptions="true" |
11 | | - processIsolation="false" |
12 | | - stopOnFailure="false"> |
13 | | - <logging> |
14 | | - <log type="coverage-clover" target="build/logs/clover.xml"/> |
15 | | - <log type="coverage-xml" target="build/logs/coverage-xml"/> |
16 | | - <log type="junit" target="build/logs/junit.xml"/> |
17 | | - </logging> |
| 10 | + failOnRisky="true" |
| 11 | + failOnWarning="true" |
| 12 | + colors="true"> |
18 | 13 | <testsuites> |
19 | 14 | <testsuite name="Builder"> |
20 | 15 | <directory suffix=".php">./tests/Builder</directory> |
|
38 | 33 | <directory suffix=".php">./tests/Tools</directory> |
39 | 34 | </testsuite> |
40 | 35 | </testsuites> |
41 | | - <filter> |
42 | | - <whitelist processUncoveredFilesFromWhitelist="true"> |
43 | | - <directory suffix=".php">src/</directory> |
44 | | - </whitelist> |
45 | | - </filter> |
46 | | - <php> |
47 | | - <ini name="display_errors" value="On" /> |
48 | | - <ini name="display_startup_errors" value="On" /> |
49 | | - <ini name="error_reporting" value="E_ALL" /> |
50 | | - </php> |
| 36 | + |
| 37 | + <coverage> |
| 38 | + <include> |
| 39 | + <directory suffix=".php">src</directory> |
| 40 | + </include> |
| 41 | + <report> |
| 42 | + <clover outputFile="build/logs/clover.xml"/> |
| 43 | + <xml outputDirectory="build/logs/coverage-xml"/> |
| 44 | + </report> |
| 45 | + </coverage> |
| 46 | + |
| 47 | + <logging> |
| 48 | + <junit outputFile="build/logs/junit.xml"/> |
| 49 | + </logging> |
51 | 50 | </phpunit> |
0 commit comments