@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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.') |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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.') |
@@ -1,6 +1,6 @@ |
||
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) |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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']) { |