Skip to content

Commit efaa083

Browse files
update phpunit configuration schema
1 parent 04cbec9 commit efaa083

File tree

1 file changed

+22
-18
lines changed

1 file changed

+22
-18
lines changed

phpunit.xml

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
colors="true"
5-
convertErrorsToExceptions="true"
6-
convertNoticesToExceptions="true"
7-
convertWarningsToExceptions="true"
8-
processIsolation="false"
9-
stopOnFailure="false">
10-
<testsuites>
11-
<testsuite name="Application Test Suite">
12-
<directory>./tests/</directory>
13-
</testsuite>
14-
</testsuites>
15-
<filter>
16-
<whitelist>
17-
<directory suffix=".php">app/</directory>
18-
</whitelist>
19-
</filter>
2+
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
backupGlobals="false"
5+
backupStaticAttributes="false"
6+
colors="true"
7+
convertErrorsToExceptions="true"
8+
convertNoticesToExceptions="true"
9+
convertWarningsToExceptions="true"
10+
processIsolation="false"
11+
stopOnFailure="false"
12+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
13+
>
14+
<coverage>
15+
<include>
16+
<directory suffix=".php">app/</directory>
17+
</include>
18+
</coverage>
19+
<testsuites>
20+
<testsuite name="Application Test Suite">
21+
<directory>./tests/</directory>
22+
</testsuite>
23+
</testsuites>
2024
</phpunit>

0 commit comments

Comments
 (0)