Skip to content

Commit ddb3aca

Browse files
committed
Migrate phpunit configuration
1 parent 19b4aab commit ddb3aca

File tree

1 file changed

+13
-21
lines changed

1 file changed

+13
-21
lines changed

phpunit.xml.dist

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,15 @@
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/9.0/phpunit.xsd"
4-
bootstrap="vendor/autoload.php"
5-
beStrictAboutOutputDuringTests="true"
6-
beStrictAboutTodoAnnotatedTests="true"
7-
colors="true"
8-
verbose="true">
9-
<testsuite name="default">
10-
<directory suffix="Test.php">tests</directory>
11-
<exclude>tests/phar</exclude>
12-
</testsuite>
13-
14-
<filter>
15-
<whitelist processUncoveredFilesFromWhitelist="true">
16-
<directory suffix=".php">src</directory>
17-
</whitelist>
18-
</filter>
19-
20-
<extensions>
21-
<extension class="Zalas\PHPUnit\Globals\AnnotationExtension" />
22-
</extensions>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" bootstrap="vendor/autoload.php" beStrictAboutOutputDuringTests="true" beStrictAboutTodoAnnotatedTests="true" colors="true" verbose="true">
3+
<coverage processUncoveredFiles="true">
4+
<include>
5+
<directory suffix=".php">src</directory>
6+
</include>
7+
</coverage>
8+
<testsuite name="default">
9+
<directory suffix="Test.php">tests</directory>
10+
<exclude>tests/phar</exclude>
11+
</testsuite>
12+
<extensions>
13+
<extension class="Zalas\PHPUnit\Globals\AnnotationExtension"/>
14+
</extensions>
2315
</phpunit>

0 commit comments

Comments
 (0)