Skip to content

Commit

Permalink
Migrate PHPUnit configuration file to 9.3
Browse files Browse the repository at this point in the history
This silences a warning at test suite setup.
  • Loading branch information
NanoSector authored and ostrolucky committed Apr 11, 2024
1 parent 6c058a8 commit b96679a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions phpunit.xml.dist
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit colors="true" bootstrap="tests/bootstrap.php">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
colors="true"
bootstrap="tests/bootstrap.php"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<testsuites>
<testsuite name="DoctrineBundle for the Symfony Framework">
<directory>./tests</directory>
Expand All @@ -11,11 +14,11 @@
<env name="SYMFONY_DEPRECATIONS_HELPER" value="ignoreFile=./tests/baseline-ignore"/>
</php>

<filter>
<whitelist>
<coverage>
<include>
<directory>src</directory>
</whitelist>
</filter>
</include>
</coverage>

<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
Expand Down

0 comments on commit b96679a

Please sign in to comment.