Passed
Pull Request — main (#308)
by Michiel
14:02 queued 06:58
created
SelfServiceBundle/Command/SelfAssertedTokenRegistrationCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /**
6 6
  * Copyright 2022 SURFnet B.V.
Please login to merge, or discard this patch.
src/Surfnet/StepupSelfService/SelfServiceBundle/Command/SelfVetCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /**
6 6
  * Copyright 2021 SURFnet B.V.
Please login to merge, or discard this patch.
src/Surfnet/StepupSelfService/SelfServiceBundle/Command/RevokeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /**
6 6
  * Copyright 2014 SURFnet bv
@@ -35,5 +35,5 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * @var UnverifiedSecondFactor|VerifiedSecondFactor|VettedSecondFactor
37 37
      */
38
-    public UnverifiedSecondFactor|VerifiedSecondFactor|VettedSecondFactor $secondFactor;
38
+    public UnverifiedSecondFactor | VerifiedSecondFactor | VettedSecondFactor $secondFactor;
39 39
 }
Please login to merge, or discard this patch.
StepupSelfService/SelfServiceBundle/Security/Factory/SamlFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /**
6 6
  * Copyright 2014 SURFnet bv
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         return -10;
66 66
     }
67 67
 
68
-    public function createAuthenticator(ContainerBuilder $container, string $firewallName, array $config, string $userProviderId): string|array
68
+    public function createAuthenticator(ContainerBuilder $container, string $firewallName, array $config, string $userProviderId): string | array
69 69
     {
70 70
         return $config;
71 71
     }
Please login to merge, or discard this patch.
Security/Authentication/AuthenticatedSessionStateHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /**
6 6
  * Copyright 2016 SURFnet bv
Please login to merge, or discard this patch.
Security/Authentication/Handler/AuthenticationSuccessHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Surfnet\StepupSelfService\SelfServiceBundle\Security\Authentication\Handler;
6 6
 
Please login to merge, or discard this patch.
Security/Authentication/Handler/ProcessSamlAuthenticationHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /**
6 6
  * Copyright 2016 SURFnet bv
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         AuthenticationManagerInterface $authenticationManager,
55 55
         private readonly SamlAuthenticationLogger $authenticationLogger,
56 56
     ) {
57
-        $this->authenticationManager      = $authenticationManager;
57
+        $this->authenticationManager = $authenticationManager;
58 58
     }
59 59
 
60 60
     public function process(RequestEvent $event): void
Please login to merge, or discard this patch.
SelfServiceBundle/Security/Authentication/AuthenticatedIdentity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /**
6 6
  * Copyright 2023 SURFnet bv
Please login to merge, or discard this patch.
SelfServiceBundle/Security/Authentication/Session/SessionStorage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /**
6 6
  * Copyright 2014 SURFnet bv
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 
109 109
     public function hasRequestId(): bool
110 110
     {
111
-        return $this->requestStack->getSession()->has(self::SAML_SESSION_KEY. 'request_id');
111
+        return $this->requestStack->getSession()->has(self::SAML_SESSION_KEY . 'request_id');
112 112
     }
113 113
 
114 114
     public function clearRequestId(): void
Please login to merge, or discard this patch.