Passed
Pull Request — main (#308)
by Paul
14:53 queued 07:29
created
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.
StepupSelfService/SelfServiceBundle/Form/Type/SendSmsChallengeType.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
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
             ])
53 53
             ->add('sendChallenge', SubmitType::class, [
54 54
                 'label' => 'ss.form.ss_send_sms_challenge.button.send_challenge',
55
-                'attr' => [ 'class' => 'btn btn-primary pull-right' ],
55
+                'attr' => ['class' => 'btn btn-primary pull-right'],
56 56
             ]);
57 57
     }
58 58
 
Please login to merge, or discard this patch.
StepupSelfService/SelfServiceBundle/Form/Type/VerifySmsChallengeType.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
@@ -43,13 +43,13 @@  discard block
 block discarded – undo
43 43
         ]);
44 44
         $builder->add('resendChallenge', AnchorType::class, [
45 45
             'label' => 'ss.form.ss_verify_sms_challenge.button.resend_challenge',
46
-            'attr' => [ 'class' => 'btn btn-default' ],
46
+            'attr' => ['class' => 'btn btn-default'],
47 47
             'route' => $options['data']->resendRoute,
48 48
             'route_parameters' => $options['data']->resendRouteParameters,
49 49
         ]);
50 50
         $builder->add('verifyChallenge', SubmitType::class, [
51 51
             'label' => 'ss.form.ss_verify_sms_challenge.button.verify_challenge',
52
-            'attr' => [ 'class' => 'btn btn-primary pull-right' ],
52
+            'attr' => ['class' => 'btn btn-primary pull-right'],
53 53
         ]);
54 54
     }
55 55
 
Please login to merge, or discard this patch.
StepupSelfService/SelfServiceBundle/Form/Type/RevokeSecondFactorType.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
@@ -31,11 +31,11 @@  discard block
 block discarded – undo
31 31
     {
32 32
         $builder->add('revoke', SubmitType::class, [
33 33
             'label' => 'ss.form.ss_revoke_second_factor.revoke',
34
-            'attr' => [ 'class' => 'btn btn-danger pull-right' ],
34
+            'attr' => ['class' => 'btn btn-danger pull-right'],
35 35
         ]);
36 36
         $builder->add('cancel', AnchorType::class, [
37 37
             'label' => 'ss.form.ss_revoke_second_factor.cancel',
38
-            'attr' => [ 'class' => 'btn pull-right' ],
38
+            'attr' => ['class' => 'btn pull-right'],
39 39
             'route' => 'ss_second_factor_list',
40 40
         ]);
41 41
     }
Please login to merge, or discard this patch.
src/Surfnet/StepupSelfService/SelfServiceBundle/Form/Type/AnchorType.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.
Surfnet/StepupSelfService/SelfServiceBundle/Form/Type/VerifyEmailType.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
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         ]);
38 38
         $builder->add('verifyEmail', SubmitType::class, [
39 39
             'label' => 'ss.form.ss_verify_email.button.verify_email',
40
-            'attr' => [ 'class' => 'btn btn-primary' ],
40
+            'attr' => ['class' => 'btn btn-primary'],
41 41
         ]);
42 42
     }
43 43
 
Please login to merge, or discard this patch.
SelfServiceBundle/Command/SelfAssertedTokenRegistrationCommand.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 2022 SURFnet B.V.
Please login to merge, or discard this patch.
src/Surfnet/StepupSelfService/SelfServiceBundle/Command/SelfVetCommand.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 2021 SURFnet B.V.
Please login to merge, or discard this patch.