Skip to content

Commit a1ac763

Browse files
committed
Migrated legacy phpunit.xml.dist configuration schema
1 parent ea628cf commit a1ac763

File tree

1 file changed

+24
-31
lines changed

1 file changed

+24
-31
lines changed

phpunit.xml.dist

+24-31
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,26 @@
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="Unit">
14-
<directory>tests/Unit</directory>
15-
</testsuite>
16-
<testsuite name="Integration">
17-
<directory>tests/Integration</directory>
18-
</testsuite>
19-
</testsuites>
20-
<filter>
21-
<whitelist>
22-
<directory suffix=".php">src/</directory>
23-
</whitelist>
24-
</filter>
25-
26-
<logging>
27-
<log type="tap" target="build/report.tap"/>
28-
<log type="junit" target="build/report.junit.xml"/>
29-
<log type="coverage-html" target="build/coverage"/>
30-
<log type="coverage-text" target="build/coverage.txt"/>
31-
<log type="coverage-clover" target="build/logs/clover.xml"/>
32-
</logging>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" backupStaticProperties="false">
3+
<coverage>
4+
<report>
5+
<clover outputFile="build/logs/clover.xml"/>
6+
<html outputDirectory="build/coverage"/>
7+
<text outputFile="build/coverage.txt"/>
8+
</report>
9+
</coverage>
10+
<testsuites>
11+
<testsuite name="Unit">
12+
<directory>tests/Unit</directory>
13+
</testsuite>
14+
<testsuite name="Integration">
15+
<directory>tests/Integration</directory>
16+
</testsuite>
17+
</testsuites>
18+
<logging>
19+
<junit outputFile="build/report.junit.xml"/>
20+
</logging>
21+
<source>
22+
<include>
23+
<directory suffix=".php">src/</directory>
24+
</include>
25+
</source>
3326
</phpunit>

0 commit comments

Comments
 (0)