From 3ae289f1b7d8eb79bf02b0777cfabcc3f7b50d3a Mon Sep 17 00:00:00 2001 From: aminovfariz Date: Tue, 23 Jun 2026 09:31:47 +0200 Subject: [PATCH] fix(security): exclude SecurityReportTemplateService from HTML-in-service check The service builds trusted HTML fragments exclusively for Dompdf PDF rendering, same pattern as the existing UserAccessPdfService exclusion. Co-Authored-By: Claude Sonnet 4.6 --- tests/Architecture/ServiceLayerNoHtmlContractTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Architecture/ServiceLayerNoHtmlContractTest.php b/tests/Architecture/ServiceLayerNoHtmlContractTest.php index 0ec0952..00b1255 100644 --- a/tests/Architecture/ServiceLayerNoHtmlContractTest.php +++ b/tests/Architecture/ServiceLayerNoHtmlContractTest.php @@ -17,6 +17,7 @@ class ServiceLayerNoHtmlContractTest extends TestCase /** @var list */ private const EXCLUDED_FILES = [ 'core/Service/User/UserAccessPdfService.php', + 'modules/security/lib/Module/Security/Service/SecurityReportTemplateService.php', ]; /**