|
@@ -2,394 +2,394 @@ |
|
|
block discarded – undo |
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' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\ChainedNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
48
|
|
- 'identifier' => 'missingType.generics', |
49
|
|
- 'count' => 1, |
50
|
|
- 'path' => __DIR__ . '/src/NodeParser/ChainedNodeParser.php', |
|
47
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\ChainedNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
48
|
+ 'identifier' => 'missingType.generics', |
|
49
|
+ 'count' => 1, |
|
50
|
+ 'path' => __DIR__ . '/src/NodeParser/ChainedNodeParser.php', |
51
|
51
|
]; |
52
|
52
|
$ignoreErrors[] = [ |
53
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\Child\\\\ArgNodeParser\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
54
|
|
- 'identifier' => 'missingType.generics', |
55
|
|
- 'count' => 1, |
56
|
|
- 'path' => __DIR__ . '/src/NodeParser/Child/ArgNodeParser.php', |
|
53
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\Child\\\\ArgNodeParser\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
|
54
|
+ 'identifier' => 'missingType.generics', |
|
55
|
+ 'count' => 1, |
|
56
|
+ 'path' => __DIR__ . '/src/NodeParser/Child/ArgNodeParser.php', |
57
|
57
|
]; |
58
|
58
|
$ignoreErrors[] = [ |
59
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\Child\\\\AutowireNodeParser\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
60
|
|
- 'identifier' => 'missingType.generics', |
61
|
|
- 'count' => 1, |
62
|
|
- 'path' => __DIR__ . '/src/NodeParser/Child/AutowireNodeParser.php', |
|
59
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\Child\\\\AutowireNodeParser\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
|
60
|
+ 'identifier' => 'missingType.generics', |
|
61
|
+ 'count' => 1, |
|
62
|
+ 'path' => __DIR__ . '/src/NodeParser/Child/AutowireNodeParser.php', |
63
|
63
|
]; |
64
|
64
|
$ignoreErrors[] = [ |
65
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\Child\\\\ClassFieldsNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
66
|
|
- 'identifier' => 'missingType.generics', |
67
|
|
- 'count' => 1, |
68
|
|
- 'path' => __DIR__ . '/src/NodeParser/Child/ClassFieldsNodeParser.php', |
|
65
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\Child\\\\ClassFieldsNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
66
|
+ 'identifier' => 'missingType.generics', |
|
67
|
+ 'count' => 1, |
|
68
|
+ 'path' => __DIR__ . '/src/NodeParser/Child/ClassFieldsNodeParser.php', |
69
|
69
|
]; |
70
|
70
|
$ignoreErrors[] = [ |
71
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\Child\\\\ClassFieldsNodeParser\\:\\:parseMethods\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
72
|
|
- 'identifier' => 'missingType.generics', |
73
|
|
- 'count' => 1, |
74
|
|
- 'path' => __DIR__ . '/src/NodeParser/Child/ClassFieldsNodeParser.php', |
|
71
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\Child\\\\ClassFieldsNodeParser\\:\\:parseMethods\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
72
|
+ 'identifier' => 'missingType.generics', |
|
73
|
+ 'count' => 1, |
|
74
|
+ 'path' => __DIR__ . '/src/NodeParser/Child/ClassFieldsNodeParser.php', |
75
|
75
|
]; |
76
|
76
|
$ignoreErrors[] = [ |
77
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\Child\\\\ClassFieldsNodeParser\\:\\:parseProperties\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
78
|
|
- 'identifier' => 'missingType.generics', |
79
|
|
- 'count' => 1, |
80
|
|
- 'path' => __DIR__ . '/src/NodeParser/Child/ClassFieldsNodeParser.php', |
|
77
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\Child\\\\ClassFieldsNodeParser\\:\\:parseProperties\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
78
|
+ 'identifier' => 'missingType.generics', |
|
79
|
+ 'count' => 1, |
|
80
|
+ 'path' => __DIR__ . '/src/NodeParser/Child/ClassFieldsNodeParser.php', |
81
|
81
|
]; |
82
|
82
|
$ignoreErrors[] = [ |
83
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\Child\\\\CursorNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
84
|
|
- 'identifier' => 'missingType.generics', |
85
|
|
- 'count' => 1, |
86
|
|
- 'path' => __DIR__ . '/src/NodeParser/Child/CursorNodeParser.php', |
|
83
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\Child\\\\CursorNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
84
|
+ 'identifier' => 'missingType.generics', |
|
85
|
+ 'count' => 1, |
|
86
|
+ 'path' => __DIR__ . '/src/NodeParser/Child/CursorNodeParser.php', |
87
|
87
|
]; |
88
|
88
|
$ignoreErrors[] = [ |
89
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\Child\\\\CursorNodeParser\\:\\:parseMethods\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
90
|
|
- 'identifier' => 'missingType.generics', |
91
|
|
- 'count' => 1, |
92
|
|
- 'path' => __DIR__ . '/src/NodeParser/Child/CursorNodeParser.php', |
|
89
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\Child\\\\CursorNodeParser\\:\\:parseMethods\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
90
|
+ 'identifier' => 'missingType.generics', |
|
91
|
+ 'count' => 1, |
|
92
|
+ 'path' => __DIR__ . '/src/NodeParser/Child/CursorNodeParser.php', |
93
|
93
|
]; |
94
|
94
|
$ignoreErrors[] = [ |
95
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\Child\\\\CursorNodeParser\\:\\:parseProperties\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
96
|
|
- 'identifier' => 'missingType.generics', |
97
|
|
- 'count' => 1, |
98
|
|
- 'path' => __DIR__ . '/src/NodeParser/Child/CursorNodeParser.php', |
|
95
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\Child\\\\CursorNodeParser\\:\\:parseProperties\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
96
|
+ 'identifier' => 'missingType.generics', |
|
97
|
+ 'count' => 1, |
|
98
|
+ 'path' => __DIR__ . '/src/NodeParser/Child/CursorNodeParser.php', |
99
|
99
|
]; |
100
|
100
|
$ignoreErrors[] = [ |
101
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\EnumNodeParser\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
102
|
|
- 'identifier' => 'missingType.generics', |
103
|
|
- 'count' => 1, |
104
|
|
- 'path' => __DIR__ . '/src/NodeParser/EnumNodeParser.php', |
|
101
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\EnumNodeParser\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
|
102
|
+ 'identifier' => 'missingType.generics', |
|
103
|
+ 'count' => 1, |
|
104
|
+ 'path' => __DIR__ . '/src/NodeParser/EnumNodeParser.php', |
105
|
105
|
]; |
106
|
106
|
$ignoreErrors[] = [ |
107
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\EnumNodeParser\\:\\:getValues\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
108
|
|
- 'identifier' => 'missingType.generics', |
109
|
|
- 'count' => 1, |
110
|
|
- 'path' => __DIR__ . '/src/NodeParser/EnumNodeParser.php', |
|
107
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\EnumNodeParser\\:\\:getValues\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
108
|
+ 'identifier' => 'missingType.generics', |
|
109
|
+ 'count' => 1, |
|
110
|
+ 'path' => __DIR__ . '/src/NodeParser/EnumNodeParser.php', |
111
|
111
|
]; |
112
|
112
|
$ignoreErrors[] = [ |
113
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\EnumNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
114
|
|
- 'identifier' => 'missingType.generics', |
115
|
|
- 'count' => 1, |
116
|
|
- 'path' => __DIR__ . '/src/NodeParser/EnumNodeParser.php', |
|
113
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\EnumNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
114
|
+ 'identifier' => 'missingType.generics', |
|
115
|
+ 'count' => 1, |
|
116
|
+ 'path' => __DIR__ . '/src/NodeParser/EnumNodeParser.php', |
117
|
117
|
]; |
118
|
118
|
$ignoreErrors[] = [ |
119
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\EnumNodeParser\\:\\:retrieveNameForType\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
120
|
|
- 'identifier' => 'missingType.generics', |
121
|
|
- 'count' => 1, |
122
|
|
- 'path' => __DIR__ . '/src/NodeParser/EnumNodeParser.php', |
|
119
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\EnumNodeParser\\:\\:retrieveNameForType\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
120
|
+ 'identifier' => 'missingType.generics', |
|
121
|
+ 'count' => 1, |
|
122
|
+ 'path' => __DIR__ . '/src/NodeParser/EnumNodeParser.php', |
123
|
123
|
]; |
124
|
124
|
$ignoreErrors[] = [ |
125
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\EnumNodeParser\\:\\:retrieveNameFromClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
126
|
|
- 'identifier' => 'missingType.generics', |
127
|
|
- 'count' => 1, |
128
|
|
- 'path' => __DIR__ . '/src/NodeParser/EnumNodeParser.php', |
|
125
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\EnumNodeParser\\:\\:retrieveNameFromClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
126
|
+ 'identifier' => 'missingType.generics', |
|
127
|
+ 'count' => 1, |
|
128
|
+ 'path' => __DIR__ . '/src/NodeParser/EnumNodeParser.php', |
129
|
129
|
]; |
130
|
130
|
$ignoreErrors[] = [ |
131
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\InputTypeNodeParser\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
132
|
|
- 'identifier' => 'missingType.generics', |
133
|
|
- 'count' => 1, |
134
|
|
- 'path' => __DIR__ . '/src/NodeParser/InputTypeNodeParser.php', |
|
131
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\InputTypeNodeParser\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
|
132
|
+ 'identifier' => 'missingType.generics', |
|
133
|
+ 'count' => 1, |
|
134
|
+ 'path' => __DIR__ . '/src/NodeParser/InputTypeNodeParser.php', |
135
|
135
|
]; |
136
|
136
|
$ignoreErrors[] = [ |
137
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\InputTypeNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
138
|
|
- 'identifier' => 'missingType.generics', |
139
|
|
- 'count' => 1, |
140
|
|
- 'path' => __DIR__ . '/src/NodeParser/InputTypeNodeParser.php', |
|
137
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\InputTypeNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
138
|
+ 'identifier' => 'missingType.generics', |
|
139
|
+ 'count' => 1, |
|
140
|
+ 'path' => __DIR__ . '/src/NodeParser/InputTypeNodeParser.php', |
141
|
141
|
]; |
142
|
142
|
$ignoreErrors[] = [ |
143
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\InputTypeNodeParser\\:\\:retrieveNameForType\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
144
|
|
- 'identifier' => 'missingType.generics', |
145
|
|
- 'count' => 1, |
146
|
|
- 'path' => __DIR__ . '/src/NodeParser/InputTypeNodeParser.php', |
|
143
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\InputTypeNodeParser\\:\\:retrieveNameForType\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
144
|
+ 'identifier' => 'missingType.generics', |
|
145
|
+ 'count' => 1, |
|
146
|
+ 'path' => __DIR__ . '/src/NodeParser/InputTypeNodeParser.php', |
147
|
147
|
]; |
148
|
148
|
$ignoreErrors[] = [ |
149
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\InputTypeNodeParser\\:\\:retrieveNameFromClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
150
|
|
- 'identifier' => 'missingType.generics', |
151
|
|
- 'count' => 1, |
152
|
|
- 'path' => __DIR__ . '/src/NodeParser/InputTypeNodeParser.php', |
|
149
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\InputTypeNodeParser\\:\\:retrieveNameFromClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
150
|
+ 'identifier' => 'missingType.generics', |
|
151
|
+ 'count' => 1, |
|
152
|
+ 'path' => __DIR__ . '/src/NodeParser/InputTypeNodeParser.php', |
153
|
153
|
]; |
154
|
154
|
$ignoreErrors[] = [ |
155
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\MutationNodeParser\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
156
|
|
- 'identifier' => 'missingType.generics', |
157
|
|
- 'count' => 1, |
158
|
|
- 'path' => __DIR__ . '/src/NodeParser/MutationNodeParser.php', |
|
155
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\MutationNodeParser\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
|
156
|
+ 'identifier' => 'missingType.generics', |
|
157
|
+ 'count' => 1, |
|
158
|
+ 'path' => __DIR__ . '/src/NodeParser/MutationNodeParser.php', |
159
|
159
|
]; |
160
|
160
|
$ignoreErrors[] = [ |
161
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\MutationNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
162
|
|
- 'identifier' => 'missingType.generics', |
163
|
|
- 'count' => 1, |
164
|
|
- 'path' => __DIR__ . '/src/NodeParser/MutationNodeParser.php', |
|
161
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\MutationNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
162
|
+ 'identifier' => 'missingType.generics', |
|
163
|
+ 'count' => 1, |
|
164
|
+ 'path' => __DIR__ . '/src/NodeParser/MutationNodeParser.php', |
165
|
165
|
]; |
166
|
166
|
$ignoreErrors[] = [ |
167
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\NodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
168
|
|
- 'identifier' => 'missingType.generics', |
169
|
|
- 'count' => 1, |
170
|
|
- 'path' => __DIR__ . '/src/NodeParser/NodeParser.php', |
|
167
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\NodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
168
|
+ 'identifier' => 'missingType.generics', |
|
169
|
+ 'count' => 1, |
|
170
|
+ 'path' => __DIR__ . '/src/NodeParser/NodeParser.php', |
171
|
171
|
]; |
172
|
172
|
$ignoreErrors[] = [ |
173
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\QueryNodeParser\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
174
|
|
- 'identifier' => 'missingType.generics', |
175
|
|
- 'count' => 1, |
176
|
|
- 'path' => __DIR__ . '/src/NodeParser/QueryNodeParser.php', |
|
173
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\QueryNodeParser\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
|
174
|
+ 'identifier' => 'missingType.generics', |
|
175
|
+ 'count' => 1, |
|
176
|
+ 'path' => __DIR__ . '/src/NodeParser/QueryNodeParser.php', |
177
|
177
|
]; |
178
|
178
|
$ignoreErrors[] = [ |
179
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\QueryNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
180
|
|
- 'identifier' => 'missingType.generics', |
181
|
|
- 'count' => 1, |
182
|
|
- 'path' => __DIR__ . '/src/NodeParser/QueryNodeParser.php', |
|
179
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\QueryNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
180
|
+ 'identifier' => 'missingType.generics', |
|
181
|
+ 'count' => 1, |
|
182
|
+ 'path' => __DIR__ . '/src/NodeParser/QueryNodeParser.php', |
183
|
183
|
]; |
184
|
184
|
$ignoreErrors[] = [ |
185
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\ScalarNodeParser\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
186
|
|
- 'identifier' => 'missingType.generics', |
187
|
|
- 'count' => 1, |
188
|
|
- 'path' => __DIR__ . '/src/NodeParser/ScalarNodeParser.php', |
|
185
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\ScalarNodeParser\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
|
186
|
+ 'identifier' => 'missingType.generics', |
|
187
|
+ 'count' => 1, |
|
188
|
+ 'path' => __DIR__ . '/src/NodeParser/ScalarNodeParser.php', |
189
|
189
|
]; |
190
|
190
|
$ignoreErrors[] = [ |
191
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\ScalarNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
192
|
|
- 'identifier' => 'missingType.generics', |
193
|
|
- 'count' => 1, |
194
|
|
- 'path' => __DIR__ . '/src/NodeParser/ScalarNodeParser.php', |
|
191
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\ScalarNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
192
|
+ 'identifier' => 'missingType.generics', |
|
193
|
+ 'count' => 1, |
|
194
|
+ 'path' => __DIR__ . '/src/NodeParser/ScalarNodeParser.php', |
195
|
195
|
]; |
196
|
196
|
$ignoreErrors[] = [ |
197
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\ScalarNodeParser\\:\\:retrieveNameForType\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
198
|
|
- 'identifier' => 'missingType.generics', |
199
|
|
- 'count' => 1, |
200
|
|
- 'path' => __DIR__ . '/src/NodeParser/ScalarNodeParser.php', |
|
197
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\ScalarNodeParser\\:\\:retrieveNameForType\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
198
|
+ 'identifier' => 'missingType.generics', |
|
199
|
+ 'count' => 1, |
|
200
|
+ 'path' => __DIR__ . '/src/NodeParser/ScalarNodeParser.php', |
201
|
201
|
]; |
202
|
202
|
$ignoreErrors[] = [ |
203
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\ScalarNodeParser\\:\\:retrieveNameFromClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
204
|
|
- 'identifier' => 'missingType.generics', |
205
|
|
- 'count' => 1, |
206
|
|
- 'path' => __DIR__ . '/src/NodeParser/ScalarNodeParser.php', |
|
203
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\ScalarNodeParser\\:\\:retrieveNameFromClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
204
|
+ 'identifier' => 'missingType.generics', |
|
205
|
+ 'count' => 1, |
|
206
|
+ 'path' => __DIR__ . '/src/NodeParser/ScalarNodeParser.php', |
207
|
207
|
]; |
208
|
208
|
$ignoreErrors[] = [ |
209
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\TypeNodeParser\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
210
|
|
- 'identifier' => 'missingType.generics', |
211
|
|
- 'count' => 1, |
212
|
|
- 'path' => __DIR__ . '/src/NodeParser/TypeNodeParser.php', |
|
209
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\TypeNodeParser\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
|
210
|
+ 'identifier' => 'missingType.generics', |
|
211
|
+ 'count' => 1, |
|
212
|
+ 'path' => __DIR__ . '/src/NodeParser/TypeNodeParser.php', |
213
|
213
|
]; |
214
|
214
|
$ignoreErrors[] = [ |
215
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\TypeNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
216
|
|
- 'identifier' => 'missingType.generics', |
217
|
|
- 'count' => 1, |
218
|
|
- 'path' => __DIR__ . '/src/NodeParser/TypeNodeParser.php', |
|
215
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\TypeNodeParser\\:\\:parse\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
216
|
+ 'identifier' => 'missingType.generics', |
|
217
|
+ 'count' => 1, |
|
218
|
+ 'path' => __DIR__ . '/src/NodeParser/TypeNodeParser.php', |
219
|
219
|
]; |
220
|
220
|
$ignoreErrors[] = [ |
221
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\TypeNodeParser\\:\\:retrieveNameForType\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
222
|
|
- 'identifier' => 'missingType.generics', |
223
|
|
- 'count' => 1, |
224
|
|
- 'path' => __DIR__ . '/src/NodeParser/TypeNodeParser.php', |
|
221
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\TypeNodeParser\\:\\:retrieveNameForType\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
222
|
+ 'identifier' => 'missingType.generics', |
|
223
|
+ 'count' => 1, |
|
224
|
+ 'path' => __DIR__ . '/src/NodeParser/TypeNodeParser.php', |
225
|
225
|
]; |
226
|
226
|
$ignoreErrors[] = [ |
227
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\TypeNodeParser\\:\\:retrieveNameFromClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
228
|
|
- 'identifier' => 'missingType.generics', |
229
|
|
- 'count' => 1, |
230
|
|
- 'path' => __DIR__ . '/src/NodeParser/TypeNodeParser.php', |
|
227
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\NodeParser\\\\TypeNodeParser\\:\\:retrieveNameFromClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
228
|
+ 'identifier' => 'missingType.generics', |
|
229
|
+ 'count' => 1, |
|
230
|
+ 'path' => __DIR__ . '/src/NodeParser/TypeNodeParser.php', |
231
|
231
|
]; |
232
|
232
|
$ignoreErrors[] = [ |
233
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Parser\\:\\:getClasses\\(\\) return type with generic class ReflectionClass does not specify its types\\: T$#', |
234
|
|
- 'identifier' => 'missingType.generics', |
235
|
|
- 'count' => 1, |
236
|
|
- 'path' => __DIR__ . '/src/Parser.php', |
|
233
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Parser\\:\\:getClasses\\(\\) return type with generic class ReflectionClass does not specify its types\\: T$#', |
|
234
|
+ 'identifier' => 'missingType.generics', |
|
235
|
+ 'count' => 1, |
|
236
|
+ 'path' => __DIR__ . '/src/Parser.php', |
237
|
237
|
]; |
238
|
238
|
$ignoreErrors[] = [ |
239
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Parser\\:\\:getSupportedAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
240
|
|
- 'identifier' => 'missingType.generics', |
241
|
|
- 'count' => 1, |
242
|
|
- 'path' => __DIR__ . '/src/Parser.php', |
|
239
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Parser\\:\\:getSupportedAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
|
240
|
+ 'identifier' => 'missingType.generics', |
|
241
|
+ 'count' => 1, |
|
242
|
+ 'path' => __DIR__ . '/src/Parser.php', |
243
|
243
|
]; |
244
|
244
|
$ignoreErrors[] = [ |
245
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Parser\\:\\:parseClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
246
|
|
- 'identifier' => 'missingType.generics', |
247
|
|
- 'count' => 1, |
248
|
|
- 'path' => __DIR__ . '/src/Parser.php', |
|
245
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Parser\\:\\:parseClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
246
|
+ 'identifier' => 'missingType.generics', |
|
247
|
+ 'count' => 1, |
|
248
|
+ 'path' => __DIR__ . '/src/Parser.php', |
249
|
249
|
]; |
250
|
250
|
$ignoreErrors[] = [ |
251
|
|
- '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\\.$#', |
252
|
|
- 'identifier' => 'argument.type', |
253
|
|
- 'count' => 1, |
254
|
|
- 'path' => __DIR__ . '/src/Resolver/Type/CustomScalarTypeResolver.php', |
|
251
|
+ '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\\.$#', |
|
252
|
+ 'identifier' => 'argument.type', |
|
253
|
+ 'count' => 1, |
|
254
|
+ 'path' => __DIR__ . '/src/Resolver/Type/CustomScalarTypeResolver.php', |
255
|
255
|
]; |
256
|
256
|
$ignoreErrors[] = [ |
257
|
|
- '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\\.$#', |
258
|
|
- 'identifier' => 'argument.type', |
259
|
|
- 'count' => 1, |
260
|
|
- 'path' => __DIR__ . '/src/Resolver/Type/InputObjectTypeResolver.php', |
|
257
|
+ '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\\.$#', |
|
258
|
+ 'identifier' => 'argument.type', |
|
259
|
+ 'count' => 1, |
|
260
|
+ 'path' => __DIR__ . '/src/Resolver/Type/InputObjectTypeResolver.php', |
261
|
261
|
]; |
262
|
262
|
$ignoreErrors[] = [ |
263
|
|
- '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\\.$#', |
264
|
|
- 'identifier' => 'argument.type', |
265
|
|
- 'count' => 1, |
266
|
|
- 'path' => __DIR__ . '/src/Resolver/Type/InterfaceTypeResolver.php', |
|
263
|
+ '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\\.$#', |
|
264
|
+ 'identifier' => 'argument.type', |
|
265
|
+ 'count' => 1, |
|
266
|
+ 'path' => __DIR__ . '/src/Resolver/Type/InterfaceTypeResolver.php', |
267
|
267
|
]; |
268
|
268
|
$ignoreErrors[] = [ |
269
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Util\\\\Reflector\\\\Reflector\\:\\:getClasses\\(\\) return type with generic class ReflectionClass does not specify its types\\: T$#', |
270
|
|
- 'identifier' => 'missingType.generics', |
271
|
|
- 'count' => 1, |
272
|
|
- 'path' => __DIR__ . '/src/Util/Reflector/Reflector.php', |
|
269
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Util\\\\Reflector\\\\Reflector\\:\\:getClasses\\(\\) return type with generic class ReflectionClass does not specify its types\\: T$#', |
|
270
|
+ 'identifier' => 'missingType.generics', |
|
271
|
+ 'count' => 1, |
|
272
|
+ 'path' => __DIR__ . '/src/Util/Reflector/Reflector.php', |
273
|
273
|
]; |
274
|
274
|
$ignoreErrors[] = [ |
275
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Util\\\\Reflector\\\\Roave\\\\RoaveReflector\\:\\:getClasses\\(\\) return type with generic class ReflectionClass does not specify its types\\: T$#', |
276
|
|
- 'identifier' => 'missingType.generics', |
277
|
|
- 'count' => 1, |
278
|
|
- 'path' => __DIR__ . '/src/Util/Reflector/Roave/RoaveReflector.php', |
|
275
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Util\\\\Reflector\\\\Roave\\\\RoaveReflector\\:\\:getClasses\\(\\) return type with generic class ReflectionClass does not specify its types\\: T$#', |
|
276
|
+ 'identifier' => 'missingType.generics', |
|
277
|
+ 'count' => 1, |
|
278
|
+ 'path' => __DIR__ . '/src/Util/Reflector/Roave/RoaveReflector.php', |
279
|
279
|
]; |
280
|
280
|
$ignoreErrors[] = [ |
281
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\FullFeatured\\\\Query\\\\DeprecatedQuery\\:\\:doSomeWork\\(\\) never returns string so it can be removed from the return type\\.$#', |
282
|
|
- 'identifier' => 'return.unusedType', |
283
|
|
- 'count' => 1, |
284
|
|
- 'path' => __DIR__ . '/tests/Doubles/FullFeatured/Query/DeprecatedQuery.php', |
|
281
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\FullFeatured\\\\Query\\\\DeprecatedQuery\\:\\:doSomeWork\\(\\) never returns string so it can be removed from the return type\\.$#', |
|
282
|
+ 'identifier' => 'return.unusedType', |
|
283
|
+ 'count' => 1, |
|
284
|
+ 'path' => __DIR__ . '/tests/Doubles/FullFeatured/Query/DeprecatedQuery.php', |
285
|
285
|
]; |
286
|
286
|
$ignoreErrors[] = [ |
287
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\FullFeatured\\\\Type\\\\FoobarType\\:\\:getDate\\(\\) never returns null so it can be removed from the return type\\.$#', |
288
|
|
- 'identifier' => 'return.unusedType', |
289
|
|
- 'count' => 1, |
290
|
|
- 'path' => __DIR__ . '/tests/Doubles/FullFeatured/Type/FoobarType.php', |
|
287
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\FullFeatured\\\\Type\\\\FoobarType\\:\\:getDate\\(\\) never returns null so it can be removed from the return type\\.$#', |
|
288
|
+ 'identifier' => 'return.unusedType', |
|
289
|
+ 'count' => 1, |
|
290
|
+ 'path' => __DIR__ . '/tests/Doubles/FullFeatured/Type/FoobarType.php', |
291
|
291
|
]; |
292
|
292
|
$ignoreErrors[] = [ |
293
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Mutation\\\\TestInvalidMutationWithInvalidMethodArgument\\:\\:__invoke\\(\\) has parameter \\$id with no type specified\\.$#', |
294
|
|
- 'identifier' => 'missingType.parameter', |
295
|
|
- 'count' => 1, |
296
|
|
- 'path' => __DIR__ . '/tests/Doubles/Mutation/TestInvalidMutationWithInvalidMethodArgument.php', |
|
293
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Mutation\\\\TestInvalidMutationWithInvalidMethodArgument\\:\\:__invoke\\(\\) has parameter \\$id with no type specified\\.$#', |
|
294
|
+ 'identifier' => 'missingType.parameter', |
|
295
|
+ 'count' => 1, |
|
296
|
+ 'path' => __DIR__ . '/tests/Doubles/Mutation/TestInvalidMutationWithInvalidMethodArgument.php', |
297
|
297
|
]; |
298
|
298
|
$ignoreErrors[] = [ |
299
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Type\\\\TestExtendsInterfaceType\\:\\:cursor\\(\\) never returns null so it can be removed from the return type\\.$#', |
300
|
|
- 'identifier' => 'return.unusedType', |
301
|
|
- 'count' => 1, |
302
|
|
- 'path' => __DIR__ . '/tests/Doubles/Type/TestExtendsInterfaceType.php', |
|
299
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Type\\\\TestExtendsInterfaceType\\:\\:cursor\\(\\) never returns null so it can be removed from the return type\\.$#', |
|
300
|
+ 'identifier' => 'return.unusedType', |
|
301
|
+ 'count' => 1, |
|
302
|
+ 'path' => __DIR__ . '/tests/Doubles/Type/TestExtendsInterfaceType.php', |
303
|
303
|
]; |
304
|
304
|
$ignoreErrors[] = [ |
305
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Type\\\\TestType\\:\\:flow\\(\\) never returns null so it can be removed from the return type\\.$#', |
306
|
|
- 'identifier' => 'return.unusedType', |
307
|
|
- 'count' => 1, |
308
|
|
- 'path' => __DIR__ . '/tests/Doubles/Type/TestType.php', |
|
305
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Type\\\\TestType\\:\\:flow\\(\\) never returns null so it can be removed from the return type\\.$#', |
|
306
|
+ 'identifier' => 'return.unusedType', |
|
307
|
+ 'count' => 1, |
|
308
|
+ 'path' => __DIR__ . '/tests/Doubles/Type/TestType.php', |
309
|
309
|
]; |
310
|
310
|
$ignoreErrors[] = [ |
311
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Type\\\\TestTypeWithAutowire\\:\\:invalidServiceWithoutCustomId\\(\\) has parameter \\$service with no type specified\\.$#', |
312
|
|
- 'identifier' => 'missingType.parameter', |
313
|
|
- 'count' => 1, |
314
|
|
- 'path' => __DIR__ . '/tests/Doubles/Type/TestTypeWithAutowire.php', |
|
311
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Type\\\\TestTypeWithAutowire\\:\\:invalidServiceWithoutCustomId\\(\\) has parameter \\$service with no type specified\\.$#', |
|
312
|
+ 'identifier' => 'missingType.parameter', |
|
313
|
+ 'count' => 1, |
|
314
|
+ 'path' => __DIR__ . '/tests/Doubles/Type/TestTypeWithAutowire.php', |
315
|
315
|
]; |
316
|
316
|
$ignoreErrors[] = [ |
317
|
|
- 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Type\\\\TestTypeWithAutowire\\:\\:serviceWithCustomId\\(\\) has parameter \\$service with no type specified\\.$#', |
318
|
|
- 'identifier' => 'missingType.parameter', |
319
|
|
- 'count' => 1, |
320
|
|
- 'path' => __DIR__ . '/tests/Doubles/Type/TestTypeWithAutowire.php', |
|
317
|
+ 'message' => '#^Method Jerowork\\\\GraphqlAttributeSchema\\\\Test\\\\Doubles\\\\Type\\\\TestTypeWithAutowire\\:\\:serviceWithCustomId\\(\\) has parameter \\$service with no type specified\\.$#', |
|
318
|
+ 'identifier' => 'missingType.parameter', |
|
319
|
+ 'count' => 1, |
|
320
|
+ 'path' => __DIR__ . '/tests/Doubles/Type/TestTypeWithAutowire.php', |
321
|
321
|
]; |
322
|
322
|
$ignoreErrors[] = [ |
323
|
|
- 'message' => '#^Method class@anonymous/tests/NodeParser/GetClassAttributeTraitTest\\.php\\:25\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
324
|
|
- 'identifier' => 'missingType.generics', |
325
|
|
- 'count' => 1, |
326
|
|
- 'path' => __DIR__ . '/tests/NodeParser/GetClassAttributeTraitTest.php', |
|
323
|
+ 'message' => '#^Method class@anonymous/tests/NodeParser/GetClassAttributeTraitTest\\.php\\:25\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
|
324
|
+ 'identifier' => 'missingType.generics', |
|
325
|
+ 'count' => 1, |
|
326
|
+ 'path' => __DIR__ . '/tests/NodeParser/GetClassAttributeTraitTest.php', |
327
|
327
|
]; |
328
|
328
|
$ignoreErrors[] = [ |
329
|
|
- 'message' => '#^Method class@anonymous/tests/NodeParser/GetClassAttributeTraitTest\\.php\\:40\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
330
|
|
- 'identifier' => 'missingType.generics', |
331
|
|
- 'count' => 1, |
332
|
|
- 'path' => __DIR__ . '/tests/NodeParser/GetClassAttributeTraitTest.php', |
|
329
|
+ 'message' => '#^Method class@anonymous/tests/NodeParser/GetClassAttributeTraitTest\\.php\\:40\\:\\:getAttribute\\(\\) has parameter \\$reflector with generic class ReflectionClass but does not specify its types\\: T$#', |
|
330
|
+ 'identifier' => 'missingType.generics', |
|
331
|
+ 'count' => 1, |
|
332
|
+ 'path' => __DIR__ . '/tests/NodeParser/GetClassAttributeTraitTest.php', |
333
|
333
|
]; |
334
|
334
|
$ignoreErrors[] = [ |
335
|
|
- 'message' => '#^Method class@anonymous/tests/NodeParser/RetrieveNameForTypeTraitTest\\.php\\:25\\:\\:retrieveNameForType\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
336
|
|
- 'identifier' => 'missingType.generics', |
337
|
|
- 'count' => 1, |
338
|
|
- 'path' => __DIR__ . '/tests/NodeParser/RetrieveNameForTypeTraitTest.php', |
|
335
|
+ 'message' => '#^Method class@anonymous/tests/NodeParser/RetrieveNameForTypeTraitTest\\.php\\:25\\:\\:retrieveNameForType\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
336
|
+ 'identifier' => 'missingType.generics', |
|
337
|
+ 'count' => 1, |
|
338
|
+ 'path' => __DIR__ . '/tests/NodeParser/RetrieveNameForTypeTraitTest.php', |
339
|
339
|
]; |
340
|
340
|
$ignoreErrors[] = [ |
341
|
|
- 'message' => '#^Method class@anonymous/tests/NodeParser/RetrieveNameForTypeTraitTest\\.php\\:25\\:\\:retrieveNameFromClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
342
|
|
- 'identifier' => 'missingType.generics', |
343
|
|
- 'count' => 1, |
344
|
|
- 'path' => __DIR__ . '/tests/NodeParser/RetrieveNameForTypeTraitTest.php', |
|
341
|
+ 'message' => '#^Method class@anonymous/tests/NodeParser/RetrieveNameForTypeTraitTest\\.php\\:25\\:\\:retrieveNameFromClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
342
|
+ 'identifier' => 'missingType.generics', |
|
343
|
+ 'count' => 1, |
|
344
|
+ 'path' => __DIR__ . '/tests/NodeParser/RetrieveNameForTypeTraitTest.php', |
345
|
345
|
]; |
346
|
346
|
$ignoreErrors[] = [ |
347
|
|
- 'message' => '#^Method class@anonymous/tests/NodeParser/RetrieveNameForTypeTraitTest\\.php\\:40\\:\\:retrieveNameForType\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
348
|
|
- 'identifier' => 'missingType.generics', |
349
|
|
- 'count' => 1, |
350
|
|
- 'path' => __DIR__ . '/tests/NodeParser/RetrieveNameForTypeTraitTest.php', |
|
347
|
+ 'message' => '#^Method class@anonymous/tests/NodeParser/RetrieveNameForTypeTraitTest\\.php\\:40\\:\\:retrieveNameForType\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
348
|
+ 'identifier' => 'missingType.generics', |
|
349
|
+ 'count' => 1, |
|
350
|
+ 'path' => __DIR__ . '/tests/NodeParser/RetrieveNameForTypeTraitTest.php', |
351
|
351
|
]; |
352
|
352
|
$ignoreErrors[] = [ |
353
|
|
- 'message' => '#^Method class@anonymous/tests/NodeParser/RetrieveNameForTypeTraitTest\\.php\\:40\\:\\:retrieveNameFromClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
354
|
|
- 'identifier' => 'missingType.generics', |
355
|
|
- 'count' => 1, |
356
|
|
- 'path' => __DIR__ . '/tests/NodeParser/RetrieveNameForTypeTraitTest.php', |
|
353
|
+ 'message' => '#^Method class@anonymous/tests/NodeParser/RetrieveNameForTypeTraitTest\\.php\\:40\\:\\:retrieveNameFromClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
354
|
+ 'identifier' => 'missingType.generics', |
|
355
|
+ 'count' => 1, |
|
356
|
+ 'path' => __DIR__ . '/tests/NodeParser/RetrieveNameForTypeTraitTest.php', |
357
|
357
|
]; |
358
|
358
|
$ignoreErrors[] = [ |
359
|
|
- 'message' => '#^Method class@anonymous/tests/NodeParser/RetrieveNameForTypeTraitTest\\.php\\:53\\:\\:retrieveNameForType\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
360
|
|
- 'identifier' => 'missingType.generics', |
361
|
|
- 'count' => 1, |
362
|
|
- 'path' => __DIR__ . '/tests/NodeParser/RetrieveNameForTypeTraitTest.php', |
|
359
|
+ 'message' => '#^Method class@anonymous/tests/NodeParser/RetrieveNameForTypeTraitTest\\.php\\:53\\:\\:retrieveNameForType\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
360
|
+ 'identifier' => 'missingType.generics', |
|
361
|
+ 'count' => 1, |
|
362
|
+ 'path' => __DIR__ . '/tests/NodeParser/RetrieveNameForTypeTraitTest.php', |
363
|
363
|
]; |
364
|
364
|
$ignoreErrors[] = [ |
365
|
|
- 'message' => '#^Method class@anonymous/tests/NodeParser/RetrieveNameForTypeTraitTest\\.php\\:53\\:\\:retrieveNameFromClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
366
|
|
- 'identifier' => 'missingType.generics', |
367
|
|
- 'count' => 1, |
368
|
|
- 'path' => __DIR__ . '/tests/NodeParser/RetrieveNameForTypeTraitTest.php', |
|
365
|
+ 'message' => '#^Method class@anonymous/tests/NodeParser/RetrieveNameForTypeTraitTest\\.php\\:53\\:\\:retrieveNameFromClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
366
|
+ 'identifier' => 'missingType.generics', |
|
367
|
+ 'count' => 1, |
|
368
|
+ 'path' => __DIR__ . '/tests/NodeParser/RetrieveNameForTypeTraitTest.php', |
369
|
369
|
]; |
370
|
370
|
$ignoreErrors[] = [ |
371
|
|
- 'message' => '#^Method class@anonymous/tests/NodeParser/RetrieveNameForTypeTraitTest\\.php\\:66\\:\\:retrieveNameForType\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
372
|
|
- 'identifier' => 'missingType.generics', |
373
|
|
- 'count' => 1, |
374
|
|
- 'path' => __DIR__ . '/tests/NodeParser/RetrieveNameForTypeTraitTest.php', |
|
371
|
+ 'message' => '#^Method class@anonymous/tests/NodeParser/RetrieveNameForTypeTraitTest\\.php\\:66\\:\\:retrieveNameForType\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
372
|
+ 'identifier' => 'missingType.generics', |
|
373
|
+ 'count' => 1, |
|
374
|
+ 'path' => __DIR__ . '/tests/NodeParser/RetrieveNameForTypeTraitTest.php', |
375
|
375
|
]; |
376
|
376
|
$ignoreErrors[] = [ |
377
|
|
- 'message' => '#^Method class@anonymous/tests/NodeParser/RetrieveNameForTypeTraitTest\\.php\\:66\\:\\:retrieveNameFromClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
378
|
|
- 'identifier' => 'missingType.generics', |
379
|
|
- 'count' => 1, |
380
|
|
- 'path' => __DIR__ . '/tests/NodeParser/RetrieveNameForTypeTraitTest.php', |
|
377
|
+ 'message' => '#^Method class@anonymous/tests/NodeParser/RetrieveNameForTypeTraitTest\\.php\\:66\\:\\:retrieveNameFromClass\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#', |
|
378
|
+ 'identifier' => 'missingType.generics', |
|
379
|
+ 'count' => 1, |
|
380
|
+ 'path' => __DIR__ . '/tests/NodeParser/RetrieveNameForTypeTraitTest.php', |
381
|
381
|
]; |
382
|
382
|
$ignoreErrors[] = [ |
383
|
|
- '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\\.$#', |
384
|
|
- 'identifier' => 'argument.type', |
385
|
|
- 'count' => 1, |
386
|
|
- 'path' => __DIR__ . '/tests/Resolver/Type/InterfaceTypeResolverTest.php', |
|
383
|
+ '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\\.$#', |
|
384
|
+ 'identifier' => 'argument.type', |
|
385
|
+ 'count' => 1, |
|
386
|
+ 'path' => __DIR__ . '/tests/Resolver/Type/InterfaceTypeResolverTest.php', |
387
|
387
|
]; |
388
|
388
|
$ignoreErrors[] = [ |
389
|
|
- '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\\.$#', |
390
|
|
- 'identifier' => 'argument.type', |
391
|
|
- 'count' => 5, |
392
|
|
- 'path' => __DIR__ . '/tests/SchemaBuilderTest.php', |
|
389
|
+ '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\\.$#', |
|
390
|
+ 'identifier' => 'argument.type', |
|
391
|
+ 'count' => 5, |
|
392
|
+ 'path' => __DIR__ . '/tests/SchemaBuilderTest.php', |
393
|
393
|
]; |
394
|
394
|
|
395
|
395
|
return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; |