Files
e-cosplay/phpunit.dist.xml

59 lines
1.8 KiB
XML
Raw Normal View History

2025-07-16 09:05:52 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<!-- 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"
colors="true"
failOnDeprecation="true"
failOnNotice="true"
failOnWarning="true"
bootstrap="tests/bootstrap.php"
cacheDirectory=".phpunit.cache"
>
<php>
<ini name="display_errors" value="1" />
<ini name="error_reporting" value="-1" />
<env name="APP_ENV" value="test"/>
<env name="MESSENGER_TRANSPORT_DSN" value="redis://localhost:6379/messages" force="true"/>
2025-07-16 09:05:52 +02:00
<server name="SHELL_VERBOSITY" value="-1" />
<env name="KERNEL_CLASS" value="App\Kernel" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
2025-07-16 09:05:52 +02:00
</php>
<coverage>
<report>
<clover outputFile=".coverage/clover.xml"/>
</report>
</coverage>
2025-07-16 09:05:52 +02:00
<testsuites>
<testsuite name="Project Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<source ignoreSuppressionOfDeprecations="true"
ignoreIndirectDeprecations="true"
restrictNotices="true"
restrictWarnings="true"
>
<include>
<directory>src</directory>
</include>
<exclude>
<directory>src/Command</directory>
<directory>src/Controller</directory>
<directory>src/Service</directory>
</exclude>
2025-07-16 09:05:52 +02:00
2025-07-16 09:05:52 +02:00
<deprecationTrigger>
<method>Doctrine\Deprecations\Deprecation::trigger</method>
<method>Doctrine\Deprecations\Deprecation::delegateTriggerToBackend</method>
<function>trigger_deprecation</function>
</deprecationTrigger>
</source>
</phpunit>