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>
This commit is contained in:
Serreau Jovann
2026-04-03 10:59:17 +02:00
parent d16e15b2ff
commit 97e147fe2b
3 changed files with 3 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ parameters:
excludePaths:
- src/Controller/WebhookDocuSealController.php
- src/Command/CheckDnsCommand.php
- src/Command/CloudflareDnsCleanCommand.php
- src/Service/AwsSesService.php
- src/Service/CloudflareService.php
- src/Service/DnsInfraHelper.php

View File

@@ -38,6 +38,7 @@
<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>

View File

@@ -10,7 +10,7 @@ sonar.sourceEncoding=UTF-8
sonar.php.version=8.4
# Exclusions
sonar.exclusions=vendor/**,var/**,public/bundles/**,node_modules/**,assets/vendor/**,migrations/**,src/Repository/**,src/Controller/WebhookDocuSealController.php,src/Controller/DnsReportController.php,src/Command/CheckDnsCommand.php,src/Service/AwsSesService.php,src/Service/CloudflareService.php,src/Service/DnsInfraHelper.php,src/Service/DnsCheckService.php,src/Service/StripePriceService.php,src/Service/StripeWebhookService.php,src/Service/MailcowService.php
sonar.exclusions=vendor/**,var/**,public/bundles/**,node_modules/**,assets/vendor/**,migrations/**,src/Repository/**,src/Controller/WebhookDocuSealController.php,src/Controller/DnsReportController.php,src/Command/CheckDnsCommand.php,src/Command/CloudflareDnsCleanCommand.php,src/Service/AwsSesService.php,src/Service/CloudflareService.php,src/Service/DnsInfraHelper.php,src/Service/DnsCheckService.php,src/Service/StripePriceService.php,src/Service/StripeWebhookService.php,src/Service/MailcowService.php
# Coverage
sonar.php.coverage.reportPaths=var/reports/coverage.xml