chore(config): update phpunit configuration for better error handling

Added failOnRisky and failOnWarning attributes to enhance test reliability.
Updated directory inclusion to specify PHP suffix for clarity.
This commit is contained in:
Jérémy Munsch 2026-08-14 10:43:09 +02:00
parent 11291807a3
commit 166257810d
Signed by: forge-joniko
GPG key ID: D7EFE2F5CB6CC0E4

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" failOnRisky="true" failOnWarning="true">
<testsuites>
<testsuite name="Unit">
<directory>tests/Unit</directory>
@ -16,7 +16,7 @@
</testsuites>
<source>
<include>
<directory>src</directory>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory>src/Presentation/Web/resources/views</directory>