Skip to content

Commit b96679a

Browse files
NanoSectorostrolucky
authored andcommitted
Migrate PHPUnit configuration file to 9.3
This silences a warning at test suite setup.
1 parent 6c058a8 commit b96679a

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

phpunit.xml.dist

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
3-
<phpunit colors="true" bootstrap="tests/bootstrap.php">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
colors="true"
4+
bootstrap="tests/bootstrap.php"
5+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
6+
>
47
<testsuites>
58
<testsuite name="DoctrineBundle for the Symfony Framework">
69
<directory>./tests</directory>
@@ -11,11 +14,11 @@
1114
<env name="SYMFONY_DEPRECATIONS_HELPER" value="ignoreFile=./tests/baseline-ignore"/>
1215
</php>
1316

14-
<filter>
15-
<whitelist>
17+
<coverage>
18+
<include>
1619
<directory>src</directory>
17-
</whitelist>
18-
</filter>
20+
</include>
21+
</coverage>
1922

2023
<listeners>
2124
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />

0 commit comments

Comments
 (0)