Skip to content

Commit 90c5c5d

Browse files
committed
migrate phpunit.xml to standard version (and omit default attributes)
1 parent ef1019e commit 90c5c5d

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

phpunit.xml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="vendor/autoload.php"
3-
backupGlobals="false"
4-
backupStaticAttributes="false"
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
4+
bootstrap="vendor/autoload.php"
55
colors="true"
66
verbose="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
processIsolation="false"
11-
stopOnFailure="false">
7+
>
8+
<coverage>
9+
<include>
10+
<directory suffix=".php">src/</directory>
11+
</include>
12+
</coverage>
1213
<testsuites>
1314
<testsuite name="League Test Suite">
1415
<directory>tests</directory>
1516
</testsuite>
1617
</testsuites>
17-
<filter>
18-
<whitelist>
19-
<directory suffix=".php">src/</directory>
20-
</whitelist>
21-
</filter>
22-
</phpunit>
18+
</phpunit>

0 commit comments

Comments
 (0)