From de5650e98eacc9ba2e0f3cd33cccfeca877f9865 Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Thu, 22 Jul 2021 12:35:43 +0000 Subject: [PATCH] [TESTS] Exclude class Security from testing, as it's a simple wrapper --- src/Core/Security.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Core/Security.php b/src/Core/Security.php index 95aed02a22..1f79ded213 100644 --- a/src/Core/Security.php +++ b/src/Core/Security.php @@ -33,6 +33,12 @@ namespace App\Core; use HtmlSanitizer\SanitizerInterface; use Symfony\Component\Security\Core\Security as SSecurity; +/** + * Forwards method calls to either Symfony\Component\Security\Core\Security or + * HtmlSanitizer\SanitizerInterface, calling the first existing method, in that order + * + * @codeCoverageIgnore + */ abstract class Security { private static ?SSecurity $security;