Skip to content

Commit 5e51e2c

Browse files
committed
chore: adjust phpunit xml
1 parent efde3ba commit 5e51e2c

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

phpunit.xml.dist

+12-7
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,32 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
43
beStrictAboutTestsThatDoNotTestAnything="false"
54
bootstrap="tests/bootstrap.php"
65
colors="true"
7-
convertDeprecationsToExceptions="true"
8-
convertErrorsToExceptions="true"
9-
convertNoticesToExceptions="true"
10-
convertWarningsToExceptions="true"
116
processIsolation="false"
127
stopOnFailure="false"
8+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd"
1310
>
1411
<testsuites>
1512
<testsuite name="Package Test Suite">
1613
<directory suffix="Test.php">./tests/</directory>
1714
</testsuite>
1815
</testsuites>
19-
<coverage>
16+
17+
<source>
2018
<include>
2119
<directory suffix=".php">src/</directory>
2220
</include>
21+
</source>
22+
23+
<coverage>
24+
<report>
25+
<clover outputFile="./build/logs/clover.xml"/>
26+
<html outputDirectory="./build/coverage"/>
27+
</report>
2328
</coverage>
2429
<php>
25-
<env name="DB_HOST" value="localhost"/>
30+
<env name="DB_HOST" value="db"/>
2631
</php>
2732
</phpunit>

0 commit comments

Comments
 (0)