Skip to content

Commit 9b42d43

Browse files
yupx4
1 parent c0a9af9 commit 9b42d43

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ phparkitect.phar
1111
composer.lock
1212
.php-version
1313
composer.phar
14+
.phpunit.cache/

phpunit.xml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,27 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/7.5/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
44
bootstrap="vendor/autoload.php"
5-
beStrictAboutCoversAnnotation="true"
5+
cacheResultFile=".phpunit.cache/test-results"
6+
executionOrder="depends,defects"
7+
forceCoversAnnotation="false"
8+
beStrictAboutCoversAnnotation="false"
69
beStrictAboutOutputDuringTests="true"
710
beStrictAboutTodoAnnotatedTests="true"
11+
convertDeprecationsToExceptions="true"
12+
failOnRisky="false"
13+
failOnWarning="true"
814
verbose="true">
9-
1015
<testsuites>
1116
<testsuite name="default">
1217
<directory>tests</directory>
1318
</testsuite>
1419
</testsuites>
1520

16-
<filter>
17-
<whitelist processUncoveredFilesFromWhitelist="true">
21+
<coverage cacheDirectory=".phpunit.cache/code-coverage"
22+
processUncoveredFiles="true">
23+
<include>
1824
<directory suffix=".php">src</directory>
19-
</whitelist>
20-
</filter>
25+
</include>
26+
</coverage>
2127
</phpunit>

0 commit comments

Comments
 (0)