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
Tests/Functional/Controller/GraphControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
         $client->request('POST', '/?batch', [], [], ['CONTENT_TYPE' => 'application/json'], json_encode($data));
166 166
         $result = $client->getResponse()->getContent();
167 167
 
168
-        $expected  = [
168
+        $expected = [
169 169
             'friends' => ['data' => $this->expectedData],
170 170
             'friendsTotalCount' => ['data' => ['user' => ['friends' => ['totalCount' => 4]]]],
171 171
         ];
Please login to merge, or discard this patch.
Tests/Request/Validator/Rule/Schema.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
                 'fields' => [
73 73
                     'firstName' => ['type' => Type::nonNull(Type::string())],
74 74
                     'Dog' => [
75
-                        'type' => function () {
75
+                        'type' => function() {
76 76
                             return Type::nonNull(
77 77
                                 Type::listOf(
78 78
                                     Type::nonNull(self::buildDogType())
Please login to merge, or discard this patch.
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.