Skip to content

Commit 8cc3918

Browse files
committed
Update phpunit settings
1 parent a6b62ee commit 8cc3918

File tree

1 file changed

+15
-22
lines changed

1 file changed

+15
-22
lines changed

phpunit.xml

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

0 commit comments

Comments
 (0)