@@ -52,7 +52,7 @@ |
||
| 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 |
@@ -43,7 +43,7 @@ |
||
| 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 | |
@@ -56,7 +56,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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; |
@@ -33,5 +33,5 @@ |
||
| 33 | 33 | /** |
| 34 | 34 | * @var UnverifiedSecondFactor|VerifiedSecondFactor|VettedSecondFactor |
| 35 | 35 | */ |
| 36 | - public UnverifiedSecondFactor|VerifiedSecondFactor|VettedSecondFactor $secondFactor; |
|
| 36 | + public UnverifiedSecondFactor | VerifiedSecondFactor | VettedSecondFactor $secondFactor; |
|
| 37 | 37 | } |
@@ -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 | }; |