[TESTS] Exclude class Security from testing, as it's a simple wrapper

This commit is contained in:
Hugo Sales 2021-07-22 12:35:43 +00:00
parent 75c9ffde31
commit 400716c1b2
Signed by untrusted user: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -33,6 +33,12 @@ namespace App\Core;
use HtmlSanitizer\SanitizerInterface; use HtmlSanitizer\SanitizerInterface;
use Symfony\Component\Security\Core\Security as SSecurity; 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 abstract class Security
{ {
private static ?SSecurity $security; private static ?SSecurity $security;