@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | $configuration = new Configuration(); |
| 43 | 43 | $config = $this->processConfiguration($configuration, $configs); |
| 44 | 44 | |
| 45 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 45 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 46 | 46 | $loader->load('services.yml'); |
| 47 | 47 | |
| 48 | 48 | $connectedServiceProviders = $container->getDefinition('gssp.connected_service_providers'); |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | $hostedDefinition = $this->buildHostedEntityDefinition($provider, $configuration, $routes); |
| 138 | 138 | $container->setDefinition('gssp.provider.' . $provider . '.hosted_entities', $hostedDefinition); |
| 139 | 139 | |
| 140 | - $hostedSpDefinition = (new Definition()) |
|
| 140 | + $hostedSpDefinition = (new Definition()) |
|
| 141 | 141 | ->setClass(\Surfnet\SamlBundle\Entity\ServiceProvider::class) |
| 142 | 142 | ->setFactory([new Reference('gssp.provider.' . $provider . '.hosted_entities'), 'getServiceProvider']) |
| 143 | 143 | ->setPublic(false); |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | */ |
| 191 | 191 | private function createRemoteDefinition($provider, array $configuration, ContainerBuilder $container): void |
| 192 | 192 | { |
| 193 | - $definition = new Definition(\Surfnet\SamlBundle\Entity\IdentityProvider::class, [ |
|
| 193 | + $definition = new Definition(\Surfnet\SamlBundle\Entity\IdentityProvider::class, [ |
|
| 194 | 194 | [ |
| 195 | 195 | 'entityId' => $configuration['entity_id'], |
| 196 | 196 | 'ssoUrl' => $configuration['sso_url'], |
@@ -160,7 +160,7 @@ |
||
| 160 | 160 | private function addAuthenticationStatementTo(Assertion $newAssertion, Assertion $assertion): void |
| 161 | 161 | { |
| 162 | 162 | $newAssertion->setAuthnInstant($assertion->getAuthnInstant()); |
| 163 | - $newAssertion->setAuthnContextClassRef((string)$this->intrinsicLoa); |
|
| 163 | + $newAssertion->setAuthnContextClassRef((string) $this->intrinsicLoa); |
|
| 164 | 164 | |
| 165 | 165 | $authority = $assertion->getAuthenticatingAuthority(); |
| 166 | 166 | $newAssertion->setAuthenticatingAuthority( |