Failed Conditions
Push — master ( 9635a1...82855d )
by Florent
14:04
created
Bundle/Server/DependencyInjection/Source/Grant/AuthorizationCodeSource.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('authorization_code.php');
35 35
     }
36 36
 
Please login to merge, or discard this patch.
src/Bundle/Server/DependencyInjection/Source/Grant/JwtBearerSource.php 1 patch
Spacing   +4 added lines, -4 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)
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         foreach ($this->subSources as $source) {
52 52
             $source->load($path, $container, $config);
53 53
         }
54
-        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__ . '/../../../Resources/config/grant'));
54
+        $loader = new PhpConfigFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config/grant'));
55 55
         $loader->load('jwt_bearer.php');
56 56
     }
57 57
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         parent::continueConfiguration($node);
69 69
         $node
70 70
             ->validate()
71
-                ->ifTrue(function ($config) {
71
+                ->ifTrue(function($config) {
72 72
                     return true === $config['enabled'] && empty($config['signature_algorithms']);
73 73
                 })
74 74
                 ->thenInvalid('The option "signature_algorithms" must contain at least one signature algorithm.')
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     public function prepend(array $bundleConfig, string $path, ContainerBuilder $container)
108 108
     {
109 109
         $currentPath = $path.'['.$this->name().']';
110
-        $accessor =  PropertyAccess::createPropertyAccessor();
110
+        $accessor = PropertyAccess::createPropertyAccessor();
111 111
         $sourceConfig = $accessor->getValue($bundleConfig, $currentPath);
112 112
 
113 113
         if (true === $sourceConfig['enabled']) {
Please login to merge, or discard this patch.
ClientAssertionJwtTokenEndpointAuthMethodEncryptionSupportSource.php 1 patch
Spacing   +4 added lines, -4 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)
@@ -46,19 +46,19 @@  discard block
 block discarded – undo
46 46
         parent::continueConfiguration($node);
47 47
         $node
48 48
             ->validate()
49
-                ->ifTrue(function ($config) {
49
+                ->ifTrue(function($config) {
50 50
                     return true === $config['enabled'] && empty($config['key_encryption_algorithms']);
51 51
                 })
52 52
                 ->thenInvalid('At least one key encryption algorithm must be set.')
53 53
             ->end()
54 54
             ->validate()
55
-                ->ifTrue(function ($config) {
55
+                ->ifTrue(function($config) {
56 56
                     return true === $config['enabled'] && empty($config['content_encryption_algorithms']);
57 57
                 })
58 58
                 ->thenInvalid('At least one content encryption algorithm must be set.')
59 59
             ->end()
60 60
             ->validate()
61
-                ->ifTrue(function ($config) {
61
+                ->ifTrue(function($config) {
62 62
                     return true === $config['enabled'] && empty($config['key_set']);
63 63
                 })
64 64
                 ->thenInvalid('The KeySet must be set.')
Please login to merge, or discard this patch.
TokenEndpointAuthMethod/ClientSecretBasicTokenEndpointAuthMethodSource.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)
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         parent::continueConfiguration($node);
49 49
         $node
50 50
             ->validate()
51
-                ->ifTrue(function ($config) {
51
+                ->ifTrue(function($config) {
52 52
                     return true === $config['enabled'] && empty($config['realm']);
53 53
                 })
54 54
                 ->thenInvalid('The option "realm" must be set.')
Please login to merge, or discard this patch.
Source/TokenEndpointAuthMethod/TokenEndpointAuthMethodSource.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.
TokenEndpointAuthMethod/ClientSecretPostTokenEndpointAuthMethodSource.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.
TokenEndpointAuthMethod/ClientAssertionJwtTokenEndpointAuthMethodSource.php 1 patch
Spacing   +3 added lines, -3 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)
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         parent::continueConfiguration($node);
67 67
         $node
68 68
             ->validate()
69
-                ->ifTrue(function ($config) {
69
+                ->ifTrue(function($config) {
70 70
                     return true === $config['enabled'] && empty($config['signature_algorithms']);
71 71
                 })
72 72
                 ->thenInvalid('At least one signature algorithm must be set.')
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     public function prepend(array $bundleConfig, string $path, ContainerBuilder $container)
101 101
     {
102 102
         $currentPath = $path.'['.$this->name().']';
103
-        $accessor =  PropertyAccess::createPropertyAccessor();
103
+        $accessor = PropertyAccess::createPropertyAccessor();
104 104
         $sourceConfig = $accessor->getValue($bundleConfig, $currentPath);
105 105
 
106 106
         if (true === $sourceConfig['enabled']) {
Please login to merge, or discard this patch.
Source/TokenEndpointAuthMethod/NoneTokenEndpointAuthMethodSource.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/Security/Factory/OAuth2Factory.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.