Skip to content

Commit 21828c1

Browse files
committed
Update phpunit xml file to compatible with v11
1 parent 67fc61e commit 21828c1

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

phpunit.xml.dist

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="vendor/silverstripe/framework/tests/bootstrap.php" colors="true">
3-
<testsuites>
4-
<testsuite name="Default">
5-
<directory>tests</directory>
6-
</testsuite>
7-
</testsuites>
8-
<filter>
9-
<whitelist addUncoveredFilesFromWhitelist="true">
10-
<directory suffix=".php">src/</directory>
11-
<exclude>
12-
<directory suffix=".php">tests/</directory>
13-
</exclude>
14-
</whitelist>
15-
</filter>
1+
<?xml version="1.0"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/silverstripe/cms/tests/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd">
3+
<testsuite name="Default">
4+
<directory>tests/</directory>
5+
</testsuite>
6+
<source>
7+
<include>
8+
<directory suffix=".php">src/</directory>
9+
</include>
10+
<exclude>
11+
<directory suffix=".php">tests/</directory>
12+
</exclude>
13+
</source>
1614
</phpunit>

0 commit comments

Comments
 (0)