Passed
Push — feature/add-azure-mfa-registra... ( 3767e0...d31ca4 )
by
unknown
02:11
created
src/Surfnet/StepupGateway/GatewayBundle/Saml/Proxy/ProxyStateHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
 
204 204
     public function isSecondFactorFallback(): bool
205 205
     {
206
-        return (bool)$this->get('selected_second_factor_fallback');
206
+        return (bool) $this->get('selected_second_factor_fallback');
207 207
     }
208 208
 
209 209
     public function setVerifiedBySsoOn2faCookie(bool $isVerifiedByCookie): ProxyStateHandler
Please login to merge, or discard this patch.
Surfnet/StepupGateway/GatewayBundle/Monolog/Logger/AuthenticationLogger.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         ResponseContext     $sfoResponseContext,
47 47
         ResponseContext     $ssoResponseContext,
48 48
     ) {
49
-        $this->secondFactorService  = $secondFactorService;
49
+        $this->secondFactorService = $secondFactorService;
50 50
         $this->authenticationChannelLogger = $authenticationChannelLogger;
51 51
         $this->sfoResponseContext = $sfoResponseContext;
52 52
         $this->ssoResponseContext = $ssoResponseContext;
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
             'institution'           => $secondFactor->getInstitution(),
70 70
             'authentication_result' => $context->isSecondFactorVerified() ? 'OK' : 'FAILED',
71 71
             'resulting_loa'         => (string) $loa,
72
-            'sso' => $context->isVerifiedBySsoOn2faCookie() ? 'YES': 'NO',
72
+            'sso' => $context->isVerifiedBySsoOn2faCookie() ? 'YES' : 'NO',
73 73
         ];
74 74
 
75 75
         if ($context->isVerifiedBySsoOn2faCookie()) {
Please login to merge, or discard this patch.
StepupGateway/SecondFactorOnlyBundle/Service/Gateway/ResponseValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
             if ($subjectNameIdFromResponse !== $secondFactor->getSecondFactorIdentifier()) {
70 70
                 throw new ReceivedInvalidSubjectNameIdException(
71 71
                     sprintf(
72
-                        'The nameID received from the GSSP (%s) did not match the selected second factor (%s). This '.
72
+                        'The nameID received from the GSSP (%s) did not match the selected second factor (%s). This ' .
73 73
                         'might be an indication someone is tampering with a GSSP. The authentication was started by %s',
74 74
                         $subjectNameIdFromResponse,
75 75
                         $secondFactor->getSecondFactorIdentifier(),
Please login to merge, or discard this patch.
StepupGateway/SecondFactorOnlyBundle/Service/Gateway/RespondService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
         }
103 103
 
104 104
         $secondFactor = $this->secondFactorService->findByUuid($selectedSecondFactorUuid, $responseContext);
105
-        $loaLevel =  $this->secondFactorService->getLoaLevel($secondFactor);
105
+        $loaLevel = $this->secondFactorService->getLoaLevel($secondFactor);
106 106
         $this->responseValidator->validate($request, $secondFactor, $responseContext->getIdentityNameId());
107 107
 
108 108
         $authnContextClassRef = $this->loaAliasLookupService->findAliasByLoa($loaLevel);
Please login to merge, or discard this patch.