Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Completed
Push — master ( 842647...ecb285 )
by Jérémiah
50s
created
Config/EnumTypeDefinition.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,10 +26,10 @@
 block discarded – undo
26 26
                 ->arrayNode('values')
27 27
                     ->useAttributeAsKey('name')
28 28
                     ->beforeNormalization()
29
-                        ->ifTrue(function ($v) {
29
+                        ->ifTrue(function($v) {
30 30
                             return is_array($v);
31 31
                         })
32
-                        ->then(function ($v) {
32
+                        ->then(function($v) {
33 33
                             foreach ($v as $name => &$options) {
34 34
                                 // short syntax NAME: VALUE
35 35
                                 if (!is_null($options) && !is_array($options)) {
Please login to merge, or discard this patch.
Config/ObjectTypeDefinition.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,10 +50,10 @@  discard block
 block discarded – undo
50 50
     private function treatFieldsDefaultAccess(ArrayNodeDefinition $node)
51 51
     {
52 52
         $node->validate()
53
-            ->ifTrue(function ($v) {
53
+            ->ifTrue(function($v) {
54 54
                 return array_key_exists('fieldsDefaultAccess', $v) && null !== $v['fieldsDefaultAccess'];
55 55
             })
56
-            ->then(function ($v) {
56
+            ->then(function($v) {
57 57
                 foreach ($v['fields'] as &$field) {
58 58
                     if (array_key_exists('access', $field) && null !== $field['access']) {
59 59
                         continue;
@@ -77,10 +77,10 @@  discard block
 block discarded – undo
77 77
     private function treatResolveField(ArrayNodeDefinition $node)
78 78
     {
79 79
         $node->validate()
80
-            ->ifTrue(function ($v) {
80
+            ->ifTrue(function($v) {
81 81
                 return array_key_exists('resolveField', $v) && null !== $v['resolveField'];
82 82
             })
83
-            ->then(function ($v) {
83
+            ->then(function($v) {
84 84
                 $resolveField = $v['resolveField'];
85 85
                 unset($v['resolveField']);
86 86
                 foreach ($v['fields'] as &$field) {
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -162,6 +162,9 @@  discard block
 block discarded – undo
162 162
         return $treeBuilder;
163 163
     }
164 164
 
165
+    /**
166
+     * @param string $name
167
+     */
165 168
     private function addBuilderSection($name)
166 169
     {
167 170
         $builder = new TreeBuilder();
@@ -195,6 +198,9 @@  discard block
 block discarded – undo
195 198
         return $node;
196 199
     }
197 200
 
201
+    /**
202
+     * @param string $name
203
+     */
198 204
     private function addSecurityQuerySection($name, $disabledValue)
199 205
     {
200 206
         $builder = new TreeBuilder();
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -49,14 +49,14 @@  discard block
 block discarded – undo
49 49
                         ->booleanNode('config_validation')->defaultValue($this->debug)->end()
50 50
                         ->arrayNode('schema')
51 51
                             ->beforeNormalization()
52
-                                ->ifTrue(function ($v) {
52
+                                ->ifTrue(function($v) {
53 53
                                     $needNormalization = isset($v['query']) && is_string($v['query']) ||
54 54
                                         isset($v['mutation']) && is_string($v['mutation']) ||
55 55
                                         isset($v['subscription']) && is_string($v['subscription']);
56 56
 
57 57
                                     return $needNormalization;
58 58
                                 })
59
-                                ->then(function ($v) {
59
+                                ->then(function($v) {
60 60
                                     return ['default' => $v];
61 61
                                 })
62 62
                             ->end()
@@ -167,10 +167,10 @@  discard block
 block discarded – undo
167 167
         $builder = new TreeBuilder();
168 168
         $node = $builder->root($name);
169 169
         $node->beforeNormalization()
170
-            ->ifTrue(function ($v) {
170
+            ->ifTrue(function($v) {
171 171
                 return is_array($v) && !empty($v);
172 172
             })
173
-            ->then(function ($v) {
173
+            ->then(function($v) {
174 174
                 foreach ($v as $key => &$config) {
175 175
                     if (is_string($config)) {
176 176
                         $config = [
@@ -203,16 +203,16 @@  discard block
 block discarded – undo
203 203
         $node
204 204
             ->info('Disabled if equal to false.')
205 205
             ->beforeNormalization()
206
-                ->ifTrue(function ($v) {
206
+                ->ifTrue(function($v) {
207 207
                     return false === $v;
208 208
                 })
209
-                ->then(function () use ($disabledValue) {
209
+                ->then(function() use ($disabledValue) {
210 210
                     return $disabledValue;
211 211
                 })
212 212
             ->end()
213 213
             ->defaultFalse()
214 214
             ->validate()
215
-                ->ifTrue(function ($v) {
215
+                ->ifTrue(function($v) {
216 216
                     return $v < 0;
217 217
                 })
218 218
                 ->thenInvalid('"overblog_graphql.security.'.$name.'" must be greater or equal to 0.')
Please login to merge, or discard this patch.