Files
crm_ecosplay/phpunit.dist.xml
Serreau Jovann 97e147fe2b fix: exclure CloudflareDnsCleanCommand de PHPUnit, PHPStan et SonarQube
Commande dépendant de l'API Cloudflare live, non testable unitairement.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 10:59:17 +02:00

66 lines
2.5 KiB
XML

<?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" />
<server name="APP_ENV" value="test" force="true" />
<server name="SHELL_VERBOSITY" value="-1" />
</php>
<testsuites>
<testsuite name="Project Test Suite">
<directory>tests</directory>
<exclude>tests/Controller/StripeWebhookControllerTest.php</exclude>
<exclude>tests/Service/StripeServiceTest.php</exclude>
</testsuite>
</testsuites>
<source ignoreSuppressionOfDeprecations="true"
ignoreIndirectDeprecations="true"
restrictNotices="true"
restrictWarnings="true"
>
<include>
<directory>src</directory>
</include>
<exclude>
<file>src/Controller/StripeWebhookController.php</file>
<file>src/Controller/WebhookDocuSealController.php</file>
<file>src/Controller/DnsReportController.php</file>
<file>src/Command/CheckDnsCommand.php</file>
<file>src/Command/CloudflareDnsCleanCommand.php</file>
<file>src/Service/StripeService.php</file>
<file>src/Service/PayoutPdfService.php</file>
<file>src/Service/BilletOrderService.php</file>
<file>src/Service/InvoiceService.php</file>
<file>src/Service/AwsSesService.php</file>
<file>src/Service/CloudflareService.php</file>
<file>src/Service/DnsInfraHelper.php</file>
<file>src/Service/DnsCheckService.php</file>
<file>src/Service/StripePriceService.php</file>
<file>src/Service/StripeWebhookService.php</file>
<file>src/Service/MailcowService.php</file>
<directory>src/Repository</directory>
</exclude>
<deprecationTrigger>
<method>Doctrine\Deprecations\Deprecation::trigger</method>
<method>Doctrine\Deprecations\Deprecation::delegateTriggerToBackend</method>
<function>trigger_deprecation</function>
</deprecationTrigger>
</source>
<extensions>
</extensions>
</phpunit>