Passed
Push — feature/symfony6-upgrade ( 76f00a...ba8023 )
by Michiel
06:58
created
StepupSelfService/SelfServiceBundle/Form/Type/AuthenticateSafeStoreType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         ]);
37 37
         $builder->add('verifySecret', SubmitType::class, [
38 38
             'label' => 'ss.form.ss_authenticate_safe_store_type.button.continue',
39
-            'attr' => [ 'class' => 'btn btn-primary pull-right' ],
39
+            'attr' => ['class' => 'btn btn-primary pull-right'],
40 40
         ]);
41 41
     }
42 42
 
Please login to merge, or discard this patch.
StepupSelfService/SelfServiceBundle/Form/Type/VerifySmsChallengeType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,13 +38,13 @@
 block discarded – undo
38 38
         ]);
39 39
         $builder->add('resendChallenge', AnchorType::class, [
40 40
             'label' => 'ss.form.ss_verify_sms_challenge.button.resend_challenge',
41
-            'attr' => [ 'class' => 'btn btn-default' ],
41
+            'attr' => ['class' => 'btn btn-default'],
42 42
             'route' => $options['data']->resendRoute,
43 43
             'route_parameters' => $options['data']->resendRouteParameters,
44 44
         ]);
45 45
         $builder->add('verifyChallenge', SubmitType::class, [
46 46
             'label' => 'ss.form.ss_verify_sms_challenge.button.verify_challenge',
47
-            'attr' => [ 'class' => 'btn btn-primary pull-right' ],
47
+            'attr' => ['class' => 'btn btn-primary pull-right'],
48 48
         ]);
49 49
     }
50 50
 
Please login to merge, or discard this patch.
StepupSelfService/SelfServiceBundle/Form/Type/SendSmsChallengeType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
             ])
51 51
             ->add('sendChallenge', SubmitType::class, [
52 52
                 'label' => 'ss.form.ss_send_sms_challenge.button.send_challenge',
53
-                'attr' => [ 'class' => 'btn btn-primary pull-right' ],
53
+                'attr' => ['class' => 'btn btn-primary pull-right'],
54 54
             ]);
55 55
     }
56 56
 
Please login to merge, or discard this patch.
SelfServiceBundle/Form/Type/PromiseSafeStorePossessionType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         ])
39 39
         ->add('confirm', SubmitType::class, [
40 40
             'label' => 'ss.form.recovery_token.button.confirm',
41
-            'attr' => [ 'class' => 'btn btn-primary pull-right' ],
41
+            'attr' => ['class' => 'btn btn-primary pull-right'],
42 42
         ]);
43 43
     }
44 44
 
Please login to merge, or discard this patch.
Surfnet/StepupSelfService/SelfServiceBundle/Form/Type/VerifyEmailType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         ]);
39 39
         $builder->add('verifyEmail', SubmitType::class, [
40 40
             'label' => 'ss.form.ss_verify_email.button.verify_email',
41
-            'attr' => [ 'class' => 'btn btn-primary' ],
41
+            'attr' => ['class' => 'btn btn-primary'],
42 42
         ]);
43 43
     }
44 44
 
Please login to merge, or discard this patch.
StepupSelfService/SelfServiceBundle/Form/Type/RevokeSecondFactorType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
     {
30 30
         $builder->add('revoke', SubmitType::class, [
31 31
             'label' => 'ss.form.ss_revoke_second_factor.revoke',
32
-            'attr' => [ 'class' => 'btn btn-danger pull-right' ],
32
+            'attr' => ['class' => 'btn btn-danger pull-right'],
33 33
         ]);
34 34
         $builder->add('cancel', AnchorType::class, [
35 35
             'label' => 'ss.form.ss_revoke_second_factor.cancel',
36
-            'attr' => [ 'class' => 'btn pull-right' ],
36
+            'attr' => ['class' => 'btn pull-right'],
37 37
             'route' => 'ss_second_factor_list',
38 38
         ]);
39 39
     }
Please login to merge, or discard this patch.
StepupSelfService/SelfServiceBundle/Controller/RecoveryTokenController.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,6 @@
 block discarded – undo
47 47
 
48 48
 /**
49 49
  * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
50
-
51 50
  */
52 51
 class RecoveryTokenController extends Controller
53 52
 {
Please login to merge, or discard this patch.
StepupSelfService/SelfServiceBundle/Value/AvailableTokenCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     private function sortCollection(): void
61 61
     {
62 62
         // The collection is first sorted by LoA level and then in alphabetic order.
63
-        uasort($this->collection, function (AvailableTokenInterface $a, AvailableTokenInterface $b): int {
63
+        uasort($this->collection, function(AvailableTokenInterface $a, AvailableTokenInterface $b): int {
64 64
             if ($a->getLoaLevel() === $b->getLoaLevel()) {
65 65
                 return strcmp((string) $a->getType(), (string) $b->getType());
66 66
             }
Please login to merge, or discard this patch.
StepupSelfService/SelfServiceBundle/Service/SecondFactorTypeCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         return $this->maxNumberOfRegistrations;
58 58
     }
59 59
 
60
-    public function getRegistrationsLeft(): int|float
60
+    public function getRegistrationsLeft(): int | float
61 61
     {
62 62
         $total = $this->maxNumberOfRegistrations;
63 63
 
Please login to merge, or discard this patch.