We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -165,7 +165,7 @@ |
||
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 | ]; |
@@ -72,7 +72,7 @@ |
||
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()) |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | $rootTypes = [$schema->getQueryType(), $schema->getMutationType(), $schema->getSubscriptionType()]; |
60 | 60 | |
61 | 61 | return [ |
62 | - Node::FIELD => function (Field $node) use ($context, $rootTypes) { |
|
62 | + Node::FIELD => function(Field $node) use ($context, $rootTypes) { |
|
63 | 63 | $parentType = $context->getParentType(); |
64 | 64 | $type = $this->retrieveCurrentTypeFromValidationContext($context); |
65 | 65 | $isIntrospectionType = $type && $type->name === '__Schema'; |
@@ -73,8 +73,7 @@ discard block |
||
73 | 73 | static::$maxQueryDepth + static::DEFAULT_MAX_COUNT_AFTER_DEPTH_LIMIT, |
74 | 74 | 0, |
75 | 75 | true |
76 | - ) : |
|
77 | - 0 |
|
76 | + ) : 0 |
|
78 | 77 | ; |
79 | 78 | |
80 | 79 | if ($depth > static::$maxQueryDepth) { |