Skip to content

Commit 3ad2681

Browse files
committed
Update the PHPUnit config.
1 parent e76a0f5 commit 3ad2681

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

phpunit.xml.dist

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
<?xml version="1.0"?>
12
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24
backupGlobals="false"
35
beStrictAboutOutputDuringTests="true"
46
beStrictAboutTestsThatDoNotTestAnything="true"
@@ -8,15 +10,16 @@
810
convertNoticesToExceptions="true"
911
convertWarningsToExceptions="true"
1012
convertDeprecationsToExceptions="true"
13+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
1114
>
1215
<testsuites>
1316
<testsuite name="main">
1417
<directory suffix=".php">tests/phpunit</directory>
1518
</testsuite>
1619
</testsuites>
17-
<filter>
18-
<whitelist processUncoveredFilesFromWhitelist="true">
20+
<coverage processUncoveredFiles="true">
21+
<include>
1922
<directory suffix=".php">src</directory>
20-
</whitelist>
21-
</filter>
23+
</include>
24+
</coverage>
2225
</phpunit>

0 commit comments

Comments
 (0)