Skip to content

Commit 13dd521

Browse files
authored
Merge pull request #284 from musonza/migrate-phpunit-config
Migrate phpunit config
2 parents 450eb34 + 54058ea commit 13dd521

File tree

1 file changed

+14
-23
lines changed

1 file changed

+14
-23
lines changed

phpunit.xml.dist

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

0 commit comments

Comments
 (0)