Passed
Push — feature/symfony6-upgrade ( 7f0a22...3d445c )
by Paul
04:51
created
DependencyInjection/SurfnetStepupGatewaySamlStepupProviderExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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'],
Please login to merge, or discard this patch.
src/Surfnet/StepupGateway/GatewayBundle/Service/ProxyResponseService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.