Skip to content

Commit f1c1d82

Browse files
authored
Migrate PHPUnit configuration to version 9 (#735)
* Migrate PHPUnit configuration to version 9 * Addubg .editorconfig for phpunit.xml
1 parent 1a37326 commit f1c1d82

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

phpunit.xml.dist

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
32
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/5.2/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
54
backupGlobals="false"
65
colors="true"
76
bootstrap="vendor/autoload.php"
87
failOnRisky="true"
98
failOnWarning="true"
109
>
11-
<php>
12-
<ini name="error_reporting" value="-1" />
13-
</php>
14-
15-
<testsuites>
16-
<testsuite name="Test Suite">
17-
<directory>./tests/</directory>
18-
</testsuite>
19-
</testsuites>
20-
21-
<filter>
22-
<whitelist>
23-
<directory>./src</directory>
24-
</whitelist>
25-
</filter>
10+
<coverage>
11+
<include>
12+
<directory>./src</directory>
13+
</include>
14+
</coverage>
15+
<php>
16+
<ini name="error_reporting" value="-1"/>
17+
</php>
18+
<testsuites>
19+
<testsuite name="Test Suite">
20+
<directory>./tests/</directory>
21+
</testsuite>
22+
</testsuites>
2623
</phpunit>

0 commit comments

Comments
 (0)