@@ -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 @@ |
||
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 @@ |
||
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) |
@@ -75,17 +75,17 @@ discard block |
||
75 | 75 | ->children() |
76 | 76 | ->arrayNode('session_management') |
77 | 77 | ->validate() |
78 | - ->ifTrue(function ($value) { |
|
78 | + ->ifTrue(function($value) { |
|
79 | 79 | return $value['enabled'] && empty($value['path']); |
80 | 80 | })->thenInvalid('The option "path" must be set when the Session Management is enabled.') |
81 | 81 | ->end() |
82 | 82 | ->validate() |
83 | - ->ifTrue(function ($value) { |
|
83 | + ->ifTrue(function($value) { |
|
84 | 84 | return $value['enabled'] && empty($value['storage_name']); |
85 | 85 | })->thenInvalid('The option "storage_name" must be set when the Session Management is enabled.') |
86 | 86 | ->end() |
87 | 87 | ->validate() |
88 | - ->ifTrue(function ($value) { |
|
88 | + ->ifTrue(function($value) { |
|
89 | 89 | return $value['enabled'] && empty($value['template']); |
90 | 90 | })->thenInvalid('The option "template" must be set when the Session Management is enabled.') |
91 | 91 | ->end() |
@@ -316,10 +316,10 @@ discard block |
||
316 | 316 | 'oauth2_server.openid_connect.userinfo_endpoint.signature.enabled' => ['type' => 'parameter', 'path' => '[userinfo_endpoint][signature][enabled]'], |
317 | 317 | 'oauth2_server.openid_connect.metadata.enabled' => ['type' => 'parameter', 'path' => '[metadata][enabled]'], |
318 | 318 | 'oauth2_server.openid_connect.id_token.response_type.id_token' => ['type' => 'parameter', 'path' => '[response_type][id_token]'], |
319 | - 'oauth2_server.openid_connect.claims_supported' => ['type' => 'parameter', 'path' => '[claims_supported]', 'callback' => function ($data) { |
|
319 | + 'oauth2_server.openid_connect.claims_supported' => ['type' => 'parameter', 'path' => '[claims_supported]', 'callback' => function($data) { |
|
320 | 320 | return array_unique($data); |
321 | 321 | }], |
322 | - 'oauth2_server.openid_connect.claims_locales_supported' => ['type' => 'parameter', 'path' => '[claims_locales_supported]', 'callback' => function ($data) { |
|
322 | + 'oauth2_server.openid_connect.claims_locales_supported' => ['type' => 'parameter', 'path' => '[claims_locales_supported]', 'callback' => function($data) { |
|
323 | 323 | return array_unique($data); |
324 | 324 | }], |
325 | 325 | ]; |
@@ -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) |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | |
48 | 48 | $parameters = [ |
49 | 49 | 'oauth2_server.scope_manager.scope_policy' => ['type' => 'parameter', 'path' => '[policy]'], |
50 | - 'oauth2_server.scope.available_scope' => ['type' => 'parameter', 'path' => '[available_scope]', 'callback' => function ($value) { |
|
50 | + 'oauth2_server.scope.available_scope' => ['type' => 'parameter', 'path' => '[available_scope]', 'callback' => function($value) { |
|
51 | 51 | return array_unique($value); |
52 | 52 | }], |
53 | 53 | ]; |
@@ -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['repository']); |
49 | 49 | }) |
50 | 50 | ->thenInvalid('The option "repository" 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 @@ |
||
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) |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | parent::continueConfiguration($node); |
80 | 80 | $node |
81 | 81 | ->validate() |
82 | - ->ifTrue(function ($config) { |
|
82 | + ->ifTrue(function($config) { |
|
83 | 83 | return true === $config['enabled'] && empty($config['by_default']); |
84 | 84 | }) |
85 | 85 | ->thenInvalid('The option "repository" must be set.') |