@@ -2,9 +2,9 @@  | 
                                                    ||
| 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'];  | 
                                                        
@@ -17,9 +17,9 @@  | 
                                                    ||
| 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 | };  | 
                                                        
@@ -1,6 +1,6 @@ discard block  | 
                                                    ||
| 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  | 
                                                    ||
| 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 | |
@@ -1,6 +1,6 @@ discard block  | 
                                                    ||
| 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  | 
                                                    ||
| 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 | |
@@ -1,6 +1,6 @@ discard block  | 
                                                    ||
| 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  | 
                                                    ||
| 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 | }  | 
                                                        
@@ -1,6 +1,6 @@  | 
                                                    ||
| 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  | 
                                                        
@@ -1,6 +1,6 @@ discard block  | 
                                                    ||
| 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  | 
                                                    ||
| 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 | |
@@ -1,6 +1,6 @@  | 
                                                    ||
| 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.  | 
                                                        
@@ -1,6 +1,6 @@  | 
                                                    ||
| 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.  |