Skip to content

Commit 2ee5f5c

Browse files
committed
ci: update phpunit config
1 parent 7f833fc commit 2ee5f5c

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

phpunit.xml

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
1-
<phpunit
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.5/phpunit.xsd"
4-
backupGlobals="true"
5-
backupStaticAttributes="false"
6-
bootstrap="vendor/autoload.php"
7-
cacheTokens="false"
8-
colors="true"
9-
verbose="true">
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
4+
bootstrap="vendor/autoload.php"
5+
cacheDirectory=".phpunit.cache"
6+
executionOrder="depends,defects"
7+
requireCoverageMetadata="true"
8+
beStrictAboutCoverageMetadata="true"
9+
beStrictAboutOutputDuringTests="true"
10+
displayDetailsOnPhpunitDeprecations="true"
11+
failOnPhpunitDeprecation="true"
12+
failOnRisky="true"
13+
failOnWarning="true">
1014
<testsuites>
11-
<testsuite name="unit">
15+
<testsuite name="default">
1216
<directory>tests</directory>
1317
</testsuite>
1418
</testsuites>
15-
<filter>
16-
<whitelist>
17-
<directory suffix=".php">src</directory>
18-
</whitelist>
19-
</filter>
19+
20+
<source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">
21+
<include>
22+
<directory>src</directory>
23+
</include>
24+
</source>
2025
</phpunit>

0 commit comments

Comments
 (0)