Skip to content

Commit 9150a58

Browse files
committed
Regenerate modern PHPUnit config.
1 parent 0c73a53 commit 9150a58

File tree

1 file changed

+22
-28
lines changed

1 file changed

+22
-28
lines changed

phpunit.xml.dist

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,25 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
bootstrap="vendor/autoload.php"
4-
backupGlobals="false"
5-
colors="true"
6-
processIsolation="false"
7-
stopOnFailure="false"
8-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.1/phpunit.xsd"
9-
cacheDirectory="build/phpunit.cache"
10-
backupStaticProperties="false">
11-
<coverage>
12-
<report>
13-
<clover outputFile="build/logs/clover.xml"/>
14-
<html outputDirectory="build/coverage"/>
15-
<text outputFile="build/coverage.txt"/>
16-
</report>
17-
</coverage>
18-
<testsuites>
19-
<testsuite name="Test Suite">
20-
<directory>tests</directory>
21-
</testsuite>
22-
</testsuites>
23-
<logging>
24-
<junit outputFile="build/report.junit.xml"/>
25-
</logging>
26-
<source>
27-
<include>
28-
<directory suffix=".php">src/</directory>
29-
</include>
30-
</source>
3+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
4+
bootstrap="vendor/autoload.php"
5+
cacheDirectory="build/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">
14+
<testsuites>
15+
<testsuite name="default">
16+
<directory>tests</directory>
17+
</testsuite>
18+
</testsuites>
19+
20+
<source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true">
21+
<include>
22+
<directory>src</directory>
23+
</include>
24+
</source>
3125
</phpunit>

0 commit comments

Comments
 (0)