Passed
Pull Request — main (#308)
by Paul
13:29 queued 06:46
created
public/index.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,9 +17,9 @@
 block discarded – undo
17 17
 
18 18
 use Surfnet\StepupSelfService\Kernel;
19 19
 
20
-require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
21
-require_once dirname(__DIR__).'/config/bootstrap.php';
20
+require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';
21
+require_once dirname(__DIR__) . '/config/bootstrap.php';
22 22
 
23
-return function (array $context) {
23
+return function(array $context) {
24 24
     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
25 25
 };
Please login to merge, or discard this patch.
SelfServiceBundle/Controller/Registration/SmsController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,9 +46,9 @@  discard block
 block discarded – undo
46 46
     #[Route(
47 47
         path: '/registration/sms/send-challenge',
48 48
         name: 'ss_registration_sms_send_challenge',
49
-        methods: ['GET','POST'],
49
+        methods: ['GET', 'POST'],
50 50
     )]
51
-    public function sendChallenge(Request $request): array|RedirectResponse
51
+    public function sendChallenge(Request $request): array | RedirectResponse
52 52
     {
53 53
         $this->assertSecondFactorEnabled('sms');
54 54
 
@@ -90,9 +90,9 @@  discard block
 block discarded – undo
90 90
     #[Route(
91 91
         path: '/registration/sms/prove-possession',
92 92
         name: 'ss_registration_sms_prove_possession',
93
-        methods: ['GET','POST'],
93
+        methods: ['GET', 'POST'],
94 94
     )]
95
-    public function provePossession(Request $request): RedirectResponse|array
95
+    public function provePossession(Request $request): RedirectResponse | array
96 96
     {
97 97
         $this->assertSecondFactorEnabled('sms');
98 98
 
Please login to merge, or discard this patch.
SelfServiceBundle/Controller/Registration/GssfController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     #[Route(
84 84
         path: '/registration/gssf/{provider}/status',
85 85
         name: 'ss_registration_gssf_status_report',
86
-        defaults: ['authenticationFailed' => false, 'proofOfPossessionFailed'=> false ],
86
+        defaults: ['authenticationFailed' => false, 'proofOfPossessionFailed'=> false],
87 87
         methods: ['GET'],
88 88
     )]
89 89
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         name: 'ss_registration_gssf_authenticate',
106 106
         methods: ['POST'],
107 107
     )]
108
-    public function authenticate(string $provider): array|Response
108
+    public function authenticate(string $provider): array | Response
109 109
     {
110 110
         $this->assertSecondFactorEnabled($provider);
111 111
 
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
         name: 'ss_registration_gssf_consume_assertion',
140 140
         methods: ['POST'],
141 141
     )]
142
-    public function consumeAssertion(Request $httpRequest, string $provider): array|Response
142
+    public function consumeAssertion(Request $httpRequest, string $provider): array | Response
143 143
     {
144 144
         $this->assertSecondFactorEnabled($provider);
145 145
 
Please login to merge, or discard this patch.