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
Pull Request — master (#21)
by Jérémiah
09:05
created
Request/Validator/Rule/MaxQueryDepth.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 
66 66
     private function getFieldClosure(ValidationContext $context, array $rootTypes)
67 67
     {
68
-        return function (Field $node) use ($context, $rootTypes) {
68
+        return function(Field $node) use ($context, $rootTypes) {
69 69
             $parentType = $context->getParentType();
70 70
             $type = $this->retrieveCurrentTypeFromValidationContext($context);
71 71
             $isIntrospectionType = $type && $type->name === '__Schema';
@@ -79,8 +79,7 @@  discard block
 block discarded – undo
79 79
                         self::$maxQueryDepth + static::DEFAULT_MAX_COUNT_AFTER_DEPTH_LIMIT,
80 80
                         0,
81 81
                         true
82
-                    ) :
83
-                    0
82
+                    ) : 0
84 83
                 ;
85 84
 
86 85
                 if ($depth > self::$maxQueryDepth) {
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -95,12 +95,12 @@
 block discarded – undo
95 95
                             ->integerNode('query_max_depth')
96 96
                                 ->info('Limit query depth. Disabled if equal to false or 0.')
97 97
                                 ->beforeNormalization()
98
-                                    ->ifTrue(function ($v) { return false === $v; })
99
-                                    ->then(function () { return 0; })
98
+                                    ->ifTrue(function($v) { return false === $v; })
99
+                                    ->then(function() { return 0; })
100 100
                                 ->end()
101 101
                                 ->defaultFalse()
102 102
                                 ->validate()
103
-                                    ->ifTrue(function ($v) { return $v < 0; })
103
+                                    ->ifTrue(function($v) { return $v < 0; })
104 104
                                     ->thenInvalid('Node "overblog_graphql.security.query_max_depth" must be greater or equal to 0.')
105 105
                                 ->end()
106 106
                             ->end()
Please login to merge, or discard this patch.