@@ -2,118 +2,118 @@ |
||
2 | 2 | |
3 | 3 | $ignoreErrors = []; |
4 | 4 | $ignoreErrors[] = [ |
5 | - 'message' => '#^Parameter \\#1 \\$reference of class Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\ArgNode constructor expects Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference, Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\ArraySerializable given\\.$#', |
|
6 | - 'identifier' => 'argument.type', |
|
7 | - 'count' => 1, |
|
8 | - 'path' => __DIR__ . '/src/Node/Child/ArgNode.php', |
|
5 | + 'message' => '#^Parameter \\#1 \\$reference of class Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\ArgNode constructor expects Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference, Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\ArraySerializable given\\.$#', |
|
6 | + 'identifier' => 'argument.type', |
|
7 | + 'count' => 1, |
|
8 | + 'path' => __DIR__ . '/src/Node/Child/ArgNode.php', |
|
9 | 9 | ]; |
10 | 10 | $ignoreErrors[] = [ |
11 | - 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\FieldNode\\:\\:toArray\\(\\) should return array\\{reference\\: array\\{type\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference\\>, payload\\: array\\<string, mixed\\>\\}, name\\: string, description\\: string\\|null, argumentNodes\\: list\\<array\\{node\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\ArgumentNode\\>, payload\\: array\\{reference\\: array\\{type\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference\\>, payload\\: array\\<string, mixed\\>\\}, name\\: string, description\\: string\\|null, propertyName\\: string\\}\\|array\\{service\\?\\: string, propertyName\\: string\\}\\}\\>, fieldType\\: string, methodName\\: string\\|null, propertyName\\: string\\|null, deprecationReason\\: string\\|null\\} but returns array\\{reference\\: array\\{type\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference\\>&literal\\-string, payload\\: array\\<string, mixed\\>\\}, name\\: string, description\\: string\\|null, argumentNodes\\: list\\<array\\{node\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\ArgumentNode\\>&literal\\-string, payload\\: array\\<string, mixed\\>\\}\\>, fieldType\\: \'method\'\\|\'property\', methodName\\: string\\|null, propertyName\\: string\\|null, deprecationReason\\: string\\|null\\}\\.$#', |
|
12 | - 'identifier' => 'return.type', |
|
13 | - 'count' => 1, |
|
14 | - 'path' => __DIR__ . '/src/Node/Child/FieldNode.php', |
|
11 | + 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\FieldNode\\:\\:toArray\\(\\) should return array\\{reference\\: array\\{type\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference\\>, payload\\: array\\<string, mixed\\>\\}, name\\: string, description\\: string\\|null, argumentNodes\\: list\\<array\\{node\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\ArgumentNode\\>, payload\\: array\\{reference\\: array\\{type\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference\\>, payload\\: array\\<string, mixed\\>\\}, name\\: string, description\\: string\\|null, propertyName\\: string\\}\\|array\\{service\\?\\: string, propertyName\\: string\\}\\}\\>, fieldType\\: string, methodName\\: string\\|null, propertyName\\: string\\|null, deprecationReason\\: string\\|null\\} but returns array\\{reference\\: array\\{type\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference\\>&literal\\-string, payload\\: array\\<string, mixed\\>\\}, name\\: string, description\\: string\\|null, argumentNodes\\: list\\<array\\{node\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\ArgumentNode\\>&literal\\-string, payload\\: array\\<string, mixed\\>\\}\\>, fieldType\\: \'method\'\\|\'property\', methodName\\: string\\|null, propertyName\\: string\\|null, deprecationReason\\: string\\|null\\}\\.$#', |
|
12 | + 'identifier' => 'return.type', |
|
13 | + 'count' => 1, |
|
14 | + 'path' => __DIR__ . '/src/Node/Child/FieldNode.php', |
|
15 | 15 | ]; |
16 | 16 | $ignoreErrors[] = [ |
17 | - 'message' => '#^Parameter \\#1 \\$reference of class Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\FieldNode constructor expects Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference, Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\ArraySerializable given\\.$#', |
|
18 | - 'identifier' => 'argument.type', |
|
19 | - 'count' => 1, |
|
20 | - 'path' => __DIR__ . '/src/Node/Child/FieldNode.php', |
|
17 | + 'message' => '#^Parameter \\#1 \\$reference of class Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\FieldNode constructor expects Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference, Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\ArraySerializable given\\.$#', |
|
18 | + 'identifier' => 'argument.type', |
|
19 | + 'count' => 1, |
|
20 | + 'path' => __DIR__ . '/src/Node/Child/FieldNode.php', |
|
21 | 21 | ]; |
22 | 22 | $ignoreErrors[] = [ |
23 | - 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\MutationNode\\:\\:toArray\\(\\) should return array\\{className\\: class\\-string, name\\: string, description\\: string\\|null, argumentNodes\\: list\\<array\\{node\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\ArgumentNode\\>, payload\\: array\\{propertyName\\: string\\}\\|array\\{reference\\: array\\{type\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference\\>, payload\\: array\\<string, mixed\\>\\}, name\\: string, description\\: string\\|null, propertyName\\: string\\}\\}\\>, outputReference\\: array\\{type\\: class\\-string, payload\\: array\\<string, mixed\\>\\}, methodName\\: string, deprecationReason\\: string\\|null\\} but returns array\\{className\\: class\\-string, name\\: string, description\\: string\\|null, argumentNodes\\: list\\<array\\{node\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\ArgumentNode\\>&literal\\-string, payload\\: array\\<string, mixed\\>\\}\\>, outputReference\\: array\\{type\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference\\>&literal\\-string, payload\\: array\\<string, mixed\\>\\}, methodName\\: string, deprecationReason\\: string\\|null\\}\\.$#', |
|
24 | - 'identifier' => 'return.type', |
|
25 | - 'count' => 1, |
|
26 | - 'path' => __DIR__ . '/src/Node/MutationNode.php', |
|
23 | + 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\MutationNode\\:\\:toArray\\(\\) should return array\\{className\\: class\\-string, name\\: string, description\\: string\\|null, argumentNodes\\: list\\<array\\{node\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\ArgumentNode\\>, payload\\: array\\{propertyName\\: string\\}\\|array\\{reference\\: array\\{type\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference\\>, payload\\: array\\<string, mixed\\>\\}, name\\: string, description\\: string\\|null, propertyName\\: string\\}\\}\\>, outputReference\\: array\\{type\\: class\\-string, payload\\: array\\<string, mixed\\>\\}, methodName\\: string, deprecationReason\\: string\\|null\\} but returns array\\{className\\: class\\-string, name\\: string, description\\: string\\|null, argumentNodes\\: list\\<array\\{node\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\ArgumentNode\\>&literal\\-string, payload\\: array\\<string, mixed\\>\\}\\>, outputReference\\: array\\{type\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference\\>&literal\\-string, payload\\: array\\<string, mixed\\>\\}, methodName\\: string, deprecationReason\\: string\\|null\\}\\.$#', |
|
24 | + 'identifier' => 'return.type', |
|
25 | + 'count' => 1, |
|
26 | + 'path' => __DIR__ . '/src/Node/MutationNode.php', |
|
27 | 27 | ]; |
28 | 28 | $ignoreErrors[] = [ |
29 | - 'message' => '#^Parameter \\#5 \\$outputReference of class Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\MutationNode constructor expects Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference, Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\ArraySerializable given\\.$#', |
|
30 | - 'identifier' => 'argument.type', |
|
31 | - 'count' => 1, |
|
32 | - 'path' => __DIR__ . '/src/Node/MutationNode.php', |
|
29 | + 'message' => '#^Parameter \\#5 \\$outputReference of class Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\MutationNode constructor expects Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference, Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\ArraySerializable given\\.$#', |
|
30 | + 'identifier' => 'argument.type', |
|
31 | + 'count' => 1, |
|
32 | + 'path' => __DIR__ . '/src/Node/MutationNode.php', |
|
33 | 33 | ]; |
34 | 34 | $ignoreErrors[] = [ |
35 | - 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\QueryNode\\:\\:toArray\\(\\) should return array\\{className\\: class\\-string, name\\: string, description\\: string\\|null, argumentNodes\\: list\\<array\\{node\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\ArgumentNode\\>, payload\\: array\\{propertyName\\: string\\}\\|array\\{reference\\: array\\{type\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference\\>, payload\\: array\\<string, mixed\\>\\}, name\\: string, description\\: string\\|null, propertyName\\: string\\}\\}\\>, outputReference\\: array\\{type\\: class\\-string, payload\\: array\\<string, mixed\\>\\}, methodName\\: string, deprecationReason\\: string\\|null\\} but returns array\\{className\\: class\\-string, name\\: string, description\\: string\\|null, argumentNodes\\: list\\<array\\{node\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\ArgumentNode\\>&literal\\-string, payload\\: array\\<string, mixed\\>\\}\\>, outputReference\\: array\\{type\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference\\>&literal\\-string, payload\\: array\\<string, mixed\\>\\}, methodName\\: string, deprecationReason\\: string\\|null\\}\\.$#', |
|
36 | - 'identifier' => 'return.type', |
|
37 | - 'count' => 1, |
|
38 | - 'path' => __DIR__ . '/src/Node/QueryNode.php', |
|
35 | + 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\QueryNode\\:\\:toArray\\(\\) should return array\\{className\\: class\\-string, name\\: string, description\\: string\\|null, argumentNodes\\: list\\<array\\{node\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\ArgumentNode\\>, payload\\: array\\{propertyName\\: string\\}\\|array\\{reference\\: array\\{type\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference\\>, payload\\: array\\<string, mixed\\>\\}, name\\: string, description\\: string\\|null, propertyName\\: string\\}\\}\\>, outputReference\\: array\\{type\\: class\\-string, payload\\: array\\<string, mixed\\>\\}, methodName\\: string, deprecationReason\\: string\\|null\\} but returns array\\{className\\: class\\-string, name\\: string, description\\: string\\|null, argumentNodes\\: list\\<array\\{node\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\Child\\\\ArgumentNode\\>&literal\\-string, payload\\: array\\<string, mixed\\>\\}\\>, outputReference\\: array\\{type\\: class\\-string\\<Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference\\>&literal\\-string, payload\\: array\\<string, mixed\\>\\}, methodName\\: string, deprecationReason\\: string\\|null\\}\\.$#', |
|
36 | + 'identifier' => 'return.type', |
|
37 | + 'count' => 1, |
|
38 | + 'path' => __DIR__ . '/src/Node/QueryNode.php', |
|
39 | 39 | ]; |
40 | 40 | $ignoreErrors[] = [ |
41 | - 'message' => '#^Parameter \\#5 \\$outputReference of class Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\QueryNode constructor expects Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference, Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\ArraySerializable given\\.$#', |
|
42 | - 'identifier' => 'argument.type', |
|
43 | - 'count' => 1, |
|
44 | - 'path' => __DIR__ . '/src/Node/QueryNode.php', |
|
41 | + 'message' => '#^Parameter \\#5 \\$outputReference of class Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\QueryNode constructor expects Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\TypeReference\\\\TypeReference, Jerowork\\\\GraphqlAttributeSchema\\\\Node\\\\ArraySerializable given\\.$#', |
|
42 | + 'identifier' => 'argument.type', |
|
43 | + 'count' => 1, |
|
44 | + 'path' => __DIR__ . '/src/Node/QueryNode.php', |
|
45 | 45 | ]; |
46 | 46 | $ignoreErrors[] = [ |
47 | - 'message' => '#^Parameter \\#1 \\$config of class GraphQL\\\\Type\\\\Definition\\\\CustomScalarType constructor expects non\\-empty\\-array\\{name\\?\\: string\\|null, description\\?\\: string\\|null, serialize\\?\\: callable\\(mixed\\)\\: mixed, parseValue\\?\\: callable\\(mixed\\)\\: mixed, parseLiteral\\?\\: callable\\(GraphQL\\\\Language\\\\AST\\\\Node&GraphQL\\\\Language\\\\AST\\\\ValueNode, array\\<string, mixed\\>\\|null\\)\\: mixed, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\ScalarTypeDefinitionNode\\|null, extensionASTNodes\\?\\: array\\<GraphQL\\\\Language\\\\AST\\\\ScalarTypeExtensionNode\\>\\|null\\}, array\\{name\\: string, serialize\\: Closure\\(mixed\\)\\: string, parseValue\\: Closure\\(string\\)\\: mixed, parseLiteral\\: Closure\\(GraphQL\\\\Language\\\\AST\\\\StringValueNode\\)\\: mixed, description\\: string\\|null\\} given\\.$#', |
|
48 | - 'identifier' => 'argument.type', |
|
49 | - 'count' => 1, |
|
50 | - 'path' => __DIR__ . '/src/Resolver/Type/CustomScalarTypeResolver.php', |
|
47 | + 'message' => '#^Parameter \\#1 \\$config of class GraphQL\\\\Type\\\\Definition\\\\CustomScalarType constructor expects non\\-empty\\-array\\{name\\?\\: string\\|null, description\\?\\: string\\|null, serialize\\?\\: callable\\(mixed\\)\\: mixed, parseValue\\?\\: callable\\(mixed\\)\\: mixed, parseLiteral\\?\\: callable\\(GraphQL\\\\Language\\\\AST\\\\Node&GraphQL\\\\Language\\\\AST\\\\ValueNode, array\\<string, mixed\\>\\|null\\)\\: mixed, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\ScalarTypeDefinitionNode\\|null, extensionASTNodes\\?\\: array\\<GraphQL\\\\Language\\\\AST\\\\ScalarTypeExtensionNode\\>\\|null\\}, array\\{name\\: string, serialize\\: Closure\\(mixed\\)\\: string, parseValue\\: Closure\\(string\\)\\: mixed, parseLiteral\\: Closure\\(GraphQL\\\\Language\\\\AST\\\\StringValueNode\\)\\: mixed, description\\: string\\|null\\} given\\.$#', |
|
48 | + 'identifier' => 'argument.type', |
|
49 | + 'count' => 1, |
|
50 | + 'path' => __DIR__ . '/src/Resolver/Type/CustomScalarTypeResolver.php', |
|
51 | 51 | ]; |
52 | 52 | $ignoreErrors[] = [ |
53 | - 'message' => '#^Parameter \\#1 \\$config of class GraphQL\\\\Type\\\\Definition\\\\InputObjectType constructor expects array\\{name\\?\\: string\\|null, description\\?\\: string\\|null, fields\\: \\(callable\\(\\)\\: iterable\\<array\\{name\\?\\: string, type\\: callable\\(\\)\\: \\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\)\\|\\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\), defaultValue\\?\\: mixed, description\\?\\: string\\|null, deprecationReason\\?\\: string\\|null, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\InputValueDefinitionNode\\|null\\}\\|callable\\(\\)\\: \\(array\\{name\\?\\: string, type\\: callable\\(\\)\\: \\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\)\\|\\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\), defaultValue\\?\\: mixed, description\\?\\: string\\|null, deprecationReason\\?\\: string\\|null, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\InputValueDefinitionNode\\|null\\}\\|GraphQL\\\\Type\\\\Definition\\\\InputObjectField\\|\\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\)\\)\\|GraphQL\\\\Type\\\\Definition\\\\InputObjectField\\|\\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\)\\>\\)\\|iterable\\<array\\{name\\?\\: string, type\\: \\(callable\\(\\)\\: \\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\)\\)\\|\\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\), defaultValue\\?\\: mixed, description\\?\\: string\\|null, deprecationReason\\?\\: string\\|null, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\InputValueDefinitionNode\\|null\\}\\|\\(callable\\(\\)\\: \\(array\\{name\\?\\: string, type\\: callable\\(\\)\\: \\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\)\\|\\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\), defaultValue\\?\\: mixed, description\\?\\: string\\|null, deprecationReason\\?\\: string\\|null, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\InputValueDefinitionNode\\|null\\}\\|GraphQL\\\\Type\\\\Definition\\\\InputObjectField\\|\\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\)\\)\\)\\|GraphQL\\\\Type\\\\Definition\\\\InputObjectField\\|\\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\)\\>, parseValue\\?\\: callable\\(array\\<string, mixed\\>\\)\\: mixed, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\InputObjectTypeDefinitionNode\\|null, extensionASTNodes\\?\\: array\\<GraphQL\\\\Language\\\\AST\\\\InputObjectTypeExtensionNode\\>\\|null\\}, array\\{name\\: string, description\\: string\\|null, fields\\: list\\<array\\{name\\: string, description\\: string\\|null, type\\: GraphQL\\\\Type\\\\Definition\\\\Type, args\\: list\\<array\\{name\\: string, description\\: string\\|null, type\\: GraphQL\\\\Type\\\\Definition\\\\Type\\}\\>\\}\\>\\} given\\.$#', |
|
54 | - 'identifier' => 'argument.type', |
|
55 | - 'count' => 1, |
|
56 | - 'path' => __DIR__ . '/src/Resolver/Type/InputObjectTypeResolver.php', |
|
53 | + 'message' => '#^Parameter \\#1 \\$config of class GraphQL\\\\Type\\\\Definition\\\\InputObjectType constructor expects array\\{name\\?\\: string\\|null, description\\?\\: string\\|null, fields\\: \\(callable\\(\\)\\: iterable\\<array\\{name\\?\\: string, type\\: callable\\(\\)\\: \\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\)\\|\\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\), defaultValue\\?\\: mixed, description\\?\\: string\\|null, deprecationReason\\?\\: string\\|null, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\InputValueDefinitionNode\\|null\\}\\|callable\\(\\)\\: \\(array\\{name\\?\\: string, type\\: callable\\(\\)\\: \\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\)\\|\\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\), defaultValue\\?\\: mixed, description\\?\\: string\\|null, deprecationReason\\?\\: string\\|null, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\InputValueDefinitionNode\\|null\\}\\|GraphQL\\\\Type\\\\Definition\\\\InputObjectField\\|\\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\)\\)\\|GraphQL\\\\Type\\\\Definition\\\\InputObjectField\\|\\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\)\\>\\)\\|iterable\\<array\\{name\\?\\: string, type\\: \\(callable\\(\\)\\: \\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\)\\)\\|\\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\), defaultValue\\?\\: mixed, description\\?\\: string\\|null, deprecationReason\\?\\: string\\|null, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\InputValueDefinitionNode\\|null\\}\\|\\(callable\\(\\)\\: \\(array\\{name\\?\\: string, type\\: callable\\(\\)\\: \\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\)\\|\\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\), defaultValue\\?\\: mixed, description\\?\\: string\\|null, deprecationReason\\?\\: string\\|null, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\InputValueDefinitionNode\\|null\\}\\|GraphQL\\\\Type\\\\Definition\\\\InputObjectField\\|\\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\)\\)\\)\\|GraphQL\\\\Type\\\\Definition\\\\InputObjectField\\|\\(GraphQL\\\\Type\\\\Definition\\\\InputType&GraphQL\\\\Type\\\\Definition\\\\Type\\)\\>, parseValue\\?\\: callable\\(array\\<string, mixed\\>\\)\\: mixed, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\InputObjectTypeDefinitionNode\\|null, extensionASTNodes\\?\\: array\\<GraphQL\\\\Language\\\\AST\\\\InputObjectTypeExtensionNode\\>\\|null\\}, array\\{name\\: string, description\\: string\\|null, fields\\: list\\<array\\{name\\: string, description\\: string\\|null, type\\: GraphQL\\\\Type\\\\Definition\\\\Type, args\\: list\\<array\\{name\\: string, description\\: string\\|null, type\\: GraphQL\\\\Type\\\\Definition\\\\Type\\}\\>\\}\\>\\} given\\.$#', |
|
54 | + 'identifier' => 'argument.type', |
|
55 | + 'count' => 1, |
|
56 | + 'path' => __DIR__ . '/src/Resolver/Type/InputObjectTypeResolver.php', |
|
57 | 57 | ]; |
58 | 58 | $ignoreErrors[] = [ |
59 | - 'message' => '#^Parameter \\#1 \\$config of class GraphQL\\\\Type\\\\Definition\\\\InterfaceType constructor expects array\\{name\\?\\: string\\|null, description\\?\\: string\\|null, fields\\: \\(callable\\(\\)\\: iterable\\)\\|iterable, interfaces\\?\\: \\(callable\\(\\)\\: iterable\\<callable\\(\\)\\: GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\|GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\>\\)\\|iterable\\<\\(callable\\(\\)\\: GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\)\\|GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\>, resolveType\\?\\: \\(callable\\(mixed, mixed, GraphQL\\\\Type\\\\Definition\\\\ResolveInfo\\)\\: \\(callable\\(\\)\\: \\(GraphQL\\\\Type\\\\Definition\\\\ObjectType\\|string\\|null\\)\\|GraphQL\\\\Deferred\\|GraphQL\\\\Type\\\\Definition\\\\ObjectType\\|string\\|null\\)\\)\\|null, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\InterfaceTypeDefinitionNode\\|null, extensionASTNodes\\?\\: array\\<GraphQL\\\\Language\\\\AST\\\\InterfaceTypeExtensionNode\\>\\|null\\}, array\\{name\\: string, description\\: string\\|null, fields\\: list\\<array\\{name\\: string, description\\: string\\|null, type\\: GraphQL\\\\Type\\\\Definition\\\\Type, args\\: list\\<array\\{name\\: string, description\\: string\\|null, type\\: GraphQL\\\\Type\\\\Definition\\\\Type\\}\\>, resolve\\: Closure, deprecationReason\\?\\: string\\}\\>, resolveType\\: Closure\\(object\\)\\: GraphQL\\\\Type\\\\Definition\\\\Type\\} given\\.$#', |
|
60 | - 'identifier' => 'argument.type', |
|
61 | - 'count' => 1, |
|
62 | - 'path' => __DIR__ . '/src/Resolver/Type/InterfaceTypeResolver.php', |
|
59 | + 'message' => '#^Parameter \\#1 \\$config of class GraphQL\\\\Type\\\\Definition\\\\InterfaceType constructor expects array\\{name\\?\\: string\\|null, description\\?\\: string\\|null, fields\\: \\(callable\\(\\)\\: iterable\\)\\|iterable, interfaces\\?\\: \\(callable\\(\\)\\: iterable\\<callable\\(\\)\\: GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\|GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\>\\)\\|iterable\\<\\(callable\\(\\)\\: GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\)\\|GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\>, resolveType\\?\\: \\(callable\\(mixed, mixed, GraphQL\\\\Type\\\\Definition\\\\ResolveInfo\\)\\: \\(callable\\(\\)\\: \\(GraphQL\\\\Type\\\\Definition\\\\ObjectType\\|string\\|null\\)\\|GraphQL\\\\Deferred\\|GraphQL\\\\Type\\\\Definition\\\\ObjectType\\|string\\|null\\)\\)\\|null, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\InterfaceTypeDefinitionNode\\|null, extensionASTNodes\\?\\: array\\<GraphQL\\\\Language\\\\AST\\\\InterfaceTypeExtensionNode\\>\\|null\\}, array\\{name\\: string, description\\: string\\|null, fields\\: list\\<array\\{name\\: string, description\\: string\\|null, type\\: GraphQL\\\\Type\\\\Definition\\\\Type, args\\: list\\<array\\{name\\: string, description\\: string\\|null, type\\: GraphQL\\\\Type\\\\Definition\\\\Type\\}\\>, resolve\\: Closure, deprecationReason\\?\\: string\\}\\>, resolveType\\: Closure\\(object\\)\\: GraphQL\\\\Type\\\\Definition\\\\Type\\} given\\.$#', |
|
60 | + 'identifier' => 'argument.type', |
|
61 | + 'count' => 1, |
|
62 | + 'path' => __DIR__ . '/src/Resolver/Type/InterfaceTypeResolver.php', |
|
63 | 63 | ]; |
64 | 64 | $ignoreErrors[] = [ |
65 | - 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\FullFeatured\\\\Query\\\\DeprecatedQuery\\:\\:doSomeWork\\(\\) never returns string so it can be removed from the return type\\.$#', |
|
66 | - 'identifier' => 'return.unusedType', |
|
67 | - 'count' => 1, |
|
68 | - 'path' => __DIR__ . '/tests/Doubles/FullFeatured/Query/DeprecatedQuery.php', |
|
65 | + 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\FullFeatured\\\\Query\\\\DeprecatedQuery\\:\\:doSomeWork\\(\\) never returns string so it can be removed from the return type\\.$#', |
|
66 | + 'identifier' => 'return.unusedType', |
|
67 | + 'count' => 1, |
|
68 | + 'path' => __DIR__ . '/tests/Doubles/FullFeatured/Query/DeprecatedQuery.php', |
|
69 | 69 | ]; |
70 | 70 | $ignoreErrors[] = [ |
71 | - 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\FullFeatured\\\\Type\\\\FoobarType\\:\\:getDate\\(\\) never returns null so it can be removed from the return type\\.$#', |
|
72 | - 'identifier' => 'return.unusedType', |
|
73 | - 'count' => 1, |
|
74 | - 'path' => __DIR__ . '/tests/Doubles/FullFeatured/Type/FoobarType.php', |
|
71 | + 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\FullFeatured\\\\Type\\\\FoobarType\\:\\:getDate\\(\\) never returns null so it can be removed from the return type\\.$#', |
|
72 | + 'identifier' => 'return.unusedType', |
|
73 | + 'count' => 1, |
|
74 | + 'path' => __DIR__ . '/tests/Doubles/FullFeatured/Type/FoobarType.php', |
|
75 | 75 | ]; |
76 | 76 | $ignoreErrors[] = [ |
77 | - 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Mutation\\\\TestInvalidMutationWithInvalidMethodArgument\\:\\:__invoke\\(\\) has parameter \\$id with no type specified\\.$#', |
|
78 | - 'identifier' => 'missingType.parameter', |
|
79 | - 'count' => 1, |
|
80 | - 'path' => __DIR__ . '/tests/Doubles/Mutation/TestInvalidMutationWithInvalidMethodArgument.php', |
|
77 | + 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Mutation\\\\TestInvalidMutationWithInvalidMethodArgument\\:\\:__invoke\\(\\) has parameter \\$id with no type specified\\.$#', |
|
78 | + 'identifier' => 'missingType.parameter', |
|
79 | + 'count' => 1, |
|
80 | + 'path' => __DIR__ . '/tests/Doubles/Mutation/TestInvalidMutationWithInvalidMethodArgument.php', |
|
81 | 81 | ]; |
82 | 82 | $ignoreErrors[] = [ |
83 | - 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Type\\\\TestExtendsInterfaceType\\:\\:cursor\\(\\) never returns null so it can be removed from the return type\\.$#', |
|
84 | - 'identifier' => 'return.unusedType', |
|
85 | - 'count' => 1, |
|
86 | - 'path' => __DIR__ . '/tests/Doubles/Type/TestExtendsInterfaceType.php', |
|
83 | + 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Type\\\\TestExtendsInterfaceType\\:\\:cursor\\(\\) never returns null so it can be removed from the return type\\.$#', |
|
84 | + 'identifier' => 'return.unusedType', |
|
85 | + 'count' => 1, |
|
86 | + 'path' => __DIR__ . '/tests/Doubles/Type/TestExtendsInterfaceType.php', |
|
87 | 87 | ]; |
88 | 88 | $ignoreErrors[] = [ |
89 | - 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Type\\\\TestType\\:\\:flow\\(\\) never returns null so it can be removed from the return type\\.$#', |
|
90 | - 'identifier' => 'return.unusedType', |
|
91 | - 'count' => 1, |
|
92 | - 'path' => __DIR__ . '/tests/Doubles/Type/TestType.php', |
|
89 | + 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Type\\\\TestType\\:\\:flow\\(\\) never returns null so it can be removed from the return type\\.$#', |
|
90 | + 'identifier' => 'return.unusedType', |
|
91 | + 'count' => 1, |
|
92 | + 'path' => __DIR__ . '/tests/Doubles/Type/TestType.php', |
|
93 | 93 | ]; |
94 | 94 | $ignoreErrors[] = [ |
95 | - 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Type\\\\TestTypeWithAutowire\\:\\:invalidServiceWithoutCustomId\\(\\) has parameter \\$service with no type specified\\.$#', |
|
96 | - 'identifier' => 'missingType.parameter', |
|
97 | - 'count' => 1, |
|
98 | - 'path' => __DIR__ . '/tests/Doubles/Type/TestTypeWithAutowire.php', |
|
95 | + 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Type\\\\TestTypeWithAutowire\\:\\:invalidServiceWithoutCustomId\\(\\) has parameter \\$service with no type specified\\.$#', |
|
96 | + 'identifier' => 'missingType.parameter', |
|
97 | + 'count' => 1, |
|
98 | + 'path' => __DIR__ . '/tests/Doubles/Type/TestTypeWithAutowire.php', |
|
99 | 99 | ]; |
100 | 100 | $ignoreErrors[] = [ |
101 | - 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Type\\\\TestTypeWithAutowire\\:\\:serviceWithCustomId\\(\\) has parameter \\$service with no type specified\\.$#', |
|
102 | - 'identifier' => 'missingType.parameter', |
|
103 | - 'count' => 1, |
|
104 | - 'path' => __DIR__ . '/tests/Doubles/Type/TestTypeWithAutowire.php', |
|
101 | + 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Type\\\\TestTypeWithAutowire\\:\\:serviceWithCustomId\\(\\) has parameter \\$service with no type specified\\.$#', |
|
102 | + 'identifier' => 'missingType.parameter', |
|
103 | + 'count' => 1, |
|
104 | + 'path' => __DIR__ . '/tests/Doubles/Type/TestTypeWithAutowire.php', |
|
105 | 105 | ]; |
106 | 106 | $ignoreErrors[] = [ |
107 | - 'message' => '#^Parameter \\#1 \\$config of class GraphQL\\\\Type\\\\Definition\\\\InterfaceType constructor expects array\\{name\\?\\: string\\|null, description\\?\\: string\\|null, fields\\: \\(callable\\(\\)\\: iterable\\)\\|iterable, interfaces\\?\\: \\(callable\\(\\)\\: iterable\\<callable\\(\\)\\: GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\|GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\>\\)\\|iterable\\<\\(callable\\(\\)\\: GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\)\\|GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\>, resolveType\\?\\: \\(callable\\(mixed, mixed, GraphQL\\\\Type\\\\Definition\\\\ResolveInfo\\)\\: \\(callable\\(\\)\\: \\(GraphQL\\\\Type\\\\Definition\\\\ObjectType\\|string\\|null\\)\\|GraphQL\\\\Deferred\\|GraphQL\\\\Type\\\\Definition\\\\ObjectType\\|string\\|null\\)\\)\\|null, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\InterfaceTypeDefinitionNode\\|null, extensionASTNodes\\?\\: array\\<GraphQL\\\\Language\\\\AST\\\\InterfaceTypeExtensionNode\\>\\|null\\}, array\\{name\\: \'name\', description\\: null, fields\\: array\\{array\\{name\\: \'id\', description\\: null, type\\: GraphQL\\\\Type\\\\Definition\\\\ScalarType, args\\: array\\{\\}, resolve\\: Closure\\(\\)\\: true\\}\\}, resolveType\\: Closure\\(\\)\\: true\\} given\\.$#', |
|
108 | - 'identifier' => 'argument.type', |
|
109 | - 'count' => 1, |
|
110 | - 'path' => __DIR__ . '/tests/Resolver/Type/InterfaceTypeResolverTest.php', |
|
107 | + 'message' => '#^Parameter \\#1 \\$config of class GraphQL\\\\Type\\\\Definition\\\\InterfaceType constructor expects array\\{name\\?\\: string\\|null, description\\?\\: string\\|null, fields\\: \\(callable\\(\\)\\: iterable\\)\\|iterable, interfaces\\?\\: \\(callable\\(\\)\\: iterable\\<callable\\(\\)\\: GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\|GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\>\\)\\|iterable\\<\\(callable\\(\\)\\: GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\)\\|GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\>, resolveType\\?\\: \\(callable\\(mixed, mixed, GraphQL\\\\Type\\\\Definition\\\\ResolveInfo\\)\\: \\(callable\\(\\)\\: \\(GraphQL\\\\Type\\\\Definition\\\\ObjectType\\|string\\|null\\)\\|GraphQL\\\\Deferred\\|GraphQL\\\\Type\\\\Definition\\\\ObjectType\\|string\\|null\\)\\)\\|null, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\InterfaceTypeDefinitionNode\\|null, extensionASTNodes\\?\\: array\\<GraphQL\\\\Language\\\\AST\\\\InterfaceTypeExtensionNode\\>\\|null\\}, array\\{name\\: \'name\', description\\: null, fields\\: array\\{array\\{name\\: \'id\', description\\: null, type\\: GraphQL\\\\Type\\\\Definition\\\\ScalarType, args\\: array\\{\\}, resolve\\: Closure\\(\\)\\: true\\}\\}, resolveType\\: Closure\\(\\)\\: true\\} given\\.$#', |
|
108 | + 'identifier' => 'argument.type', |
|
109 | + 'count' => 1, |
|
110 | + 'path' => __DIR__ . '/tests/Resolver/Type/InterfaceTypeResolverTest.php', |
|
111 | 111 | ]; |
112 | 112 | $ignoreErrors[] = [ |
113 | - 'message' => '#^Parameter \\#1 \\$config of class GraphQL\\\\Type\\\\Definition\\\\InterfaceType constructor expects array\\{name\\?\\: string\\|null, description\\?\\: string\\|null, fields\\: \\(callable\\(\\)\\: iterable\\)\\|iterable, interfaces\\?\\: \\(callable\\(\\)\\: iterable\\<callable\\(\\)\\: GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\|GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\>\\)\\|iterable\\<\\(callable\\(\\)\\: GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\)\\|GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\>, resolveType\\?\\: \\(callable\\(mixed, mixed, GraphQL\\\\Type\\\\Definition\\\\ResolveInfo\\)\\: \\(callable\\(\\)\\: \\(GraphQL\\\\Type\\\\Definition\\\\ObjectType\\|string\\|null\\)\\|GraphQL\\\\Deferred\\|GraphQL\\\\Type\\\\Definition\\\\ObjectType\\|string\\|null\\)\\)\\|null, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\InterfaceTypeDefinitionNode\\|null, extensionASTNodes\\?\\: array\\<GraphQL\\\\Language\\\\AST\\\\InterfaceTypeExtensionNode\\>\\|null\\}, array\\{name\\: \'User\', description\\: null, fields\\: array\\{array\\{name\\: \'userId\', type\\: GraphQL\\\\Type\\\\Definition\\\\NonNull, description\\: null, args\\: array\\{\\}, resolve\\: Closure\\(\\)\\: true\\}\\}, resolveType\\: Closure\\(\\)\\: true\\} given\\.$#', |
|
114 | - 'identifier' => 'argument.type', |
|
115 | - 'count' => 5, |
|
116 | - 'path' => __DIR__ . '/tests/SchemaBuilderTest.php', |
|
113 | + 'message' => '#^Parameter \\#1 \\$config of class GraphQL\\\\Type\\\\Definition\\\\InterfaceType constructor expects array\\{name\\?\\: string\\|null, description\\?\\: string\\|null, fields\\: \\(callable\\(\\)\\: iterable\\)\\|iterable, interfaces\\?\\: \\(callable\\(\\)\\: iterable\\<callable\\(\\)\\: GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\|GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\>\\)\\|iterable\\<\\(callable\\(\\)\\: GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\)\\|GraphQL\\\\Type\\\\Definition\\\\InterfaceType\\>, resolveType\\?\\: \\(callable\\(mixed, mixed, GraphQL\\\\Type\\\\Definition\\\\ResolveInfo\\)\\: \\(callable\\(\\)\\: \\(GraphQL\\\\Type\\\\Definition\\\\ObjectType\\|string\\|null\\)\\|GraphQL\\\\Deferred\\|GraphQL\\\\Type\\\\Definition\\\\ObjectType\\|string\\|null\\)\\)\\|null, astNode\\?\\: GraphQL\\\\Language\\\\AST\\\\InterfaceTypeDefinitionNode\\|null, extensionASTNodes\\?\\: array\\<GraphQL\\\\Language\\\\AST\\\\InterfaceTypeExtensionNode\\>\\|null\\}, array\\{name\\: \'User\', description\\: null, fields\\: array\\{array\\{name\\: \'userId\', type\\: GraphQL\\\\Type\\\\Definition\\\\NonNull, description\\: null, args\\: array\\{\\}, resolve\\: Closure\\(\\)\\: true\\}\\}, resolveType\\: Closure\\(\\)\\: true\\} given\\.$#', |
|
114 | + 'identifier' => 'argument.type', |
|
115 | + 'count' => 5, |
|
116 | + 'path' => __DIR__ . '/tests/SchemaBuilderTest.php', |
|
117 | 117 | ]; |
118 | 118 | |
119 | 119 | return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; |