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:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user