|
1 | 1 | <?xml version="1.0"?>
|
2 | | -<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | | - xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" |
4 | | - bootstrap="vendor/autoload.php" |
5 | | - colors="true" |
6 | | - backupGlobals="false" |
7 | | - backupStaticAttributes="false" |
8 | | - beStrictAboutChangesToGlobalState="true" |
9 | | - beStrictAboutOutputDuringTests="true" |
10 | | - beStrictAboutTestsThatDoNotTestAnything="true" |
11 | | - beStrictAboutTodoAnnotatedTests="true" |
12 | | - failOnRisky="true" |
13 | | - failOnWarning="true" |
14 | | - convertErrorsToExceptions="true" |
15 | | - convertNoticesToExceptions="true" |
16 | | - convertWarningsToExceptions="true" |
17 | | -> |
| 2 | +<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" backupGlobals="false" beStrictAboutChangesToGlobalState="true" beStrictAboutOutputDuringTests="true" beStrictAboutTestsThatDoNotTestAnything="true" failOnRisky="true" failOnWarning="true" cacheDirectory=".phpunit.cache" backupStaticProperties="false"> |
18 | 3 | <testsuites>
|
19 | 4 | <testsuite name="Test suite">
|
20 | 5 | <directory>./tests/</directory>
|
21 | 6 | </testsuite>
|
22 | 7 | </testsuites>
|
23 | 8 | <coverage>
|
24 | | - <include> |
25 | | - <directory suffix=".php">./src</directory> |
26 | | - </include> |
27 | | - <exclude> |
28 | | - <file>src/Type/Php/ReplaceSafeFunctionsDynamicReturnTypeExtension.php</file> |
29 | | - </exclude> |
30 | 9 | <report>
|
31 | 10 | <clover outputFile="build/logs/clover.xml"/>
|
32 | 11 | <html outputDirectory="build/coverage"/>
|
33 | 12 | <text outputFile="php://stdout" showUncoveredFiles="true" showOnlySummary="true"/>
|
34 | 13 | </report>
|
35 | 14 | </coverage>
|
| 15 | + <source> |
| 16 | + <include> |
| 17 | + <directory suffix=".php">./src</directory> |
| 18 | + </include> |
| 19 | + <exclude> |
| 20 | + <!-- type checking doesn't count towards coverage for some reason --> |
| 21 | + <directory>src/Type/Php/</directory> |
| 22 | + </exclude> |
| 23 | + </source> |
36 | 24 | </phpunit>
|
0 commit comments