Passed
Pull Request — main (#309)
by
unknown
26:45 queued 18:42
created
StepupSelfService/SelfServiceBundle/Controller/RegistrationController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         name: 'ss_registration_display_types',
57 57
         methods: ['GET'],
58 58
     )]
59
-    public function displaySecondFactorTypes(): Response|array
59
+    public function displaySecondFactorTypes(): Response | array
60 60
     {
61 61
         $institution = $this->getIdentity()->institution;
62 62
         $institutionConfigurationOptions = $this->configurationOptionsService
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
         name: 'ss_second_factor_vetting_types',
109 109
         methods:  ['GET'],
110 110
     )]
111
-    public function displayVettingTypes(Request $request, string $secondFactorId): array|Response
111
+    public function displayVettingTypes(Request $request, string $secondFactorId): array | Response
112 112
     {
113 113
         /**
114 114
          * @var VettingTypeService
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
         name: 'ss_registration_verify_email',
184 184
         methods: ['GET'],
185 185
     )]
186
-    public function verifyEmail(Request $request): RedirectResponse|array
186
+    public function verifyEmail(Request $request): RedirectResponse | array
187 187
     {
188 188
         $nonce = $request->query->get('n', '');
189 189
         $identityId = $this->getIdentity()->id;
Please login to merge, or discard this patch.
src/Surfnet/StepupSelfService/SelfServiceBundle/Command/RevokeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,5 +33,5 @@
 block discarded – undo
33 33
     /**
34 34
      * @var UnverifiedSecondFactor|VerifiedSecondFactor|VettedSecondFactor
35 35
      */
36
-    public UnverifiedSecondFactor|VerifiedSecondFactor|VettedSecondFactor $secondFactor;
36
+    public UnverifiedSecondFactor | VerifiedSecondFactor | VettedSecondFactor $secondFactor;
37 37
 }
Please login to merge, or discard this patch.
config/bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 use Symfony\Component\Yaml\Yaml;
4 4
 
5
-require dirname(__DIR__).'/vendor/autoload.php';
5
+require dirname(__DIR__) . '/vendor/autoload.php';
6 6
 
7
-$parametersPath = dirname(__DIR__).'/config/openconext/parameters.yaml';
7
+$parametersPath = dirname(__DIR__) . '/config/openconext/parameters.yaml';
8 8
 $parameters = Yaml::parseFile($parametersPath);
9 9
 $parameters = $parameters['parameters'];
10 10
 $requiredParameters = ['app_env', 'app_debug', 'app_secret'];
Please login to merge, or discard this patch.
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.