@@ -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.') |
@@ -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 @@ |
||
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) |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | /** |
72 | 72 | * @return ScopePolicyInterface|null |
73 | 73 | */ |
74 | - public function default(): ?ScopePolicyInterface |
|
74 | + public function default(): ? ScopePolicyInterface |
|
75 | 75 | { |
76 | 76 | if (null === $this->defaultScopePolicy) { |
77 | 77 | return null; |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * |
105 | 105 | * @return ScopePolicyInterface|null |
106 | 106 | */ |
107 | - private function getForClient(Client $client): ?ScopePolicyInterface |
|
107 | + private function getForClient(Client $client): ? ScopePolicyInterface |
|
108 | 108 | { |
109 | 109 | if ($client->has('scope_policy') && $this->has($client->get('scope_policy'))) { |
110 | 110 | $policyName = $client->get('scope_policy'); |
@@ -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) |