We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -47,14 +47,14 @@ discard block |
||
47 | 47 | ->booleanNode('config_validation')->defaultValue($this->debug)->end() |
48 | 48 | ->arrayNode('schema') |
49 | 49 | ->beforeNormalization() |
50 | - ->ifTrue(function ($v) { |
|
50 | + ->ifTrue(function($v) { |
|
51 | 51 | $needNormalization = isset($v['query']) && is_string($v['query']) || |
52 | 52 | isset($v['mutation']) && is_string($v['mutation']) || |
53 | 53 | isset($v['subscription']) && is_string($v['subscription']); |
54 | 54 | |
55 | 55 | return $needNormalization; |
56 | 56 | }) |
57 | - ->then(function ($v) { |
|
57 | + ->then(function($v) { |
|
58 | 58 | return ['default' => $v]; |
59 | 59 | }) |
60 | 60 | ->end() |
@@ -174,12 +174,12 @@ discard block |
||
174 | 174 | $node |
175 | 175 | ->info('Disabled if equal to false.') |
176 | 176 | ->beforeNormalization() |
177 | - ->ifTrue(function ($v) { return false === $v; }) |
|
178 | - ->then(function () use ($disabledValue) { return $disabledValue; }) |
|
177 | + ->ifTrue(function($v) { return false === $v; }) |
|
178 | + ->then(function() use ($disabledValue) { return $disabledValue; }) |
|
179 | 179 | ->end() |
180 | 180 | ->defaultFalse() |
181 | 181 | ->validate() |
182 | - ->ifTrue(function ($v) { return $v < 0; }) |
|
182 | + ->ifTrue(function($v) { return $v < 0; }) |
|
183 | 183 | ->thenInvalid('"overblog_graphql.security.'.$name.'" must be greater or equal to 0.') |
184 | 184 | ->end() |
185 | 185 | ; |