Skip to content

Commit 84f2c26

Browse files
committed
upgrade phpunit config
1 parent b8a978c commit 84f2c26

File tree

1 file changed

+22
-29
lines changed

1 file changed

+22
-29
lines changed

phpunit.xml.dist

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

0 commit comments

Comments
 (0)