-
Notifications
You must be signed in to change notification settings - Fork 225
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
366 lines (294 loc) · 16.4 KB
/
phpstan-baseline.neon
File metadata and controls
366 lines (294 loc) · 16.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
parameters:
ignoreErrors:
-
message: "#^Access to an undefined property GraphQL\\\\Language\\\\AST\\\\Node\\:\\:\\$description\\.$#"
count: 1
path: src/Config/Parser/GraphQL/ASTConverter/DescriptionNode.php
-
message: "#^Access to an undefined property GraphQL\\\\Language\\\\AST\\\\Node\\:\\:\\$directives\\.$#"
count: 1
path: src/Config/Parser/GraphQL/ASTConverter/DirectiveNode.php
-
message: "#^Access to an undefined property GraphQL\\\\Language\\\\AST\\\\Node\\:\\:\\$values\\.$#"
count: 1
path: src/Config/Parser/GraphQL/ASTConverter/EnumNode.php
-
message: "#^Method Overblog\\\\GraphQLBundle\\\\Config\\\\Parser\\\\GraphQL\\\\ASTConverter\\\\FieldsNode\\:\\:toConfig\\(\\) should return array\\<string, mixed\\> but returns array\\<int\\|string, array\\<string, mixed\\>\\>\\.$#"
count: 1
path: src/Config/Parser/GraphQL/ASTConverter/FieldsNode.php
-
message: "#^Parameter \\#1 \\$node of static method Overblog\\\\GraphQLBundle\\\\Config\\\\Parser\\\\GraphQL\\\\ASTConverter\\\\FieldsNode\\:\\:toConfig\\(\\) expects GraphQL\\\\Language\\\\AST\\\\Node, object given\\.$#"
count: 1
path: src/Config/Parser/GraphQL/ASTConverter/FieldsNode.php
-
message: "#^Access to an undefined property GraphQL\\\\Language\\\\AST\\\\Node\\:\\:\\$type\\.$#"
count: 1
path: src/Config/Parser/GraphQL/ASTConverter/TypeNode.php
-
message: "#^Access to an undefined property GraphQL\\\\Language\\\\AST\\\\TypeNode\\:\\:\\$kind\\.$#"
count: 1
path: src/Config/Parser/GraphQL/ASTConverter/TypeNode.php
-
message: "#^Access to an undefined property GraphQL\\\\Language\\\\AST\\\\TypeNode\\:\\:\\$name\\.$#"
count: 1
path: src/Config/Parser/GraphQL/ASTConverter/TypeNode.php
-
message: "#^Access to an undefined property GraphQL\\\\Language\\\\AST\\\\TypeNode\\:\\:\\$type\\.$#"
count: 2
path: src/Config/Parser/GraphQL/ASTConverter/TypeNode.php
-
message: "#^Parameter \\#1 \\$resource of class Symfony\\\\Component\\\\Config\\\\Resource\\\\FileResource constructor expects string, string\\|false given\\.$#"
count: 1
path: src/Config/Parser/GraphQLParser.php
-
message: "#^Parameter \\#1 \\$filename of function file_get_contents expects string, string\\|false given\\.$#"
count: 1
path: src/Config/Parser/MetadataParser/MetadataParser.php
-
message: "#^Parameter \\#1 \\$resource of class Symfony\\\\Component\\\\Config\\\\Resource\\\\FileResource constructor expects string, string\\|false given\\.$#"
count: 1
path: src/Config/Parser/MetadataParser/MetadataParser.php
-
message: "#^Parameter \\#2 \\$subject of function preg_match expects string, string\\|false given\\.$#"
count: 1
path: src/Config/Parser/MetadataParser/MetadataParser.php
-
message: "#^Parameter \\#1 \\$resource of class Symfony\\\\Component\\\\Config\\\\Resource\\\\FileResource constructor expects string, string\\|false given\\.$#"
count: 1
path: src/Config/Parser/YamlParser.php
-
message: "#^Parameter \\#1 \\$value of method Symfony\\\\Component\\\\Yaml\\\\Parser\\:\\:parse\\(\\) expects string, string\\|false given\\.$#"
count: 1
path: src/Config/Parser/YamlParser.php
-
message: "#^Parameter \\#1 \\$path of function dirname expects string, string\\|false given\\.$#"
count: 1
path: src/DependencyInjection/Compiler/ConfigParserPass.php
-
message: "#^Result of \\|\\| is always false\\.$#"
count: 1
path: src/Error/UserErrors.php
-
message: "#^Call to function array_key_exists\\(\\) with 'defaultValue' and Overblog\\\\GraphQLBundle\\\\Generator\\\\Model\\\\ArgumentConfig will always evaluate to false\\.$#"
count: 1
path: src/Generator/ConfigBuilder/FieldsBuilder.php
-
message: "#^Call to function array_key_exists\\(\\) with 'defaultValue' and Overblog\\\\GraphQLBundle\\\\Generator\\\\Model\\\\FieldConfig will always evaluate to false\\.$#"
count: 1
path: src/Generator/ConfigBuilder/FieldsBuilder.php
-
message: "#^Parameter \\#1 \\$config of method Overblog\\\\GraphQLBundle\\\\Generator\\\\ValidationRulesBuilder\\:\\:build\\(\\) expects array\\('constraints' \\=\\> array, 'link' \\=\\> string, 'cascade' \\=\\> array\\), array given\\.$#"
count: 2
path: src/Generator/ConfigBuilder/FieldsBuilder.php
-
message: "#^Parameter \\#1 \\$config of method Overblog\\\\GraphQLBundle\\\\Generator\\\\ValidationRulesBuilder\\:\\:build\\(\\) expects array\\('constraints' \\=\\> array, 'link' \\=\\> string, 'cascade' \\=\\> array\\), array&nonEmpty given\\.$#"
count: 1
path: src/Generator/ConfigBuilder/FieldsBuilder.php
-
message: "#^Parameter \\#2 \\$search of function array_key_exists expects array, Overblog\\\\GraphQLBundle\\\\Generator\\\\Model\\\\ArgumentConfig given\\.$#"
count: 1
path: src/Generator/ConfigBuilder/FieldsBuilder.php
-
message: "#^Parameter \\#2 \\$search of function array_key_exists expects array, Overblog\\\\GraphQLBundle\\\\Generator\\\\Model\\\\FieldConfig given\\.$#"
count: 1
path: src/Generator/ConfigBuilder/FieldsBuilder.php
-
message: "#^Parameter \\#1 \\$config of method Overblog\\\\GraphQLBundle\\\\Generator\\\\ValidationRulesBuilder\\:\\:build\\(\\) expects array\\('constraints' \\=\\> array, 'link' \\=\\> string, 'cascade' \\=\\> array\\), array given\\.$#"
count: 1
path: src/Generator/ConfigBuilder/ValidationBuilder.php
-
message: "#^Strict comparison using \\=\\=\\= between null and Composer\\\\Autoload\\\\ClassLoader will always evaluate to false\\.$#"
count: 1
path: src/Generator/TypeGenerator.php
-
message: "#^Property Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\Output\\\\Connection\\:\\:\\$edges \\(array\\<Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\EdgeInterface\\>\\) does not accept iterable\\<Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\EdgeInterface\\>\\.$#"
count: 1
path: src/Relay/Connection/Output/Connection.php
-
message: "#^Possibly invalid array key type \\(array\\|string\\|null\\)\\.$#"
count: 1
path: src/Relay/Mutation/InputDefinition.php
-
message: "#^Method Overblog\\\\GraphQLBundle\\\\Relay\\\\Mutation\\\\MutationFieldDefinition\\:\\:cleanMutateAndGetPayload\\(\\) should return string but returns string\\|false\\.$#"
count: 1
path: src/Relay/Mutation/MutationFieldDefinition.php
-
message: "#^Possibly invalid array key type \\(array\\|string\\|null\\)\\.$#"
count: 1
path: src/Relay/Mutation/PayloadDefinition.php
-
message: "#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#"
count: 1
path: src/Resolver/TypeResolver.php
-
message: "#^Array \\(array\\<Symfony\\\\Component\\\\Validator\\\\Mapping\\\\PropertyMetadata\\>\\) does not accept Overblog\\\\GraphQLBundle\\\\Validator\\\\Mapping\\\\PropertyMetadata\\.$#"
count: 1
path: src/Validator/Mapping/ObjectMetadata.php
-
message: "#^Call to an undefined method ReflectionMethod\\|ReflectionProperty\\:\\:getValue\\(\\)\\.$#"
count: 1
path: src/Validator/Mapping/PropertyMetadata.php
-
message: "#^Access to an undefined property GraphQL\\\\Language\\\\AST\\\\Node\\:\\:\\$value\\.$#"
count: 1
path: tests/Config/Parser/fixtures/annotations/Scalar/GalaxyCoordinates.php
-
message: "#^Method Overblog\\\\GraphQLBundle\\\\Tests\\\\Config\\\\Parser\\\\fixtures\\\\annotations\\\\Scalar\\\\GalaxyCoordinates\\:\\:parseLiteral\\(\\) should return DateTimeInterface but returns array\\<int, string\\>\\.$#"
count: 1
path: tests/Config/Parser/fixtures/annotations/Scalar/GalaxyCoordinates.php
-
message: "#^Method Overblog\\\\GraphQLBundle\\\\Tests\\\\Config\\\\Parser\\\\fixtures\\\\annotations\\\\Scalar\\\\GalaxyCoordinates\\:\\:parseValue\\(\\) should return DateTimeInterface but returns array\\<int, string\\>\\.$#"
count: 1
path: tests/Config/Parser/fixtures/annotations/Scalar/GalaxyCoordinates.php
-
message: "#^Parameter \\#1 \\$errors of class Overblog\\\\GraphQLBundle\\\\Error\\\\UserErrors constructor expects array\\<GraphQL\\\\Error\\\\UserError\\|string\\>, array\\<int, string\\|false\\> given\\.$#"
count: 1
path: tests/Error/ErrorHandlerTest.php
-
message: "#^Parameter \\#1 \\$exceptionMap of class Overblog\\\\GraphQLBundle\\\\Error\\\\ExceptionConverter constructor expects array\\<string, string\\>, array\\<string, array\\<string\\>\\> given\\.$#"
count: 1
path: tests/Error/ExceptionConverterTest.php
-
message: "#^Call to method disableOriginalConstructor\\(\\) on an unknown class PHPUnit_Framework_MockObject_MockBuilder\\.$#"
count: 1
path: tests/ExpressionLanguage/ExpressionFunction/GraphQL/ArgumentsTest.php
-
message: "#^Call to method getMock\\(\\) on an unknown class PHPUnit_Framework_MockObject_MockBuilder\\.$#"
count: 4
path: tests/ExpressionLanguage/ExpressionFunction/Security/GetUserTest.php
-
message: "#^Call to method disableOriginalConstructor\\(\\) on an unknown class PHPUnit_Framework_MockObject_MockBuilder\\.$#"
count: 1
path: tests/ExpressionLanguage/TestCase.php
-
message: "#^Call to method setMethods\\(\\) on an unknown class PHPUnit_Framework_MockObject_MockBuilder\\.$#"
count: 1
path: tests/ExpressionLanguage/TestCase.php
-
message: "#^Call to an undefined method Symfony\\\\Component\\\\HttpKernel\\\\KernelInterface\\:\\:isBooted\\(\\)\\.$#"
count: 1
path: tests/Functional/BootTest.php
-
message: "#^Parameter \\#1 \\$command of class Symfony\\\\Component\\\\Console\\\\Tester\\\\CommandTester constructor expects Symfony\\\\Component\\\\Console\\\\Command\\\\Command, object\\|null given\\.$#"
count: 1
path: tests/Functional/Command/CompileCommandTest.php
-
message: "#^Parameter \\#1 \\$command of class Symfony\\\\Component\\\\Console\\\\Tester\\\\CommandTester constructor expects Symfony\\\\Component\\\\Console\\\\Command\\\\Command, object\\|null given\\.$#"
count: 1
path: tests/Functional/Command/DebugCommandTest.php
-
message: "#^Parameter \\#1 \\$command of class Symfony\\\\Component\\\\Console\\\\Tester\\\\CommandTester constructor expects Symfony\\\\Component\\\\Console\\\\Command\\\\Command, object\\|null given\\.$#"
count: 1
path: tests/Functional/Command/GraphDumpSchemaCommandTest.php
-
message: "#^Parameter \\#1 \\$command of class Symfony\\\\Component\\\\Console\\\\Tester\\\\CommandTester constructor expects Symfony\\\\Component\\\\Console\\\\Command\\\\Command, object\\|null given\\.$#"
count: 1
path: tests/Functional/Command/ValidateCommandTest.php
-
message: "#^Property Overblog\\\\GraphQLBundle\\\\Tests\\\\Functional\\\\Command\\\\ValidateCommandTest\\:\\:\\$command \\(Overblog\\\\GraphQLBundle\\\\Command\\\\ValidateCommand\\) does not accept object\\|null\\.$#"
count: 1
path: tests/Functional/Command/ValidateCommandTest.php
-
message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#"
count: 5
path: tests/Functional/Controller/GraphControllerTest.php
-
message: "#^Parameter \\#3 \\$message of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) expects string, string\\|false given\\.$#"
count: 5
path: tests/Functional/Controller/GraphControllerTest.php
-
message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#"
count: 1
path: tests/Functional/TestCase.php
-
message: "#^Parameter \\#3 \\$message of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) expects string, string\\|false given\\.$#"
count: 1
path: tests/Functional/TestCase.php
-
message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#"
count: 1
path: tests/Functional/Upload/UploadTest.php
-
message: "#^Cannot access offset mixed on iterable\\<Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\EdgeInterface\\>\\.$#"
count: 2
path: tests/Relay/Connection/AbstractConnectionBuilderTest.php
-
message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, iterable\\<Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\EdgeInterface\\> given\\.$#"
count: 1
path: tests/Relay/Connection/AbstractConnectionBuilderTest.php
-
message: "#^Cannot access offset 0 on iterable\\<Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\EdgeInterface\\>\\.$#"
count: 4
path: tests/Relay/Connection/ConnectionBuilderTest.php
-
message: "#^Cannot access offset 1 on iterable\\<Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\EdgeInterface\\>\\.$#"
count: 4
path: tests/Relay/Connection/ConnectionBuilderTest.php
-
message: "#^Cannot access offset 2 on iterable\\<Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\EdgeInterface\\>\\.$#"
count: 1
path: tests/Relay/Connection/ConnectionBuilderTest.php
-
message: "#^Cannot access offset 3 on iterable\\<Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\EdgeInterface\\>\\.$#"
count: 1
path: tests/Relay/Connection/ConnectionBuilderTest.php
-
message: "#^Access to an undefined property Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\EdgeInterface\\:\\:\\$cursor\\.$#"
count: 1
path: tests/Relay/Connection/Output/DeprecatedPropertyPublicAccessTraitTest.php
-
message: "#^Access to an undefined property Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\EdgeInterface\\:\\:\\$node\\.$#"
count: 1
path: tests/Relay/Connection/Output/DeprecatedPropertyPublicAccessTraitTest.php
-
message: "#^Access to an undefined property Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\Output\\\\Connection\\:\\:\\$extra\\.$#"
count: 1
path: tests/Relay/Connection/Output/DeprecatedPropertyPublicAccessTraitTest.php
-
message: "#^Access to an undefined property Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\PageInfoInterface\\:\\:\\$endCursor\\.$#"
count: 1
path: tests/Relay/Connection/Output/DeprecatedPropertyPublicAccessTraitTest.php
-
message: "#^Access to an undefined property Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\PageInfoInterface\\:\\:\\$hasNextPage\\.$#"
count: 1
path: tests/Relay/Connection/Output/DeprecatedPropertyPublicAccessTraitTest.php
-
message: "#^Access to an undefined property Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\PageInfoInterface\\:\\:\\$hasPreviousPage\\.$#"
count: 1
path: tests/Relay/Connection/Output/DeprecatedPropertyPublicAccessTraitTest.php
-
message: "#^Access to an undefined property Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\PageInfoInterface\\:\\:\\$startCursor\\.$#"
count: 1
path: tests/Relay/Connection/Output/DeprecatedPropertyPublicAccessTraitTest.php
-
message: "#^Access to protected property Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\Output\\\\Connection\\:\\:\\$edges\\.$#"
count: 2
path: tests/Relay/Connection/Output/DeprecatedPropertyPublicAccessTraitTest.php
-
message: "#^Access to protected property Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\Output\\\\Connection\\:\\:\\$pageInfo\\.$#"
count: 2
path: tests/Relay/Connection/Output/DeprecatedPropertyPublicAccessTraitTest.php
-
message: "#^Access to protected property Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\Output\\\\Edge\\:\\:\\$cursor\\.$#"
count: 1
path: tests/Relay/Connection/Output/DeprecatedPropertyPublicAccessTraitTest.php
-
message: "#^Access to protected property Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\Output\\\\Edge\\:\\:\\$node\\.$#"
count: 1
path: tests/Relay/Connection/Output/DeprecatedPropertyPublicAccessTraitTest.php
-
message: "#^Access to protected property Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\Output\\\\PageInfo\\:\\:\\$endCursor\\.$#"
count: 1
path: tests/Relay/Connection/Output/DeprecatedPropertyPublicAccessTraitTest.php
-
message: "#^Access to protected property Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\Output\\\\PageInfo\\:\\:\\$hasNextPage\\.$#"
count: 1
path: tests/Relay/Connection/Output/DeprecatedPropertyPublicAccessTraitTest.php
-
message: "#^Access to protected property Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\Output\\\\PageInfo\\:\\:\\$hasPreviousPage\\.$#"
count: 1
path: tests/Relay/Connection/Output/DeprecatedPropertyPublicAccessTraitTest.php
-
message: "#^Access to protected property Overblog\\\\GraphQLBundle\\\\Relay\\\\Connection\\\\Output\\\\PageInfo\\:\\:\\$startCursor\\.$#"
count: 1
path: tests/Relay/Connection/Output/DeprecatedPropertyPublicAccessTraitTest.php