-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpstan.neon
508 lines (415 loc) · 38 KB
/
phpstan.neon
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
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
includes:
- vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon
- vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-webmozart-assert/extension.neon
# https://phpstan.org/blog/what-is-bleeding-edge
#- phar://phpstan.phar/conf/bleedingEdge.neon
#- vendor/phpstan/phpstan/conf/bleedingEdge.neon
rules:
# kept from vendor/ergebnis/phpstan-rules/rules.neon version ^1.0, the others are considered as too restricting
- Ergebnis\PHPStan\Rules\Expressions\NoCompactRule
- Ergebnis\PHPStan\Rules\Expressions\NoErrorSuppressionRule
- Ergebnis\PHPStan\Rules\Expressions\NoEvalRule
- Ergebnis\PHPStan\Rules\Expressions\NoIssetRule
- Ergebnis\PHPStan\Rules\Files\DeclareStrictTypesRule
- Ergebnis\PHPStan\Rules\Methods\PrivateInFinalClassRule
parameters:
level: 9
treatPhpDocTypesAsCertain: false
checkGenericClassInNonGenericObjectType: true
#errorFormat: json
#tipsOfTheDay: false
# https://phpstan.org/config-reference#stricter-analysis
checkTooWideReturnTypesInProtectedAndPublicMethods: true
checkUninitializedProperties: true
rememberPossiblyImpureFunctionValues: false
checkImplicitMixed: true
checkBenevolentUnionTypes: true
checkMissingCallableSignature: true
# https://phpstan.org/blog/bring-your-exceptions-under-control
#exceptions:
# check:
# missingCheckedExceptionInThrows: true
typeAliases:
simple_primitive: 'bool|float|int|string'
JsonApiRelationship: 'array{type: non-empty-string, id: non-empty-string}'
JsonApiRelationships: 'array<non-empty-string, array{data: list<JsonApiRelationship>|JsonApiRelationship|null}>'
paths:
- packages/access-definitions/src
- packages/dql/src
- packages/extra/src
- packages/jsonapi/src
- packages/paths/src
- packages/queries/src
# Note: use `\w+(\\\w+)+\\(\w+)` to `$2` replacement to remove namespaces in phpstan error messages, making it a bit more readable
# Note: use `grep path: phpstan.neon | sort | uniq -c | awk '{print $1} {print $3}'` to get the list of classes with their count of errors
ignoreErrors:
-
message: "#^Parameter \\#1 \\$baseFunction of class EDT\\\\DqlQuerying\\\\Functions\\\\LowerCase constructor expects EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<string\\|null\\>, EDT\\\\DqlQuerying\\\\Functions\\\\Value\\<mixed\\> given\\.$#"
count: 3
path: packages/dql/src/ConditionFactories/DqlConditionFactory.php
-
message: "#^Parameter \\#1 \\$contains of class EDT\\\\DqlQuerying\\\\Functions\\\\OneOf constructor expects EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<array\\>, EDT\\\\DqlQuerying\\\\Functions\\\\Value\\<mixed\\> given\\.$#"
count: 1
path: packages/dql/src/ConditionFactories/DqlConditionFactory.php
-
message: "#^Parameter \\#1 \\$firstFunction of class EDT\\\\DqlQuerying\\\\Functions\\\\AllEqual constructor expects EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<mixed\\>, EDT\\\\DqlQuerying\\\\Functions\\\\Size given\\.$#"
count: 1
path: packages/dql/src/ConditionFactories/DqlConditionFactory.php
-
message: "#^Parameter \\#1 \\$min of class EDT\\\\DqlQuerying\\\\Functions\\\\BetweenInclusive constructor expects EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<float\\|int\\|numeric\\-string\\>, EDT\\\\DqlQuerying\\\\Functions\\\\Value\\<mixed\\> given\\.$#"
count: 1
path: packages/dql/src/ConditionFactories/DqlConditionFactory.php
-
message: "#^Parameter \\#1 \\$valueClause of class EDT\\\\DqlQuerying\\\\Functions\\\\IsInstanceOf constructor expects EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<non\\-empty\\-string\\>, EDT\\\\DqlQuerying\\\\Functions\\\\TargetEntity given\\.$#"
count: 1
path: packages/dql/src/ConditionFactories/DqlConditionFactory.php
-
message: "#^Parameter \\#2 \\$max of class EDT\\\\DqlQuerying\\\\Functions\\\\BetweenInclusive constructor expects EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<float\\|int\\|numeric\\-string\\>, EDT\\\\DqlQuerying\\\\Functions\\\\Value\\<mixed\\> given\\.$#"
count: 1
path: packages/dql/src/ConditionFactories/DqlConditionFactory.php
-
message: "#^Parameter \\#2 \\$typeClause of class EDT\\\\DqlQuerying\\\\Functions\\\\IsInstanceOf constructor expects EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<class\\-string\\>, EDT\\\\DqlQuerying\\\\Functions\\\\Value\\<mixed\\> given\\.$#"
count: 1
path: packages/dql/src/ConditionFactories/DqlConditionFactory.php
-
message: "#^Method EDT\\\\DqlQuerying\\\\Functions\\\\AbstractClauseFunction\\:\\:unflatClauseReferences\\(\\) should return array\\<int, array\\<int, string\\>\\> but returns array\\<int, array\\<int, mixed\\>\\>\\.$#"
count: 1
path: packages/dql/src/Functions/AbstractClauseFunction.php
-
message: "#^Method EDT\\\\DqlQuerying\\\\Functions\\\\AbstractClauseFunction\\:\\:unflatPropertyAliases\\(\\) should return array\\<int, array\\<int, string\\>\\> but returns array\\<int, array\\<int, mixed\\>\\>\\.$#"
count: 1
path: packages/dql/src/Functions/AbstractClauseFunction.php
-
message: "#^Property EDT\\\\DqlQuerying\\\\Functions\\\\AbstractClauseFunction\\<TOutput\\>\\:\\:\\$clauses \\(array\\<int, EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseInterface\\>\\) does not accept array\\<int\\|string, EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseInterface\\>\\.$#"
count: 1
path: packages/dql/src/Functions/AbstractClauseFunction.php
-
message: "#^Parameter \\#1 \\$function of class EDT\\\\Querying\\\\Functions\\\\AllEqual constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\Querying\\\\Functions\\\\Value\\<bool\\> given\\.$#"
count: 1
path: packages/dql/src/Functions/AllTrue.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$functions of class EDT\\\\Querying\\\\Functions\\\\AllEqual constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<bool\\> given\\.$#"
count: 1
path: packages/dql/src/Functions/AllTrue.php
-
message: "#^Parameter \\#3 \\.\\.\\.\\$functions of class EDT\\\\Querying\\\\Functions\\\\AllEqual constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<bool\\> given\\.$#"
count: 1
path: packages/dql/src/Functions/AllTrue.php
-
message: "#^Parameter \\#1 \\$function of class EDT\\\\Querying\\\\Functions\\\\BetweenInclusive constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<float\\|int\\|numeric\\-string\\> given\\.$#"
count: 1
path: packages/dql/src/Functions/BetweenInclusive.php
-
message: "#^Parameter \\#2 \\$x of method Doctrine\\\\ORM\\\\Query\\\\Expr\\:\\:between\\(\\) expects int\\|string, Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Base\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Comparison\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Func\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Math\\|string given\\.$#"
count: 1
path: packages/dql/src/Functions/BetweenInclusive.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$functions of class EDT\\\\Querying\\\\Functions\\\\BetweenInclusive constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<float\\|int\\|numeric\\-string\\> given\\.$#"
count: 1
path: packages/dql/src/Functions/BetweenInclusive.php
-
message: "#^Parameter \\#3 \\$y of method Doctrine\\\\ORM\\\\Query\\\\Expr\\:\\:between\\(\\) expects int\\|string, Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Base\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Comparison\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Func\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Math\\|string given\\.$#"
count: 1
path: packages/dql/src/Functions/BetweenInclusive.php
-
message: "#^Parameter \\#3 \\.\\.\\.\\$functions of class EDT\\\\Querying\\\\Functions\\\\BetweenInclusive constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<float\\|int\\|numeric\\-string\\> given\\.$#"
count: 1
path: packages/dql/src/Functions/BetweenInclusive.php
-
message: "#^Method EDT\\\\DqlQuerying\\\\Functions\\\\Greater\\:\\:__construct\\(\\) has parameter \\$left with generic interface EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface but does not specify its types\\: TOutput$#"
count: 1
path: packages/dql/src/Functions/Greater.php
-
message: "#^Method EDT\\\\DqlQuerying\\\\Functions\\\\Greater\\:\\:__construct\\(\\) has parameter \\$right with generic interface EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface but does not specify its types\\: TOutput$#"
count: 1
path: packages/dql/src/Functions/Greater.php
-
message: "#^Method EDT\\\\DqlQuerying\\\\Functions\\\\GreaterEquals\\:\\:__construct\\(\\) has parameter \\$left with generic interface EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface but does not specify its types\\: TOutput$#"
count: 1
path: packages/dql/src/Functions/GreaterEquals.php
-
message: "#^Method EDT\\\\DqlQuerying\\\\Functions\\\\GreaterEquals\\:\\:__construct\\(\\) has parameter \\$right with generic interface EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface but does not specify its types\\: TOutput$#"
count: 1
path: packages/dql/src/Functions/GreaterEquals.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$functions of class EDT\\\\Querying\\\\Functions\\\\IsInstanceOf constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<non\\-empty\\-string\\>, EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<class\\-string\\> given\\.$#"
count: 1
path: packages/dql/src/Functions/IsInstanceOf.php
-
message: "#^Parameter \\#1 \\$function of class EDT\\\\Querying\\\\Functions\\\\OneOf constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<array\\<int, V\\>\\|V\\>, EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<array\\<V\\>\\> given\\.$#"
count: 1
path: packages/dql/src/Functions/IsMemberOf.php
-
message: "#^Parameter \\#1 \\$x of method Doctrine\\\\ORM\\\\Query\\\\Expr\\:\\:isMemberOf\\(\\) expects string, Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Base\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Comparison\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Func\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Math\\|string given\\.$#"
count: 1
path: packages/dql/src/Functions/IsMemberOf.php
-
message: "#^Parameter \\#2 \\$y of method Doctrine\\\\ORM\\\\Query\\\\Expr\\:\\:isMemberOf\\(\\) expects string, Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Base\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Comparison\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Func\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Math\\|string given\\.$#"
count: 1
path: packages/dql/src/Functions/IsMemberOf.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$functions of class EDT\\\\Querying\\\\Functions\\\\OneOf constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<array\\<int, V\\>\\|V\\>, EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<V\\> given\\.$#"
count: 1
path: packages/dql/src/Functions/IsMemberOf.php
-
message: "#^Parameter \\#1 \\$x of method Doctrine\\\\ORM\\\\Query\\\\Expr\\:\\:isNull\\(\\) expects string, Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Comparison\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Composite\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Func\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Math\\|string given\\.$#"
count: 1
path: packages/dql/src/Functions/IsNull.php
-
message: "#^Parameter \\#1 \\$function of class EDT\\\\Querying\\\\Functions\\\\OneOf constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<array\\<int, TValue\\>\\|TValue\\>, EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<array\\<TValue\\>\\> given\\.$#"
count: 1
path: packages/dql/src/Functions/OneOf.php
-
message: "#^Parameter \\#1 \\$x of method Doctrine\\\\ORM\\\\Query\\\\Expr\\:\\:in\\(\\) expects string, Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Base\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Comparison\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Func\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Math\\|string given\\.$#"
count: 1
path: packages/dql/src/Functions/OneOf.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$functions of class EDT\\\\Querying\\\\Functions\\\\OneOf constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<array\\<int, TValue\\>\\|TValue\\>, EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface\\<TValue\\> given\\.$#"
count: 1
path: packages/dql/src/Functions/OneOf.php
-
message: "#^Method EDT\\\\DqlQuerying\\\\Functions\\\\Product\\:\\:asDql\\(\\) should return Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Comparison\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Composite\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Func\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Math\\|string but returns Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Base\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Comparison\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Func\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Math\\|string\\|null\\.$#"
count: 1
path: packages/dql/src/Functions/Product.php
-
message: "#^Method EDT\\\\DqlQuerying\\\\Functions\\\\Smaller\\:\\:__construct\\(\\) has parameter \\$left with generic interface EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface but does not specify its types\\: TOutput$#"
count: 1
path: packages/dql/src/Functions/Smaller.php
-
message: "#^Method EDT\\\\DqlQuerying\\\\Functions\\\\Smaller\\:\\:__construct\\(\\) has parameter \\$right with generic interface EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface but does not specify its types\\: TOutput$#"
count: 1
path: packages/dql/src/Functions/Smaller.php
-
message: "#^Method EDT\\\\DqlQuerying\\\\Functions\\\\SmallerEquals\\:\\:__construct\\(\\) has parameter \\$left with generic interface EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface but does not specify its types\\: TOutput$#"
count: 1
path: packages/dql/src/Functions/SmallerEquals.php
-
message: "#^Method EDT\\\\DqlQuerying\\\\Functions\\\\SmallerEquals\\:\\:__construct\\(\\) has parameter \\$right with generic interface EDT\\\\DqlQuerying\\\\Contracts\\\\ClauseFunctionInterface but does not specify its types\\: TOutput$#"
count: 1
path: packages/dql/src/Functions/SmallerEquals.php
-
message: "#^Parameter \\#1 \\$x of method Doctrine\\\\ORM\\\\Query\\\\Expr\\:\\:like\\(\\) expects string, Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Base\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Comparison\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Func\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Math\\|string given\\.$#"
count: 1
path: packages/dql/src/Functions/StringContains.php
-
message: "#^Parameter \\#1 \\$x of method Doctrine\\\\ORM\\\\Query\\\\Expr\\:\\:like\\(\\) expects string, Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Base\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Comparison\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Func\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Math\\|string given\\.$#"
count: 1
path: packages/dql/src/Functions/StringEndsWith.php
-
message: "#^Parameter \\#1 \\$x of method Doctrine\\\\ORM\\\\Query\\\\Expr\\:\\:like\\(\\) expects string, Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Base\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Comparison\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Func\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Math\\|string given\\.$#"
count: 1
path: packages/dql/src/Functions/StringStartsWith.php
-
message: "#^Method EDT\\\\DqlQuerying\\\\Functions\\\\Sum\\:\\:asDql\\(\\) should return Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Comparison\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Composite\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Func\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Math\\|string but returns Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Base\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Comparison\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Func\\|Doctrine\\\\ORM\\\\Query\\\\Expr\\\\Math\\|string\\.$#"
count: 1
path: packages/dql/src/Functions/Sum.php
-
message: "#^Parameter \\#1 \\$array of function array_keys expects array, mixed given\\.$#"
count: 1
path: packages/extra/src/Querying/ConditionParsers/Drupal/DrupalFilterValidator.php
-
message: "#^Method EDT\\\\Querying\\\\ConditionParsers\\\\Drupal\\\\PredefinedDrupalConditionFactory\\:\\:assertPath\\(\\) has parameter \\$path with no value type specified in iterable type array\\.$#"
count: 1
path: packages/extra/src/Querying/ConditionParsers/Drupal/PredefinedDrupalConditionFactory.php
-
message: "#^Method EDT\\\\JsonApi\\\\ApiDocumentation\\\\OpenApiTranslator\\:\\:trans\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#"
count: 1
path: packages/jsonapi/src/ApiDocumentation/OpenApiTranslator.php
-
message: "#^Method EDT\\\\JsonApi\\\\OutputHandling\\\\DynamicTransformer\\:\\:processIncludedResources\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: packages/jsonapi/src/OutputHandling/DynamicTransformer.php
-
message: "#^Parameter \\#1 \\$properties of method EDT\\\\JsonApi\\\\RequestHandling\\\\MessageFormatter\\:\\:propertiesToString\\(\\) expects non\\-empty\\-array\\<int, non\\-empty\\-string\\>, non\\-empty\\-array given\\.$#"
count: 1
path: packages/jsonapi/src/OutputHandling/DynamicTransformer.php
-
message: "#^Method EDT\\\\JsonApi\\\\Pagination\\\\OffsetPaginationParser\\:\\:getValidatedPage\\(\\) should return array\\{offset\\: numeric\\-string, limit\\: numeric\\-string\\} but returns array\\.$#"
count: 1
path: packages/jsonapi/src/Pagination/OffsetPaginationParser.php
-
message: "#^Method EDT\\\\JsonApi\\\\Pagination\\\\PagePaginationParser\\:\\:getValidatedPage\\(\\) should return array\\{size\\?\\: non\\-empty\\-string, number\\?\\: non\\-empty\\-string\\} but returns array\\.$#"
count: 1
path: packages/jsonapi/src/Pagination/PagePaginationParser.php
-
message: """
#^Call to deprecated method readable\\(\\) of class EDT\\\\JsonApi\\\\PropertyConfig\\\\Builder\\\\AttributeConfigBuilder\\:
use \\{@link setReadableByPath\\(\\)\\} or \\{@link setReadableByCallable\\(\\)\\} instead$#
"""
count: 2
path: packages/jsonapi/src/PropertyConfig/Builder/AttributeConfigBuilder.php
-
message: "#^Parameter \\#1 \\$behaviorFactory of method EDT\\\\JsonApi\\\\PropertyConfig\\\\Builder\\\\AbstractPropertyConfigBuilder\\<TEntity of object,array\\<int\\|string, mixed\\>\\|bool\\|float\\|int\\|string\\|null,EDT\\\\Wrapping\\\\PropertyBehavior\\\\ConstructorBehaviorFactoryInterface,EDT\\\\Wrapping\\\\PropertyBehavior\\\\PropertyUpdatabilityFactoryInterface\\<TEntity of object\\>,EDT\\\\Wrapping\\\\PropertyBehavior\\\\PropertyUpdatabilityFactoryInterface\\<TEntity of object\\>\\>\\:\\:addCreationBehavior\\(\\) expects EDT\\\\Wrapping\\\\PropertyBehavior\\\\PropertyUpdatabilityFactoryInterface\\<TEntity of object\\>, EDT\\\\Wrapping\\\\PropertyBehavior\\\\Attribute\\\\Factory\\\\PathAttributeSetBehaviorFactory\\<object\\> given\\.$#"
count: 1
path: packages/jsonapi/src/PropertyConfig/Builder/AttributeConfigBuilder.php
-
message: "#^Parameter \\#1 \\$behaviorFactory of method EDT\\\\JsonApi\\\\PropertyConfig\\\\Builder\\\\AbstractPropertyConfigBuilder\\<TEntity of object,array\\<int\\|string, mixed\\>\\|bool\\|float\\|int\\|string\\|null,EDT\\\\Wrapping\\\\PropertyBehavior\\\\ConstructorBehaviorFactoryInterface,EDT\\\\Wrapping\\\\PropertyBehavior\\\\PropertyUpdatabilityFactoryInterface\\<TEntity of object\\>,EDT\\\\Wrapping\\\\PropertyBehavior\\\\PropertyUpdatabilityFactoryInterface\\<TEntity of object\\>\\>\\:\\:addUpdateBehavior\\(\\) expects EDT\\\\Wrapping\\\\PropertyBehavior\\\\PropertyUpdatabilityFactoryInterface\\<TEntity of object\\>, EDT\\\\Wrapping\\\\PropertyBehavior\\\\Attribute\\\\Factory\\\\PathAttributeSetBehaviorFactory\\<object\\> given\\.$#"
count: 1
path: packages/jsonapi/src/PropertyConfig/Builder/AttributeConfigBuilder.php
-
message: """
#^Call to deprecated method readable\\(\\) of class EDT\\\\JsonApi\\\\PropertyConfig\\\\Builder\\\\IdentifierConfigBuilder\\:
use \\{@link setReadableByPath\\} or \\{@link setReadableByCallable\\} instead$#
"""
count: 2
path: packages/jsonapi/src/PropertyConfig/Builder/IdentifierConfigBuilder.php
-
message: "#^Parameter \\#1 \\$behaviorFactory of method EDT\\\\JsonApi\\\\PropertyConfig\\\\Builder\\\\IdentifierConfigBuilder\\<TEntity of object\\>\\:\\:addCreationBehavior\\(\\) expects EDT\\\\Wrapping\\\\PropertyBehavior\\\\Identifier\\\\Factory\\\\IdentifierPostConstructorBehaviorFactoryInterface\\<TEntity of object\\>, EDT\\\\Wrapping\\\\PropertyBehavior\\\\Identifier\\\\Factory\\\\IdentifierPostConstructorBehaviorFactoryInterface\\<object\\> given\\.$#"
count: 1
path: packages/jsonapi/src/PropertyConfig/Builder/IdentifierConfigBuilder.php
-
message: """
#^Call to deprecated method readable\\(\\) of class EDT\\\\JsonApi\\\\PropertyConfig\\\\Builder\\\\RelationshipConfigBuilder\\:
use \\{@link setReadableByPath\\(\\)\\} or \\{@link setReadableByCallable\\(\\)\\} instead$#
"""
count: 2
path: packages/jsonapi/src/PropertyConfig/Builder/RelationshipConfigBuilder.php
-
message: """
#^Call to deprecated method updatable\\(\\) of interface EDT\\\\JsonApi\\\\PropertyConfig\\\\Builder\\\\RelationshipConfigBuilderInterface\\:
use \\{@link addPathUpdateBehavior\\(\\)\\} or \\{@link addUpdateBehavior\\(\\)\\} instead\\.$#
"""
count: 1
path: packages/jsonapi/src/PropertyConfig/Builder/RelationshipConfigBuilder.php
-
message: "#^Parameter \\#1 \\$behaviorFactory of method EDT\\\\JsonApi\\\\PropertyConfig\\\\Builder\\\\AbstractPropertyConfigBuilder\\<TEntity of object,array\\<int, TRelationship of object\\>,EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipConstructorBehaviorFactoryInterface,EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipSetBehaviorFactoryInterface\\<TEntity of object, TRelationship of object\\>,EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipSetBehaviorFactoryInterface\\<TEntity of object, TRelationship of object\\>\\>\\:\\:addCreationBehavior\\(\\) expects EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipSetBehaviorFactoryInterface\\<TEntity of object, TRelationship of object\\>, EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipSetBehaviorFactoryInterface\\<object, object\\> given\\.$#"
count: 1
path: packages/jsonapi/src/PropertyConfig/Builder/ToManyRelationshipConfigBuilder.php
-
message: "#^Parameter \\#1 \\$behaviorFactory of method EDT\\\\JsonApi\\\\PropertyConfig\\\\Builder\\\\AbstractPropertyConfigBuilder\\<TEntity of object,array\\<int, TRelationship of object\\>,EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipConstructorBehaviorFactoryInterface,EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipSetBehaviorFactoryInterface\\<TEntity of object, TRelationship of object\\>,EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipSetBehaviorFactoryInterface\\<TEntity of object, TRelationship of object\\>\\>\\:\\:addUpdateBehavior\\(\\) expects EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipSetBehaviorFactoryInterface\\<TEntity of object, TRelationship of object\\>, EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipSetBehaviorFactoryInterface\\<object, object\\> given\\.$#"
count: 1
path: packages/jsonapi/src/PropertyConfig/Builder/ToManyRelationshipConfigBuilder.php
-
message: "#^Parameter \\#1 \\$behaviorFactory of method EDT\\\\JsonApi\\\\PropertyConfig\\\\Builder\\\\AbstractPropertyConfigBuilder\\<TEntity of object,\\(TRelationship of object\\)\\|null,EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipConstructorBehaviorFactoryInterface,EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipSetBehaviorFactoryInterface\\<TEntity of object, TRelationship of object\\>,EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipSetBehaviorFactoryInterface\\<TEntity of object, TRelationship of object\\>\\>\\:\\:addCreationBehavior\\(\\) expects EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipSetBehaviorFactoryInterface\\<TEntity of object, TRelationship of object\\>, EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipSetBehaviorFactoryInterface\\<object, object\\> given\\.$#"
count: 1
path: packages/jsonapi/src/PropertyConfig/Builder/ToOneRelationshipConfigBuilder.php
-
message: "#^Parameter \\#1 \\$behaviorFactory of method EDT\\\\JsonApi\\\\PropertyConfig\\\\Builder\\\\AbstractPropertyConfigBuilder\\<TEntity of object,\\(TRelationship of object\\)\\|null,EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipConstructorBehaviorFactoryInterface,EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipSetBehaviorFactoryInterface\\<TEntity of object, TRelationship of object\\>,EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipSetBehaviorFactoryInterface\\<TEntity of object, TRelationship of object\\>\\>\\:\\:addUpdateBehavior\\(\\) expects EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipSetBehaviorFactoryInterface\\<TEntity of object, TRelationship of object\\>, EDT\\\\Wrapping\\\\PropertyBehavior\\\\Relationship\\\\RelationshipSetBehaviorFactoryInterface\\<object, object\\> given\\.$#"
count: 1
path: packages/jsonapi/src/PropertyConfig/Builder/ToOneRelationshipConfigBuilder.php
-
message: "#^Parameter \\#1 \\$filterParser of class EDT\\\\JsonApi\\\\Requests\\\\ListRequest constructor expects EDT\\\\JsonApi\\\\RequestHandling\\\\FilterParserInterface\\<mixed, EDT\\\\ConditionFactory\\\\DrupalFilterInterface\\>, EDT\\\\Querying\\\\ConditionParsers\\\\Drupal\\\\DrupalFilterParser\\<EDT\\\\ConditionFactory\\\\DrupalFilterInterface\\> given\\.$#"
count: 1
path: packages/jsonapi/src/Requests/ListProcessor.php
-
message: """
#^Call to deprecated method validateFilter\\(\\) of interface EDT\\\\JsonApi\\\\RequestHandling\\\\FilterParserInterface\\:
call a validator manually, that asserts that the type of \\$filter matches the type required by \\{@link self\\:\\:parseFilter\\(\\)\\}$#
"""
count: 1
path: packages/jsonapi/src/Requests/ListRequest.php
-
message: "#^Method EDT\\\\JsonApi\\\\Validation\\\\FieldsValidator\\:\\:validateFormat\\(\\) should return array\\<non\\-empty\\-string, string\\> but returns array\\.$#"
count: 1
path: packages/jsonapi/src/Validation/FieldsValidator.php
-
message: "#^Call to function is_subclass_of\\(\\) with class\\-string\\<static\\(EDT\\\\PathBuilding\\\\End\\<T\\>\\)\\> and 'EDT\\\\\\\\PathBuilding\\\\\\\\PropertyAutoPathInterface' will always evaluate to true\\.$#"
count: 2
path: packages/paths/src/PathBuilding/End.php
-
message: "#^Cannot call method getTargetTags\\(\\) on EDT\\\\PathBuilding\\\\DocblockPropertyByTraitEvaluator\\|null\\.$#"
count: 1
path: packages/paths/src/PathBuilding/End.php
-
message: "#^Class EDT\\\\PathBuilding\\\\End implements generic interface IteratorAggregate but does not specify its types\\: TKey, TValue$#"
count: 1
path: packages/paths/src/PathBuilding/End.php
-
message: "#^Method EDT\\\\PathBuilding\\\\End\\:\\:getIterator\\(\\) should return ArrayIterator\\<int, non\\-empty\\-string\\> but returns ArrayIterator\\<int, string\\>\\.$#"
count: 1
path: packages/paths/src/PathBuilding/End.php
-
message: "#^Parameter \\#1 \\$contains of class EDT\\\\Querying\\\\Functions\\\\StringEndsWith constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<string\\|null\\>, EDT\\\\Querying\\\\Functions\\\\Value\\<string\\> given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#1 \\$contains of class EDT\\\\Querying\\\\Functions\\\\StringStartsWith constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<string\\|null\\>, EDT\\\\Querying\\\\Functions\\\\Value\\<string\\> given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#1 \\$function of class EDT\\\\Querying\\\\Functions\\\\AllEqual constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\Querying\\\\Functions\\\\Size given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#1 \\$function of class EDT\\\\Querying\\\\Functions\\\\AllEqual constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\Querying\\\\Functions\\\\Value\\<bool\\> given\\.$#"
count: 2
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#1 \\$function of class EDT\\\\Querying\\\\Functions\\\\BetweenInclusive constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\Querying\\\\Functions\\\\Value\\<float\\|int\\|string\\> given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#1 \\$function of class EDT\\\\Querying\\\\Functions\\\\Greater constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\Querying\\\\Functions\\\\Value\\<float\\|int\\|string\\> given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#1 \\$function of class EDT\\\\Querying\\\\Functions\\\\GreaterEquals constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\Querying\\\\Functions\\\\Value\\<float\\|int\\|string\\> given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#1 \\$function of class EDT\\\\Querying\\\\Functions\\\\LowerCase constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<string\\|null\\>, EDT\\\\Querying\\\\Functions\\\\Value\\<string\\> given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#1 \\$function of class EDT\\\\Querying\\\\Functions\\\\OneOf constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\Querying\\\\Functions\\\\Value\\<non\\-empty\\-array\\<int, mixed\\>\\> given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#1 \\$function of class EDT\\\\Querying\\\\Functions\\\\Smaller constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\Querying\\\\Functions\\\\Value\\<float\\|int\\|string\\> given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#1 \\$function of class EDT\\\\Querying\\\\Functions\\\\SmallerEquals constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\Querying\\\\Functions\\\\Value\\<float\\|int\\|string\\> given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$functions of class EDT\\\\Querying\\\\Functions\\\\AllEqual constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<bool\\> given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$functions of class EDT\\\\Querying\\\\Functions\\\\AllEqual constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\Querying\\\\Functions\\\\AllEqual given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$functions of class EDT\\\\Querying\\\\Functions\\\\AllEqual constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\Querying\\\\Functions\\\\Value\\<bool\\|float\\|int\\|string\\> given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$functions of class EDT\\\\Querying\\\\Functions\\\\AllEqual constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\Querying\\\\Functions\\\\Value\\<int\\> given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$functions of class EDT\\\\Querying\\\\Functions\\\\BetweenInclusive constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\Querying\\\\Functions\\\\Value\\<float\\|int\\|string\\> given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$functions of class EDT\\\\Querying\\\\Functions\\\\OneOf constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\Querying\\\\Functions\\\\Value\\<string\\> given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Parameter \\#3 \\.\\.\\.\\$functions of class EDT\\\\Querying\\\\Functions\\\\AllEqual constructor expects EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<mixed\\>, EDT\\\\Querying\\\\Contracts\\\\FunctionInterface\\<bool\\> given\\.$#"
count: 1
path: packages/queries/src/ConditionFactories/PhpConditionFactory.php
-
message: "#^Method EDT\\\\Querying\\\\PropertyPaths\\\\PropertyPath\\:\\:getIterator\\(\\) should return Traversable\\<int, non\\-empty\\-string\\> but returns ArrayIterator\\<int, non\\-empty\\-string\\>\\|ArrayIterator\\<int, string\\>\\.$#"
count: 1
path: packages/queries/src/PropertyPaths/PropertyPath.php
-
message: "#^Property EDT\\\\Querying\\\\PropertyPaths\\\\PropertyPath\\:\\:\\$iterator \\(ArrayIterator\\<int, non\\-empty\\-string\\>\\|null\\) does not accept ArrayIterator\\<int, string\\>\\.$#"
count: 1
path: packages/queries/src/PropertyPaths/PropertyPath.php
-
message: "#^Parameter \\#1 \\$propertyValueA of method EDT\\\\Querying\\\\SortMethods\\\\AbstractSortMethod\\:\\:evaluateSinglePath\\(\\) expects float\\|int\\|string\\|null, mixed given\\.$#"
count: 1
path: packages/queries/src/SortMethods/AbstractSortMethod.php
-
message: "#^Parameter \\#2 \\$propertyValueB of method EDT\\\\Querying\\\\SortMethods\\\\AbstractSortMethod\\:\\:evaluateSinglePath\\(\\) expects float\\|int\\|string\\|null, mixed given\\.$#"
count: 1
path: packages/queries/src/SortMethods/AbstractSortMethod.php
-
message: "#^Method EDT\\\\Querying\\\\Utilities\\\\TableJoiner\\:\\:reAddEmptyColumnsAsNull\\(\\) should return non\\-empty\\-array\\<int, non\\-empty\\-array\\<int, mixed\\>\\> but returns mixed\\.$#"
count: 1
path: packages/queries/src/Utilities/TableJoiner.php