Skip to content

Commit 33df909

Browse files
committed
test():Change phpunit.xml according to PHPUnit 9
1 parent c168da2 commit 33df909

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

phpunit.xml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
44
bootstrap="vendor/autoload.php"
5-
cacheDirectory=".phpunit.cache"
5+
cacheResultFile=".phpunit.cache/test-results"
66
executionOrder="depends,defects"
7-
requireCoverageMetadata="false"
8-
beStrictAboutCoverageMetadata="false"
7+
forceCoversAnnotation="false"
8+
beStrictAboutCoversAnnotation="false"
99
beStrictAboutOutputDuringTests="false"
10+
beStrictAboutTodoAnnotatedTests="false"
11+
convertDeprecationsToExceptions="true"
1012
failOnRisky="true"
11-
failOnWarning="true">
13+
failOnWarning="true"
14+
verbose="true">
1215
<testsuites>
1316
<testsuite name="default">
1417
<directory>tests</directory>
1518
</testsuite>
1619
</testsuites>
1720

18-
<source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">
21+
<coverage cacheDirectory=".phpunit.cache/code-coverage"
22+
processUncoveredFiles="true">
1923
<include>
20-
<directory>src</directory>
24+
<directory suffix=".php">src</directory>
2125
</include>
22-
</source>
26+
</coverage>
2327
</phpunit>

0 commit comments

Comments
 (0)