Skip to content

Commit 27ebecf

Browse files
committed
Upgrade PHPUnit config
1 parent a0cb3c9 commit 27ebecf

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

phpunit.xml.dist

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,20 @@
33
convertErrorsToExceptions="true"
44
convertNoticesToExceptions="true"
55
convertWarningsToExceptions="true"
6-
bootstrap="./vendor/autoload.php">
6+
bootstrap="./vendor/autoload.php"
7+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
79

810
<testsuites>
911
<testsuite name="Test suite">
1012
<directory>./tests/</directory>
1113
</testsuite>
1214
</testsuites>
1315

14-
<filter>
15-
<whitelist processUncoveredFilesFromWhitelist="true">
16+
<coverage processUncoveredFiles="true">
17+
<include>
1618
<directory suffix=".php">src</directory>
17-
</whitelist>
18-
</filter>
19+
</include>
20+
</coverage>
1921

2022
</phpunit>

0 commit comments

Comments
 (0)