Modernized phpunit.xml.dist

This commit is contained in:
Jan Böhmer 2023-05-27 21:20:21 +02:00
parent ccfe259c69
commit 508de10191

View file

@ -1,20 +1,27 @@
<?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" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="tests/bootstrap.php"> <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<coverage processUncoveredFiles="true"> xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
<include> backupGlobals="false"
<directory suffix=".php">src</directory> colors="true"
</include> bootstrap="tests/bootstrap.php"
</coverage> convertDeprecationsToExceptions="false"
>
<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="9"/> <server name="SYMFONY_PHPUNIT_VERSION" value="9.5"/>
<ini name="memory_limit" value="512M"/> <ini name="memory_limit" value="512M"/>
<ini name="display_errors" value="1"/> <ini name="display_errors" value="1"/>
</php> </php>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<testsuites> <testsuites>
<testsuite name="Project Test Suite"> <testsuite name="Project Test Suite">
<directory>tests</directory> <directory>tests</directory>