<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
- backupGlobals="false"
colors="true"
+ failOnDeprecation="true"
+ failOnNotice="true"
+ failOnWarning="true"
bootstrap="tests/bootstrap.php"
- convertDeprecationsToExceptions="false"
+ cacheDirectory=".phpunit.cache"
>
<php>
<ini name="display_errors" value="1" />
<ini name="error_reporting" value="-1" />
<server name="APP_ENV" value="test" force="true" />
<server name="SHELL_VERBOSITY" value="-1" />
- <server name="SYMFONY_PHPUNIT_REMOVE" value="" />
- <server name="SYMFONY_PHPUNIT_VERSION" value="9.6" />
</php>
<testsuites>
</testsuite>
</testsuites>
- <coverage processUncoveredFiles="true">
+ <source ignoreSuppressionOfDeprecations="true"
+ ignoreIndirectDeprecations="true"
+ restrictNotices="true"
+ restrictWarnings="true"
+ >
<include>
- <directory suffix=".php">src</directory>
+ <directory>src</directory>
</include>
- </coverage>
- <listeners>
- <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
- </listeners>
+ <deprecationTrigger>
+ <method>Doctrine\Deprecations\Deprecation::trigger</method>
+ <method>Doctrine\Deprecations\Deprecation::delegateTriggerToBackend</method>
+ <function>trigger_deprecation</function>
+ </deprecationTrigger>
+ </source>
<extensions>
+ <bootstrap class="Symfony\Bridge\PhpUnit\SymfonyExtension">
+ <parameter name="clock-mock-namespaces" value="App" />
+ <parameter name="dns-mock-namespaces" value="App" />
+ </bootstrap>
</extensions>
</phpunit>