Skip to content

Commit fe04611

Browse files
committed
Upgraded phpunit config
1 parent 8b8567f commit fe04611

File tree

1 file changed

+17
-25
lines changed

1 file changed

+17
-25
lines changed

phpunit.xml.dist

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,20 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
32
<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html -->
4-
<phpunit
5-
colors="true"
6-
bootstrap="vendor/autoload.php"
7-
>
8-
9-
<testsuites>
10-
<testsuite name="Test Suite">
11-
<directory>./tests</directory>
12-
</testsuite>
13-
</testsuites>
14-
15-
<filter>
16-
<whitelist addUncoveredFilesFromWhitelist="true">
17-
<directory>.</directory>
18-
<exclude>
19-
<directory>vendor/</directory>
20-
</exclude>
21-
</whitelist>
22-
</filter>
23-
24-
<php>
25-
<env name="PHPACTOR_ALLOW_XDEBUG" value="1"/>
26-
</php>
27-
3+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
4+
<coverage includeUncoveredFiles="true">
5+
<include>
6+
<directory>.</directory>
7+
</include>
8+
<exclude>
9+
<directory>vendor/</directory>
10+
</exclude>
11+
</coverage>
12+
<testsuites>
13+
<testsuite name="Test Suite">
14+
<directory>./tests</directory>
15+
</testsuite>
16+
</testsuites>
17+
<php>
18+
<env name="PHPACTOR_ALLOW_XDEBUG" value="1"/>
19+
</php>
2820
</phpunit>

0 commit comments

Comments
 (0)