diff --git a/phpcs.xml.dist b/phpcs.xml.dist index e1ff2d44..8e8b8b36 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -33,6 +33,7 @@ + diff --git a/src/bundle/DependencyInjection/Factory/Security/TwoFactorFactory.php b/src/bundle/DependencyInjection/Factory/Security/TwoFactorFactory.php index 9169063e..5179b5ba 100644 --- a/src/bundle/DependencyInjection/Factory/Security/TwoFactorFactory.php +++ b/src/bundle/DependencyInjection/Factory/Security/TwoFactorFactory.php @@ -125,7 +125,7 @@ private function createAuthenticatorService( string $twoFactorFirewallConfigId, string $successHandlerId, string $failureHandlerId, - string $authRequiredHandlerId + string $authRequiredHandlerId, ): string { $authenticatorId = self::AUTHENTICATOR_ID_PREFIX.$firewallName; $container diff --git a/src/bundle/Security/Http/Authenticator/TwoFactorAuthenticator.php b/src/bundle/Security/Http/Authenticator/TwoFactorAuthenticator.php index ea13572f..31b59729 100644 --- a/src/bundle/Security/Http/Authenticator/TwoFactorAuthenticator.php +++ b/src/bundle/Security/Http/Authenticator/TwoFactorAuthenticator.php @@ -50,7 +50,7 @@ public function __construct( private AuthenticationFailureHandlerInterface $failureHandler, private AuthenticationRequiredHandlerInterface $authenticationRequiredHandler, private EventDispatcherInterface $eventDispatcher, - ?LoggerInterface $logger = null + ?LoggerInterface $logger = null, ) { $this->logger = $logger ?? new NullLogger(); } diff --git a/src/bundle/Security/Http/EventListener/CheckTwoFactorCodeListener.php b/src/bundle/Security/Http/EventListener/CheckTwoFactorCodeListener.php index 5461279a..797a1b7a 100644 --- a/src/bundle/Security/Http/EventListener/CheckTwoFactorCodeListener.php +++ b/src/bundle/Security/Http/EventListener/CheckTwoFactorCodeListener.php @@ -20,7 +20,7 @@ class CheckTwoFactorCodeListener extends AbstractCheckCodeListener public function __construct( PreparationRecorderInterface $preparationRecorder, - private TwoFactorProviderRegistry $providerRegistry + private TwoFactorProviderRegistry $providerRegistry, ) { parent::__construct($preparationRecorder); } diff --git a/src/bundle/Security/TwoFactor/AuthenticationContext.php b/src/bundle/Security/TwoFactor/AuthenticationContext.php index 50a0168e..0cdd97b5 100644 --- a/src/bundle/Security/TwoFactor/AuthenticationContext.php +++ b/src/bundle/Security/TwoFactor/AuthenticationContext.php @@ -16,7 +16,7 @@ public function __construct( private Request $request, private TokenInterface $token, private Passport $passport, - private string $firewallName + private string $firewallName, ) { } diff --git a/src/bundle/Security/TwoFactor/Event/AuthenticationTokenListener.php b/src/bundle/Security/TwoFactor/Event/AuthenticationTokenListener.php index 9eb1d82b..f34d1fdc 100644 --- a/src/bundle/Security/TwoFactor/Event/AuthenticationTokenListener.php +++ b/src/bundle/Security/TwoFactor/Event/AuthenticationTokenListener.php @@ -25,7 +25,7 @@ public function __construct( private TwoFactorConditionRegistry $twoFactorConditionRegistry, private TwoFactorProviderInitiator $twoFactorProviderInitiator, private AuthenticationContextFactoryInterface $authenticationContextFactory, - private RequestStack $requestStack + private RequestStack $requestStack, ) { } diff --git a/src/bundle/Security/TwoFactor/Provider/TwoFactorProviderInitiator.php b/src/bundle/Security/TwoFactor/Provider/TwoFactorProviderInitiator.php index fca75bf4..27a953ab 100644 --- a/src/bundle/Security/TwoFactor/Provider/TwoFactorProviderInitiator.php +++ b/src/bundle/Security/TwoFactor/Provider/TwoFactorProviderInitiator.php @@ -17,7 +17,7 @@ class TwoFactorProviderInitiator { public function __construct( private TwoFactorProviderRegistry $providerRegistry, - private TwoFactorTokenFactoryInterface $twoFactorTokenFactory + private TwoFactorTokenFactoryInterface $twoFactorTokenFactory, ) { } diff --git a/src/bundle/Security/TwoFactor/Provider/TwoFactorProviderPreparationListener.php b/src/bundle/Security/TwoFactor/Provider/TwoFactorProviderPreparationListener.php index 4fdadbae..57668c13 100644 --- a/src/bundle/Security/TwoFactor/Provider/TwoFactorProviderPreparationListener.php +++ b/src/bundle/Security/TwoFactor/Provider/TwoFactorProviderPreparationListener.php @@ -40,7 +40,7 @@ public function __construct( ?LoggerInterface $logger, private string $firewallName, private bool $prepareOnLogin, - private bool $prepareOnAccessDenied + private bool $prepareOnAccessDenied, ) { $this->logger = $logger ?? new NullLogger(); }