Failed Conditions
Push — master ( 9635a1...82855d )
by Florent
14:04
created
src/Bundle/Server/DependencyInjection/Source/Grant/ImplicitSource.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)
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     protected function continueLoading(string $path, ContainerBuilder $container, array $config)
27 27
     {
28
-        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__ . '/../../../Resources/config/grant'));
28
+        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config/grant'));
29 29
         $loader->load('implicit.php');
30 30
     }
31 31
 
Please login to merge, or discard this patch.
Server/DependencyInjection/Source/Grant/IdTokenUserinfoPairwiseSource.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)
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         parent::continueConfiguration($node);
45 45
         $node
46 46
             ->validate()
47
-                ->ifTrue(function ($config) {
47
+                ->ifTrue(function($config) {
48 48
                     return true === $config['enabled'] && empty($config['service']);
49 49
                 })
50 50
                 ->thenInvalid('The pairwise subject service must be set.')
Please login to merge, or discard this patch.
src/Bundle/Server/DependencyInjection/Source/Grant/GrantSource.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)
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             $source->load($path, $container, $config);
64 64
         }
65 65
 
66
-        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__ . '/../../../Resources/config/grant'));
66
+        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config/grant'));
67 67
         $loader->load('grant.php');
68 68
     }
69 69
 
Please login to merge, or discard this patch.
src/Bundle/Server/DependencyInjection/Source/Grant/IdTokenSource.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)
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             $source->prepend($bundleConfig, $path.'['.$this->name().']', $container);
50 50
         }
51 51
         $currentPath = $path.'['.$this->name().']';
52
-        $accessor =  PropertyAccess::createPropertyAccessor();
52
+        $accessor = PropertyAccess::createPropertyAccessor();
53 53
         $sourceConfig = $accessor->getValue($bundleConfig, $currentPath);
54 54
 
55 55
         if (true === $sourceConfig['enabled']) {
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         foreach ($this->subSources as $source) {
72 72
             $source->load($path, $container, $config);
73 73
         }
74
-        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__ . '/../../../Resources/config/grant'));
74
+        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config/grant'));
75 75
         $loader->load('id_token.php');
76 76
         $loader->load('userinfo_scope_support.php');
77 77
     }
@@ -89,13 +89,13 @@  discard block
 block discarded – undo
89 89
         parent::continueConfiguration($node);
90 90
         $node
91 91
             ->validate()
92
-                ->ifTrue(function ($config) {
92
+                ->ifTrue(function($config) {
93 93
                     return true === $config['enabled'] && empty($config['signature_algorithms']);
94 94
                 })
95 95
                 ->thenInvalid('The option "signature_algorithm" must contain at least one signature algorithm.')
96 96
             ->end()
97 97
             ->validate()
98
-                ->ifTrue(function ($config) {
98
+                ->ifTrue(function($config) {
99 99
                     return true === $config['enabled'] && empty($config['key_set']);
100 100
                 })
101 101
                 ->thenInvalid('The option "key_set" must be set.')
Please login to merge, or discard this patch.
Server/DependencyInjection/Source/Grant/JwtBearerEncryptionSource.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/Grant/NoneSource.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)
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     protected function continueLoading(string $path, ContainerBuilder $container, array $config)
27 27
     {
28
-        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__ . '/../../../Resources/config/grant'));
28
+        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config/grant'));
29 29
         $loader->load('none.php');
30 30
     }
31 31
 
Please login to merge, or discard this patch.
Bundle/Server/DependencyInjection/Source/Grant/ClientCredentialsSource.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)
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     {
29 29
         $container->setParameter($path.'.issue_refresh_token', $config['issue_refresh_token']);
30 30
 
31
-        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__ . '/../../../Resources/config/grant'));
31
+        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config/grant'));
32 32
         $loader->load('client_credentials.php');
33 33
     }
34 34
 
Please login to merge, or discard this patch.
DependencyInjection/Source/Grant/ResourceOwnerPasswordCredentialSource.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)
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
             $container->setParameter($path.'.'.$k, $v);
31 31
         }
32 32
 
33
-        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__ . '/../../../Resources/config/grant'));
33
+        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config/grant'));
34 34
         $loader->load('resource_owner_password_credential.php');
35 35
     }
36 36
 
Please login to merge, or discard this patch.
Bundle/Server/DependencyInjection/Source/Grant/IdTokenEncryptionSource.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)
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     public function prepend(array $bundleConfig, string $path, ContainerBuilder $container)
39 39
     {
40 40
         $currentPath = $path.'['.$this->name().']';
41
-        $accessor =  PropertyAccess::createPropertyAccessor();
41
+        $accessor = PropertyAccess::createPropertyAccessor();
42 42
         $sourceConfig = $accessor->getValue($bundleConfig, $currentPath);
43 43
 
44 44
         if (true === $sourceConfig['enabled']) {
Please login to merge, or discard this patch.