Passed
Push — feature/package_updates_nov_25 ( 118e61...18f334 )
by Johan
04:58 queued 02:11
created
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.
ci/qa/rector.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -6,12 +6,12 @@
 block discarded – undo
6 6
 
7 7
 return RectorConfig::configure()
8 8
     ->withPaths([
9
-         __DIR__ . '/../../ci',
10
-         __DIR__ . '/../../config',
11
-         __DIR__ . '/../../public',
12
-         __DIR__ . '/../../src',
13
-         __DIR__ . '/../../tests',
14
-         __DIR__ . '/../../templates',
9
+            __DIR__ . '/../../ci',
10
+            __DIR__ . '/../../config',
11
+            __DIR__ . '/../../public',
12
+            __DIR__ . '/../../src',
13
+            __DIR__ . '/../../tests',
14
+            __DIR__ . '/../../templates',
15 15
     ])
16 16
     // uncomment to reach your current PHP version
17 17
 //     ->withPhpSets()
Please login to merge, or discard this patch.
tests/features/bootstrap/ServiceProviderContext.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
         $request = Saml2AuthnRequest::createNew($authnRequest);
214 214
         $query = $request->buildRequestQuery();
215 215
 
216
-        $this->getSession()->visit($request->getDestination().'?'.$query);
216
+        $this->getSession()->visit($request->getDestination() . '?' . $query);
217 217
     }
218 218
 
219 219
     #[\Behat\Step\When('/^([^\\\']*) starts an SFO authentication requiring LoA ([^\\\']*)$/')]
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
         );
267 267
         $request = Saml2AuthnRequest::createNew($authnRequest);
268 268
         $query = $request->buildRequestQuery();
269
-        $this->getSession()->visit($authnRequest->getDestination().'?'.$query);
269
+        $this->getSession()->visit($authnRequest->getDestination() . '?' . $query);
270 270
     }
271 271
 
272 272
     #[\Behat\Step\When('/^([^\\\']*) starts an authentication requiring LoA ([^\\\']*)$/')]
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
         $request = Saml2AuthnRequest::createNew($authnRequest);
308 308
         $query = $request->buildRequestQuery();
309 309
 
310
-        $this->getSession()->visit($request->getDestination().'?'.$query);
310
+        $this->getSession()->visit($request->getDestination() . '?' . $query);
311 311
     }
312 312
 
313 313
     #[\Behat\Step\When('/^I authenticate at the IdP as ([^\\\']*)$/')]
Please login to merge, or discard this patch.
tests/features/bootstrap/FeatureContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     #[\Behat\Step\Given('/^an institution "([^"]*)" that allows "([^"]*)"$/')]
194 194
     public function anInstitutionThatAllows(string $institution, string $option): void
195 195
     {
196
-        switch(true) {
196
+        switch (true) {
197 197
             case $option === 'sso_on_2fa':
198 198
                 $optionColumnName = 'sso_on2fa_enabled';
199 199
                 break;
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
     private function getCookieNames(array $responseCookieHeaders): array
396 396
     {
397 397
         $response = [];
398
-        foreach($responseCookieHeaders as $cookie) {
398
+        foreach ($responseCookieHeaders as $cookie) {
399 399
             $parts = explode('=', $cookie);
400 400
             $response[] = array_shift($parts);
401 401
         }
Please login to merge, or discard this patch.