[TESTS] Update PHPUnit configuration and upgrade to version 9.5

This commit is contained in:
Hugo Sales 2021-04-01 13:45:25 +00:00
parent ff771223af
commit eb951b49bf
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
1 changed files with 21 additions and 30 deletions

View File

@ -1,33 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html --> <!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="tests/bootstrap.php">
xsi:noNamespaceSchemaLocation="bin/.phpunit/phpunit.xsd" <coverage processUncoveredFiles="true">
backupGlobals="false" <include>
colors="true" <directory suffix=".php">src</directory>
bootstrap="tests/bootstrap.php" </include>
> </coverage>
<php> <php>
<ini name="error_reporting" value="-1" /> <ini name="error_reporting" value="-1"/>
<server name="APP_ENV" value="test" force="true" /> <server name="APP_ENV" value="test" force="true"/>
<server name="SHELL_VERBOSITY" value="-1" /> <server name="SHELL_VERBOSITY" value="-1"/>
<server name="SYMFONY_PHPUNIT_REMOVE" value="" /> <server name="SYMFONY_PHPUNIT_REMOVE" value=""/>
<server name="SYMFONY_PHPUNIT_VERSION" value="7.5" /> <server name="SYMFONY_PHPUNIT_VERSION" value="9.5"/>
</php> </php>
<testsuites>
<testsuites> <testsuite name="Project Test Suite">
<testsuite name="Project Test Suite"> <directory>tests</directory>
<directory>tests</directory> </testsuite>
</testsuite> </testsuites>
</testsuites> <listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
<filter> </listeners>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
</phpunit> </phpunit>