Skip to content

Commit 7329bf4

Browse files
committed
Update phpunit config
1 parent d80d623 commit 7329bf4

File tree

1 file changed

+17
-29
lines changed

1 file changed

+17
-29
lines changed

phpunit.xml

Lines changed: 17 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,19 @@
11
<?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.3/phpunit.xsd"
4-
bootstrap="vendor/autoload.php"
5-
cacheDirectory=".phpunit.cache"
6-
executionOrder="depends,defects"
7-
beStrictAboutOutputDuringTests="true"
8-
failOnRisky="true"
9-
failOnWarning="true">
10-
<testsuites>
11-
<testsuite name="default">
12-
<directory>tests</directory>
13-
</testsuite>
14-
</testsuites>
15-
16-
<source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">
17-
<include>
18-
<directory>src</directory>
19-
</include>
20-
</source>
21-
22-
<coverage includeUncoveredFiles="true"
23-
pathCoverage="false"
24-
ignoreDeprecatedCodeUnits="true"
25-
disableCodeCoverageIgnore="true">
26-
<report>
27-
<html outputDirectory="build/coverage-html"/>
28-
<text outputFile="php://stdout" showUncoveredFiles="false"/>
29-
</report>
30-
</coverage>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.3/phpunit.xsd" bootstrap="vendor/autoload.php" cacheDirectory=".phpunit.cache" executionOrder="depends,defects" beStrictAboutOutputDuringTests="true" failOnRisky="true" failOnWarning="true">
3+
<testsuites>
4+
<testsuite name="default">
5+
<directory>tests</directory>
6+
</testsuite>
7+
</testsuites>
8+
<source restrictNotices="true" restrictWarnings="true" ignoreIndirectDeprecations="true">
9+
<include>
10+
<directory>src</directory>
11+
</include>
12+
</source>
13+
<coverage includeUncoveredFiles="true" pathCoverage="false" ignoreDeprecatedCodeUnits="true" disableCodeCoverageIgnore="true">
14+
<report>
15+
<html outputDirectory="build/coverage-html"/>
16+
<text outputFile="php://stdout" showUncoveredFiles="false"/>
17+
</report>
18+
</coverage>
3119
</phpunit>

0 commit comments

Comments
 (0)