Failed Conditions
Push — master ( 9635a1...82855d )
by Florent
14:04
created
src/Component/Server/TokenEndpointAuthMethod/ClientSecretBasic.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     /**
59 59
      * {@inheritdoc}
60 60
      */
61
-    public function findClientId(ServerRequestInterface $request, &$client_credentials = null): ?ClientId
61
+    public function findClientId(ServerRequestInterface $request, &$client_credentials = null): ? ClientId
62 62
     {
63 63
         $server_params = $request->getServerParams();
64 64
         if (array_key_exists('PHP_AUTH_USER', $server_params) && array_key_exists('PHP_AUTH_PW', $server_params)) {
Please login to merge, or discard this patch.
src/Component/Server/TokenEndpointAuthMethod/None.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * {@inheritdoc}
33 33
      */
34
-    public function findClientId(ServerRequestInterface $request, &$clientCredentials = null): ?ClientId
34
+    public function findClientId(ServerRequestInterface $request, &$clientCredentials = null): ? ClientId
35 35
     {
36 36
         $parameters = $request->getParsedBody() ?? [];
37 37
         if (array_key_exists('client_id', $parameters) && !array_key_exists('client_secret', $parameters)) {
Please login to merge, or discard this patch.
src/Bundle/Server/DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.
Source/Endpoint/AuthorizationEndpointIdTokenHintSource.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      */
27 27
     protected function continueLoading(string $path, ContainerBuilder $container, array $config)
28 28
     {
29
-        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__ . '/../../../Resources/config/endpoint'));
29
+        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config/endpoint'));
30 30
         $loader->load('id_token_hint.php');
31 31
     }
32 32
 
Please login to merge, or discard this patch.
Source/Endpoint/ClientRegistrationSoftwareStatementSource.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         }
34 34
         $container->setAlias($path.'.key_set', $config['key_set']);
35 35
 
36
-        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__ . '/../../../Resources/config/endpoint'));
36
+        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config/endpoint'));
37 37
         $loader->load('client_registration_software_statement.php');
38 38
     }
39 39
 
@@ -53,13 +53,13 @@  discard block
 block discarded – undo
53 53
         parent::continueConfiguration($node);
54 54
         $node
55 55
             ->validate()
56
-                ->ifTrue(function ($config) {
56
+                ->ifTrue(function($config) {
57 57
                     return true === $config['enabled'] && empty($config['key_set']);
58 58
                 })
59 59
                 ->thenInvalid('The option "key_set" must be set.')
60 60
             ->end()
61 61
             ->validate()
62
-            ->ifTrue(function ($config) {
62
+            ->ifTrue(function($config) {
63 63
                 return true === $config['enabled'] && empty($config['allowed_signature_algorithms']);
64 64
             })
65 65
             ->thenInvalid('At least one signature algorithm must be set.')
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     public function prepend(array $bundleConfig, string $path, ContainerBuilder $container)
83 83
     {
84 84
         $currentPath = $path.'['.$this->name().']';
85
-        $accessor =  PropertyAccess::createPropertyAccessor();
85
+        $accessor = PropertyAccess::createPropertyAccessor();
86 86
         $sourceConfig = $accessor->getValue($bundleConfig, $currentPath);
87 87
 
88 88
         if (true === $sourceConfig['enabled']) {
Please login to merge, or discard this patch.
Server/DependencyInjection/Source/Endpoint/ClientRegistrationSource.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
             $container->setParameter($path.'.'.$k, $v);
58 58
         }
59 59
 
60
-        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__ . '/../../../Resources/config/endpoint'));
60
+        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config/endpoint'));
61 61
         $loader->load('client_registration.php');
62 62
 
63 63
         foreach ($this->subSections as $source) {
Please login to merge, or discard this patch.
src/Bundle/Server/DependencyInjection/Source/Endpoint/UserinfoSource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.
src/Bundle/Server/DependencyInjection/Source/Endpoint/EndpointSource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.
Bundle/Server/DependencyInjection/Source/Endpoint/TokenEndpointSource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.