Passed
Push — dependabot/composer/php-prod-f... ( f24868...5d725d )
by
unknown
10:19 queued 08:31
created
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);
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.
src/Surfnet/StepupGateway/GatewayBundle/Saml/Proxy/ProxyStateHandler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
 
205 205
     public function isSecondFactorFallback(): bool
206 206
     {
207
-        return (bool)$this->get('selected_second_factor_fallback');
207
+        return (bool) $this->get('selected_second_factor_fallback');
208 208
     }
209 209
 
210 210
     public function setGsspUserAttributes(string $subject, string $institution): ProxyStateHandler
@@ -217,12 +217,12 @@  discard block
 block discarded – undo
217 217
 
218 218
     public function getGsspUserAttributeSubject(): string
219 219
     {
220
-        return (string)$this->get('user_attribute_subject');
220
+        return (string) $this->get('user_attribute_subject');
221 221
     }
222 222
 
223 223
     public function getGsspUserAttributeInstitution(): string
224 224
     {
225
-        return (string)$this->get('user_attribute_institution');
225
+        return (string) $this->get('user_attribute_institution');
226 226
     }
227 227
 
228 228
     public function setVerifiedBySsoOn2faCookie(bool $isVerifiedByCookie): ProxyStateHandler
Please login to merge, or discard this patch.
SecondFactorOnlyBundle/Service/Gateway/GsspFallbackService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
             $this->stateHandler->getGsspUserAttributeSubject(),
163 163
             $this->stateHandler->getGsspUserAttributeInstitution(),
164 164
             $this->config->getGssp(),
165
-            (string)$this->stateHandler->getPreferredLocale()
165
+            (string) $this->stateHandler->getPreferredLocale()
166 166
         );
167 167
     }
168 168
 }
Please login to merge, or discard this patch.
Surfnet/StepupGateway/GatewayBundle/Monolog/Logger/AuthenticationLogger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
             'institution'           => $secondFactor->getInstitution(),
92 92
             'authentication_result' => $context->isSecondFactorVerified() ? 'OK' : 'FAILED',
93 93
             'resulting_loa'         => (string) $loa,
94
-            'sso' => $context->isVerifiedBySsoOn2faCookie() ? 'YES': 'NO',
94
+            'sso' => $context->isVerifiedBySsoOn2faCookie() ? 'YES' : 'NO',
95 95
         ];
96 96
 
97 97
         if ($context->isVerifiedBySsoOn2faCookie()) {
Please login to merge, or discard this patch.