Skip to content

Commit c6f161b

Browse files
committed
chore: migrate the phpunit config
1 parent 7c27ed5 commit c6f161b

File tree

1 file changed

+25
-28
lines changed

1 file changed

+25
-28
lines changed

phpunit.xml

+25-28
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,27 @@
1+
<?xml version="1.0"?>
12
<phpunit
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/7.0/phpunit.xsd"
4-
colors="true"
5-
backupGlobals="false"
6-
beStrictAboutOutputDuringTests="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
bootstrap="vendor/autoload.php"
11-
>
12-
13-
<filter>
14-
<whitelist>
15-
<directory>src</directory>
16-
</whitelist>
17-
</filter>
18-
19-
<logging>
20-
<log type="coverage-html" target="build/coverage/html/"/>
21-
<log type="coverage-clover" target="build/logs/clover.xml"/>
22-
</logging>
23-
24-
<testsuites>
25-
<testsuite name="Unit tests">
26-
<directory suffix=".php">test/</directory>
27-
</testsuite>
28-
</testsuites>
29-
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
5+
colors="true"
6+
backupGlobals="false"
7+
beStrictAboutOutputDuringTests="true"
8+
convertErrorsToExceptions="true"
9+
convertNoticesToExceptions="true"
10+
convertWarningsToExceptions="true"
11+
bootstrap="vendor/autoload.php">
12+
<coverage>
13+
<include>
14+
<directory>src</directory>
15+
</include>
16+
<report>
17+
<clover outputFile="build/logs/clover.xml"/>
18+
<html outputDirectory="build/coverage/html/"/>
19+
</report>
20+
</coverage>
21+
<logging/>
22+
<testsuites>
23+
<testsuite name="Unit tests">
24+
<directory suffix=".php">test/</directory>
25+
</testsuite>
26+
</testsuites>
3027
</phpunit>

0 commit comments

Comments
 (0)