Passed
Pull Request — main (#308)
by Paul
16:02 queued 07:12
created
Security/Authentication/Handler/ProcessSamlAuthenticationHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         AuthenticationManagerInterface $authenticationManager,
53 53
         private readonly SamlAuthenticationLogger $authenticationLogger,
54 54
     ) {
55
-        $this->authenticationManager      = $authenticationManager;
55
+        $this->authenticationManager = $authenticationManager;
56 56
     }
57 57
 
58 58
     public function process(RequestEvent $event): void
Please login to merge, or discard this patch.
DependencyInjection/SurfnetStepupSelfServiceSelfServiceExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         $configuration = new Configuration();
44 44
         $config = $this->processConfiguration($configuration, $configs);
45 45
 
46
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
46
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
47 47
         $loader->load('services.yaml');
48 48
         $loader->load('security.yaml');
49 49
 
Please login to merge, or discard this patch.
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.