Skip to content

Commit 3c70e2b

Browse files
committed
fix coverage config file
1 parent a34913a commit 3c70e2b

File tree

1 file changed

+33
-30
lines changed

1 file changed

+33
-30
lines changed

phpunit.coverage.dist.xml

+33-30
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,36 @@
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/11.0/phpunit.xsd"
4-
bootstrap="vendor/autoload.php"
5-
backupGlobals="false"
6-
colors="true"
7-
stopOnFailure="false"
8-
cacheDirectory=".phpunit.cache"
9-
backupStaticProperties="false"
10-
>
11-
<source>
12-
<include>
13-
<directory suffix=".php">src</directory>
14-
</include>
15-
</source>
16-
<coverage includeUncoveredFiles="true"
17-
pathCoverage="false"
18-
ignoreDeprecatedCodeUnits="true"
19-
disableCodeCoverageIgnore="true">
20-
<report>
21-
<clover outputFile="clover.xml"/>
22-
</report>
23-
</coverage>
24-
<testsuites>
25-
<testsuite name="Package Test Suite">
26-
<directory>tests</directory>
27-
</testsuite>
28-
</testsuites>
29-
<php>
30-
<ini name="memory_limit" value="2048M"/>
31-
<env name="DB_CONNECTION" value="testing"/>
32-
</php>
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="false"
8+
beStrictAboutCoverageMetadata="false"
9+
beStrictAboutOutputDuringTests="true"
10+
displayDetailsOnPhpunitDeprecations="true"
11+
failOnPhpunitDeprecation="true"
12+
failOnRisky="true"
13+
failOnWarning="true">
14+
<source>
15+
<include>
16+
<directory suffix=".php">src</directory>
17+
</include>
18+
</source>
19+
<coverage includeUncoveredFiles="true"
20+
pathCoverage="false"
21+
ignoreDeprecatedCodeUnits="true"
22+
disableCodeCoverageIgnore="true">
23+
<report>
24+
<clover outputFile="clover.xml"/>
25+
</report>
26+
</coverage>
27+
<testsuites>
28+
<testsuite name="Package Test Suite">
29+
<directory>tests</directory>
30+
</testsuite>
31+
</testsuites>
32+
<php>
33+
<ini name="memory_limit" value="2048M"/>
34+
<env name="DB_CONNECTION" value="testing"/>
35+
</php>
3336
</phpunit>

0 commit comments

Comments
 (0)