Passed
Push — feature/build-and-publish-test... ( 5abced...ea0709 )
by
unknown
12:17 queued 03:44
created
DependencyInjection/SurfnetStepupSelfServiceSelfServiceExtension.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
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         $configuration = new Configuration();
46 46
         $config = $this->processConfiguration($configuration, $configs);
47 47
 
48
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
48
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
49 49
         $loader->load('services.yaml');
50 50
         $loader->load('security.yaml');
51 51
 
Please login to merge, or discard this patch.
SelfServiceBundle/Twig/Extensions/Extension/SecondFactorType.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 2018 SURFnet B.V.
Please login to merge, or discard this patch.
src/Surfnet/StepupSelfService/SelfServiceBundle/Value/BuiltInToken.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 2018 SURFnet bv
Please login to merge, or discard this patch.
StepupSelfService/SelfServiceBundle/Value/AvailableTokenCollection.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 2018 SURFnet bv
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     private function sortCollection(): void
60 60
     {
61 61
         // The collection is first sorted by LoA level and then in alphabetic order.
62
-        uasort($this->collection, function (AvailableTokenInterface $a, AvailableTokenInterface $b): int {
62
+        uasort($this->collection, function(AvailableTokenInterface $a, AvailableTokenInterface $b): int {
63 63
             if ($a->getLoaLevel() === $b->getLoaLevel()) {
64 64
                 return strcmp((string) $a->getType(), (string) $b->getType());
65 65
             }
Please login to merge, or discard this patch.
StepupSelfService/SelfServiceBundle/Service/SecondFactorTypeCollection.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
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         return $this->maxNumberOfRegistrations;
60 60
     }
61 61
 
62
-    public function getRegistrationsLeft(): int|float
62
+    public function getRegistrationsLeft(): int | float
63 63
     {
64 64
         $total = $this->maxNumberOfRegistrations;
65 65
 
Please login to merge, or discard this patch.
Surfnet/StepupSelfService/SelfServiceBundle/Service/ApplicationHelper.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 2020 SURFnet B.V.
Please login to merge, or discard this patch.
Service/TestSecondFactor/TestAuthenticationRequestFactory.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 2017 SURFnet bv
Please login to merge, or discard this patch.
StepupSelfService/SelfServiceBundle/Controller/SecondFactorController.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 2014 SURFnet bv
@@ -102,9 +102,9 @@  discard block
 block discarded – undo
102 102
         path: '/second-factor/{state}/{secondFactorId}/revoke',
103 103
         name: 'ss_second_factor_revoke',
104 104
         requirements: ['state' => '^(unverified|verified|vetted)$'],
105
-        methods: ['GET','POST']
105
+        methods: ['GET', 'POST']
106 106
     )]
107
-    public function revoke(Request $request, string $state, string $secondFactorId): array|Response
107
+    public function revoke(Request $request, string $state, string $secondFactorId): array | Response
108 108
     {
109 109
         $identity = $this->getIdentity();
110 110
 
Please login to merge, or discard this patch.
SelfServiceBundle/Controller/Registration/SmsController.php 1 patch
Spacing   +5 added lines, -5 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
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
     #[Route(
49 49
         path: '/registration/sms/send-challenge',
50 50
         name: 'ss_registration_sms_send_challenge',
51
-        methods: ['GET','POST'],
51
+        methods: ['GET', 'POST'],
52 52
     )]
53
-    public function sendChallenge(Request $request): array|RedirectResponse
53
+    public function sendChallenge(Request $request): array | RedirectResponse
54 54
     {
55 55
         $this->assertSecondFactorEnabled('sms');
56 56
 
@@ -92,9 +92,9 @@  discard block
 block discarded – undo
92 92
     #[Route(
93 93
         path: '/registration/sms/prove-possession',
94 94
         name: 'ss_registration_sms_prove_possession',
95
-        methods: ['GET','POST'],
95
+        methods: ['GET', 'POST'],
96 96
     )]
97
-    public function provePossession(Request $request): RedirectResponse|array
97
+    public function provePossession(Request $request): RedirectResponse | array
98 98
     {
99 99
         $this->assertSecondFactorEnabled('sms');
100 100
 
Please login to merge, or discard this patch.