Passed
Push — feature/symfony6-upgrade ( 1e55b7...4bc027 )
by Paul
12:53 queued 06:42
created
SelfServiceBundle/Controller/Registration/Gssf/GssfMetadataController.php 2 patches
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.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -38,11 +38,11 @@
 block discarded – undo
38 38
         private readonly ControllerCheckerService $checkerService,
39 39
     ) {
40 40
     }
41
-     #[Route(
42
-         path: '/registration/gssf/{provider}/metadata',
43
-         name: 'ss_registration_gssf_saml_metadata',
44
-         methods: ['GET'],
45
-     )]
41
+        #[Route(
42
+            path: '/registration/gssf/{provider}/metadata',
43
+            name: 'ss_registration_gssf_saml_metadata',
44
+            methods: ['GET'],
45
+        )]
46 46
     public function metadata(string $provider): XMLResponse
47 47
     {
48 48
         $this->checkerService->assertSecondFactorEnabled($provider);
Please login to merge, or discard this patch.
Controller/Registration/Gssf/GssfAuthenticateController.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 2014 SURFnet bv
Please login to merge, or discard this patch.
Controller/Registration/Sms/SmsProofPossessionController.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 2023 SURFnet bv
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     #[Route(
45 45
         path: '/registration/sms/prove-possession',
46 46
         name: 'ss_registration_sms_prove_possession',
47
-        methods: ['GET','POST'],
47
+        methods: ['GET', 'POST'],
48 48
     )]
49 49
     public function __invoke(Request $request): Response
50 50
     {
Please login to merge, or discard this patch.
Controller/Registration/Sms/SmsSendChallengeController.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 2023 SURFnet bv
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     #[Route(
45 45
         path: '/registration/sms/send-challenge',
46 46
         name: 'ss_registration_sms_send_challenge',
47
-        methods: ['GET','POST'],
47
+        methods: ['GET', 'POST'],
48 48
     )]
49 49
     public function __invoke(Request $request): Response
50 50
     {
Please login to merge, or discard this patch.
Controller/Registration/Gssf/GssfConsumeAssertionController.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 2023 SURFnet bv
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
         name: 'ss_registration_gssf_consume_assertion',
56 56
         methods: ['POST'],
57 57
     )]
58
-    public function consumeAssertion(Request $httpRequest, string $provider): array|Response
58
+    public function consumeAssertion(Request $httpRequest, string $provider): array | Response
59 59
     {
60 60
         $this->checkerService->assertSecondFactorEnabled($provider);
61 61
 
Please login to merge, or discard this patch.
SelfServiceBundle/Controller/Registration/YubikeyController.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
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     #[Route(
41 41
         path: '/registration/yubikey/prove-possession',
42 42
         name: 'ss_registration_yubikey_prove_possession',
43
-        methods: ['GET','POST'],
43
+        methods: ['GET', 'POST'],
44 44
     )]
45 45
     public function provePossession(Request $request): Response
46 46
     {
Please login to merge, or discard this patch.
SelfServiceBundle/Controller/SecondFactor/SecondFactorRevokeController.php 1 patch
Spacing   +3 added lines, -3 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 2023 SURFnet bv
@@ -46,9 +46,9 @@  discard block
 block discarded – undo
46 46
         path: '/second-factor/{state}/{secondFactorId}/revoke',
47 47
         name: 'ss_second_factor_revoke',
48 48
         requirements: ['state' => '^(unverified|verified|vetted)$'],
49
-        methods: ['GET','POST']
49
+        methods: ['GET', 'POST']
50 50
     )]
51
-    public function __invoke(Request $request, string $state, string $secondFactorId): array|Response
51
+    public function __invoke(Request $request, string $state, string $secondFactorId): array | Response
52 52
     {
53 53
         $identity = $this->getUser()->getIdentity();
54 54
 
Please login to merge, or discard this patch.
StepupSelfService/SelfServiceBundle/Service/ControllerCheckerService.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.
StepupSelfService/SelfServiceBundle/Service/SecondFactorTypeCollection.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 2014 SURFnet bv
Please login to merge, or discard this patch.