-
-
Notifications
You must be signed in to change notification settings - Fork 410
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
619 lines (517 loc) · 28.8 KB
/
phpstan-baseline.neon
File metadata and controls
619 lines (517 loc) · 28.8 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
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
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
parameters:
ignoreErrors:
-
message: '#^Class Spatie\\QueryBuilder\\Database\\Factories\\AppendModelFactory extends generic class Illuminate\\Database\\Eloquent\\Factories\\Factory but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: database/factories/AppendModelFactory.php
-
message: '#^Class Spatie\\QueryBuilder\\Database\\Factories\\SoftDeleteModelFactory extends generic class Illuminate\\Database\\Eloquent\\Factories\\Factory but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: database/factories/SoftDeleteModelFactory.php
-
message: '#^Class Spatie\\QueryBuilder\\Database\\Factories\\TestModelFactory extends generic class Illuminate\\Database\\Eloquent\\Factories\\Factory but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: database/factories/TestModelFactory.php
-
message: '#^Cannot unset property Spatie\\QueryBuilder\\AllowedFilter\:\:\$default because it might have hooks in a subclass\.$#'
identifier: unset.possiblyHookedProperty
count: 1
path: src/AllowedFilter.php
-
message: '#^Method Spatie\\QueryBuilder\\AllowedFilter\:\:__construct\(\) has parameter \$filterClass with generic interface Spatie\\QueryBuilder\\Filters\\Filter but does not specify its types\: TModelClass$#'
identifier: missingType.generics
count: 1
path: src/AllowedFilter.php
-
message: '#^Method Spatie\\QueryBuilder\\AllowedFilter\:\:custom\(\) has parameter \$filterClass with generic interface Spatie\\QueryBuilder\\Filters\\Filter but does not specify its types\: TModelClass$#'
identifier: missingType.generics
count: 1
path: src/AllowedFilter.php
-
message: '#^Method Spatie\\QueryBuilder\\AllowedFilter\:\:filter\(\) has parameter \$query with generic class Spatie\\QueryBuilder\\QueryBuilder but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/AllowedFilter.php
-
message: '#^Method Spatie\\QueryBuilder\\AllowedFilter\:\:getFilterClass\(\) return type with generic interface Spatie\\QueryBuilder\\Filters\\Filter does not specify its types\: TModelClass$#'
identifier: missingType.generics
count: 1
path: src/AllowedFilter.php
-
message: '#^Method Spatie\\QueryBuilder\\AllowedFilter\:\:getIgnored\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/AllowedFilter.php
-
message: '#^Property Spatie\\QueryBuilder\\AllowedFilter\:\:\$ignored with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/AllowedFilter.php
-
message: '#^Method Spatie\\QueryBuilder\\AllowedInclude\:\:__construct\(\) has parameter \$includeClass with generic interface Spatie\\QueryBuilder\\Includes\\IncludeInterface but does not specify its types\: TModelClass$#'
identifier: missingType.generics
count: 1
path: src/AllowedInclude.php
-
message: '#^Method Spatie\\QueryBuilder\\AllowedInclude\:\:custom\(\) has parameter \$includeClass with generic interface Spatie\\QueryBuilder\\Includes\\IncludeInterface but does not specify its types\: TModelClass$#'
identifier: missingType.generics
count: 1
path: src/AllowedInclude.php
-
message: '#^Method Spatie\\QueryBuilder\\AllowedInclude\:\:include\(\) has parameter \$query with generic class Spatie\\QueryBuilder\\QueryBuilder but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/AllowedInclude.php
-
message: '#^Method Spatie\\QueryBuilder\\AllowedSort\:\:sort\(\) has parameter \$query with generic class Spatie\\QueryBuilder\\QueryBuilder but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/AllowedSort.php
-
message: '#^Method Spatie\\QueryBuilder\\Enums\\FilterOperator\:\:isDynamic\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: src/Enums/FilterOperator.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidAppendQuery\:\:__construct\(\) has parameter \$allowedAppends with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidAppendQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidAppendQuery\:\:__construct\(\) has parameter \$appendsNotAllowed with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidAppendQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidAppendQuery\:\:appendsNotAllowed\(\) has parameter \$allowedAppends with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidAppendQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidAppendQuery\:\:appendsNotAllowed\(\) has parameter \$appendsNotAllowed with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidAppendQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidFieldQuery\:\:__construct\(\) has parameter \$allowedFields with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidFieldQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidFieldQuery\:\:__construct\(\) has parameter \$unknownFields with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidFieldQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidFieldQuery\:\:fieldsNotAllowed\(\) has parameter \$allowedFields with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidFieldQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidFieldQuery\:\:fieldsNotAllowed\(\) has parameter \$unknownFields with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidFieldQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidFilterQuery\:\:__construct\(\) has parameter \$allowedFilters with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidFilterQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidFilterQuery\:\:__construct\(\) has parameter \$unknownFilters with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidFilterQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidFilterQuery\:\:filtersNotAllowed\(\) has parameter \$allowedFilters with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidFilterQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidFilterQuery\:\:filtersNotAllowed\(\) has parameter \$unknownFilters with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidFilterQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidFilterValue\:\:make\(\) has parameter \$value with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: src/Exceptions/InvalidFilterValue.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidIncludeQuery\:\:__construct\(\) has parameter \$allowedIncludes with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidIncludeQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidIncludeQuery\:\:__construct\(\) has parameter \$unknownIncludes with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidIncludeQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidIncludeQuery\:\:includesNotAllowed\(\) has parameter \$allowedIncludes with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidIncludeQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidIncludeQuery\:\:includesNotAllowed\(\) has parameter \$unknownIncludes with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidIncludeQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidSortQuery\:\:__construct\(\) has parameter \$allowedSorts with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidSortQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidSortQuery\:\:__construct\(\) has parameter \$unknownSorts with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidSortQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidSortQuery\:\:sortsNotAllowed\(\) has parameter \$allowedSorts with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidSortQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\InvalidSortQuery\:\:sortsNotAllowed\(\) has parameter \$unknownSorts with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/InvalidSortQuery.php
-
message: '#^Method Spatie\\QueryBuilder\\Exceptions\\UnknownIncludedFieldsQuery\:\:__construct\(\) has parameter \$unknownFields with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Exceptions/UnknownIncludedFieldsQuery.php
-
message: '#^Property Spatie\\QueryBuilder\\Exceptions\\UnknownIncludedFieldsQuery\:\:\$unknownFields with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Exceptions/UnknownIncludedFieldsQuery.php
-
message: '#^Class Spatie\\QueryBuilder\\Filters\\FiltersBeginsWith extends generic class Spatie\\QueryBuilder\\Filters\\FiltersPartial but does not specify its types\: TModelClass$#'
identifier: missingType.generics
count: 1
path: src/Filters/FiltersBeginsWith.php
-
message: '#^Method Spatie\\QueryBuilder\\Filters\\FiltersBeginsWith\:\:getWhereRawParameters\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Filters/FiltersBeginsWith.php
-
message: '#^Class Spatie\\QueryBuilder\\Filters\\FiltersEndsWith extends generic class Spatie\\QueryBuilder\\Filters\\FiltersPartial but does not specify its types\: TModelClass$#'
identifier: missingType.generics
count: 1
path: src/Filters/FiltersEndsWith.php
-
message: '#^Method Spatie\\QueryBuilder\\Filters\\FiltersEndsWith\:\:getWhereRawParameters\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Filters/FiltersEndsWith.php
-
message: '#^Method Spatie\\QueryBuilder\\Filters\\FiltersExact\:\:isRelationProperty\(\) has parameter \$query with generic class Illuminate\\Database\\Eloquent\\Builder but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/Filters/FiltersExact.php
-
message: '#^Method Spatie\\QueryBuilder\\Filters\\FiltersExact\:\:withRelationConstraint\(\) has parameter \$query with generic class Illuminate\\Database\\Eloquent\\Builder but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/Filters/FiltersExact.php
-
message: '#^Parameter \#1 \$keys of method Illuminate\\Support\\Collection\<int,string\>\:\:except\(\) expects array\<int\>\|Illuminate\\Support\\Enumerable\<\(int\|string\), int\>\|string, int\<\-1, max\> given\.$#'
identifier: argument.type
count: 1
path: src/Filters/FiltersExact.php
-
message: '#^Parameter \#1 \$query of method Spatie\\QueryBuilder\\Filters\\FiltersExact\<TModelClass of Illuminate\\Database\\Eloquent\\Model\>\:\:__invoke\(\) expects Illuminate\\Database\\Eloquent\\Builder\<TModelClass of Illuminate\\Database\\Eloquent\\Model\>, Illuminate\\Database\\Eloquent\\Builder\<Illuminate\\Database\\Eloquent\\Model\> given\.$#'
identifier: argument.type
count: 1
path: src/Filters/FiltersExact.php
-
message: '#^Property Spatie\\QueryBuilder\\Filters\\FiltersExact\:\:\$relationConstraints type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Filters/FiltersExact.php
-
message: '#^Method Spatie\\QueryBuilder\\Filters\\FiltersOperator\:\:isRelationProperty\(\) has parameter \$query with generic class Illuminate\\Database\\Eloquent\\Builder but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/Filters/FiltersOperator.php
-
message: '#^Method Spatie\\QueryBuilder\\Filters\\FiltersOperator\:\:withRelationConstraint\(\) has parameter \$query with generic class Illuminate\\Database\\Eloquent\\Builder but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/Filters/FiltersOperator.php
-
message: '#^Parameter \#1 \$keys of method Illuminate\\Support\\Collection\<int,string\>\:\:except\(\) expects array\<int\>\|Illuminate\\Support\\Enumerable\<\(int\|string\), int\>\|string, int\<\-1, max\> given\.$#'
identifier: argument.type
count: 1
path: src/Filters/FiltersOperator.php
-
message: '#^Parameter \#1 \$query of method Spatie\\QueryBuilder\\Filters\\FiltersOperator\<TModelClass of Illuminate\\Database\\Eloquent\\Model\>\:\:__invoke\(\) expects Illuminate\\Database\\Eloquent\\Builder\<TModelClass of Illuminate\\Database\\Eloquent\\Model\>, Illuminate\\Database\\Eloquent\\Builder\<Illuminate\\Database\\Eloquent\\Model\> given\.$#'
identifier: argument.type
count: 1
path: src/Filters/FiltersOperator.php
-
message: '#^Property Spatie\\QueryBuilder\\Filters\\FiltersOperator\:\:\$relationConstraints type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Filters/FiltersOperator.php
-
message: '#^Method Spatie\\QueryBuilder\\Filters\\FiltersPartial\:\:getDatabaseDriver\(\) has parameter \$query with generic class Illuminate\\Database\\Eloquent\\Builder but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/Filters/FiltersPartial.php
-
message: '#^Method Spatie\\QueryBuilder\\Filters\\FiltersPartial\:\:getWhereRawParameters\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Filters/FiltersPartial.php
-
message: '#^Method Spatie\\QueryBuilder\\Filters\\FiltersPartial\:\:isRelationProperty\(\) has parameter \$query with generic class Illuminate\\Database\\Eloquent\\Builder but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/Filters/FiltersPartial.php
-
message: '#^Method Spatie\\QueryBuilder\\Filters\\FiltersPartial\:\:withRelationConstraint\(\) has parameter \$query with generic class Illuminate\\Database\\Eloquent\\Builder but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/Filters/FiltersPartial.php
-
message: '#^Parameter \#1 \$keys of method Illuminate\\Support\\Collection\<int,string\>\:\:except\(\) expects array\<int\>\|Illuminate\\Support\\Enumerable\<\(int\|string\), int\>\|string, int\<\-1, max\> given\.$#'
identifier: argument.type
count: 1
path: src/Filters/FiltersPartial.php
-
message: '#^Parameter \#1 \$query of method Spatie\\QueryBuilder\\Filters\\FiltersPartial\<TModelClass of Illuminate\\Database\\Eloquent\\Model\>\:\:__invoke\(\) expects Illuminate\\Database\\Eloquent\\Builder\<TModelClass of Illuminate\\Database\\Eloquent\\Model\>, Illuminate\\Database\\Eloquent\\Builder\<Illuminate\\Database\\Eloquent\\Model\> given\.$#'
identifier: argument.type
count: 1
path: src/Filters/FiltersPartial.php
-
message: '#^Property Spatie\\QueryBuilder\\Filters\\FiltersPartial\:\:\$relationConstraints type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Filters/FiltersPartial.php
-
message: '#^Call to an undefined method ReflectionType\:\:getName\(\)\.$#'
identifier: method.notFound
count: 2
path: src/Filters/FiltersScope.php
-
message: '#^Call to an undefined method ReflectionType\:\:isBuiltin\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Filters/FiltersScope.php
-
message: '#^Method Spatie\\QueryBuilder\\Filters\\FiltersScope\:\:getClass\(\) return type with generic class ReflectionClass does not specify its types\: T$#'
identifier: missingType.generics
count: 1
path: src/Filters/FiltersScope.php
-
message: '#^Method Spatie\\QueryBuilder\\Filters\\FiltersScope\:\:resolveParameters\(\) has parameter \$query with generic class Illuminate\\Database\\Eloquent\\Builder but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/Filters/FiltersScope.php
-
message: '#^Method Spatie\\QueryBuilder\\Filters\\FiltersScope\:\:resolveParameters\(\) has parameter \$values with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Filters/FiltersScope.php
-
message: '#^Method Spatie\\QueryBuilder\\Filters\\FiltersScope\:\:resolveParameters\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/Filters/FiltersScope.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\<TModelClass of Illuminate\\Database\\Eloquent\\Model\>\:\:onlyTrashed\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Filters/FiltersTrashed.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\<TModelClass of Illuminate\\Database\\Eloquent\\Model\>\:\:withTrashed\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Filters/FiltersTrashed.php
-
message: '#^Call to an undefined method Illuminate\\Database\\Eloquent\\Builder\<TModelClass of Illuminate\\Database\\Eloquent\\Model\>\:\:withoutTrashed\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Filters/FiltersTrashed.php
-
message: '#^Class Spatie\\QueryBuilder\\Includes\\IncludedCallback implements generic interface Spatie\\QueryBuilder\\Includes\\IncludeInterface but does not specify its types\: TModelClass$#'
identifier: missingType.generics
count: 1
path: src/Includes/IncludedCallback.php
-
message: '#^Class Spatie\\QueryBuilder\\Includes\\IncludedAvg implements generic interface Spatie\\QueryBuilder\\Includes\\IncludeInterface but does not specify its types\: TModelClass$#'
identifier: missingType.generics
count: 1
path: src/Includes/IncludedAvg.php
-
message: '#^Class Spatie\\QueryBuilder\\Includes\\IncludedCount implements generic interface Spatie\\QueryBuilder\\Includes\\IncludeInterface but does not specify its types\: TModelClass$#'
identifier: missingType.generics
count: 1
path: src/Includes/IncludedCount.php
-
message: '#^Class Spatie\\QueryBuilder\\Includes\\IncludedExists implements generic interface Spatie\\QueryBuilder\\Includes\\IncludeInterface but does not specify its types\: TModelClass$#'
identifier: missingType.generics
count: 1
path: src/Includes/IncludedExists.php
-
message: '#^Class Spatie\\QueryBuilder\\Includes\\IncludedMax implements generic interface Spatie\\QueryBuilder\\Includes\\IncludeInterface but does not specify its types\: TModelClass$#'
identifier: missingType.generics
count: 1
path: src/Includes/IncludedMax.php
-
message: '#^Class Spatie\\QueryBuilder\\Includes\\IncludedMin implements generic interface Spatie\\QueryBuilder\\Includes\\IncludeInterface but does not specify its types\: TModelClass$#'
identifier: missingType.generics
count: 1
path: src/Includes/IncludedMin.php
-
message: '#^Class Spatie\\QueryBuilder\\Includes\\IncludedSum implements generic interface Spatie\\QueryBuilder\\Includes\\IncludeInterface but does not specify its types\: TModelClass$#'
identifier: missingType.generics
count: 1
path: src/Includes/IncludedSum.php
-
message: '#^Class Spatie\\QueryBuilder\\Includes\\IncludedRelationship implements generic interface Spatie\\QueryBuilder\\Includes\\IncludeInterface but does not specify its types\: TModelClass$#'
identifier: missingType.generics
count: 1
path: src/Includes/IncludedRelationship.php
-
message: '#^Method Spatie\\QueryBuilder\\Includes\\IncludedRelationship\:\:getIndividualRelationshipPathsFromInclude\(\) return type with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Includes/IncludedRelationship.php
-
message: '#^Class Spatie\\QueryBuilder\\QueryBuilder implements generic interface ArrayAccess but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/QueryBuilder.php
-
message: '#^Method Spatie\\QueryBuilder\\QueryBuilder\:\:__call\(\) has parameter \$arguments with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/QueryBuilder.php
-
message: '#^Method Spatie\\QueryBuilder\\QueryBuilder\:\:addIncludesToQuery\(\) has parameter \$includes with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/QueryBuilder.php
-
message: '#^Method Spatie\\QueryBuilder\\QueryBuilder\:\:filterNonExistingIncludes\(\) has parameter \$includes with generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/QueryBuilder.php
-
message: '#^Method Spatie\\QueryBuilder\\QueryBuilder\:\:filterNonExistingIncludes\(\) return type with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/QueryBuilder.php
-
message: '#^Method Spatie\\QueryBuilder\\QueryBuilder\:\:generateIncludesFromString\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/QueryBuilder.php
-
message: '#^Method Spatie\\QueryBuilder\\QueryBuilder\:\:getRequestedFieldsForRelatedTable\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/QueryBuilder.php
-
message: '#^Method Spatie\\QueryBuilder\\QueryBuilder\:\:prependFieldsWithTableName\(\) has parameter \$fields with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/QueryBuilder.php
-
message: '#^Method Spatie\\QueryBuilder\\QueryBuilder\:\:prependFieldsWithTableName\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/QueryBuilder.php
-
message: '#^Property Spatie\\QueryBuilder\\QueryBuilder\:\:\$allowedFields with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/QueryBuilder.php
-
message: '#^Property Spatie\\QueryBuilder\\QueryBuilder\:\:\$allowedFilters with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/QueryBuilder.php
-
message: '#^Property Spatie\\QueryBuilder\\QueryBuilder\:\:\$allowedIncludes with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/QueryBuilder.php
-
message: '#^Property Spatie\\QueryBuilder\\QueryBuilder\:\:\$allowedSorts with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/QueryBuilder.php
-
message: '#^Unable to resolve the template type TKey in call to function collect$#'
identifier: argument.templateType
count: 2
path: src/QueryBuilder.php
-
message: '#^Unable to resolve the template type TValue in call to function collect$#'
identifier: argument.templateType
count: 2
path: src/QueryBuilder.php
-
message: '#^Method Spatie\\QueryBuilder\\QueryBuilderRequest\:\:appends\(\) return type with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/QueryBuilderRequest.php
-
message: '#^Method Spatie\\QueryBuilder\\QueryBuilderRequest\:\:fields\(\) return type with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/QueryBuilderRequest.php
-
message: '#^Method Spatie\\QueryBuilder\\QueryBuilderRequest\:\:filters\(\) return type with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/QueryBuilderRequest.php
-
message: '#^Method Spatie\\QueryBuilder\\QueryBuilderRequest\:\:includes\(\) return type with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/QueryBuilderRequest.php
-
message: '#^Method Spatie\\QueryBuilder\\QueryBuilderRequest\:\:sorts\(\) return type with generic class Illuminate\\Support\\Collection does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/QueryBuilderRequest.php
-
message: '#^Unable to resolve the template type TKey in call to function collect$#'
identifier: argument.templateType
count: 4
path: src/QueryBuilderRequest.php
-
message: '#^Unable to resolve the template type TValue in call to function collect$#'
identifier: argument.templateType
count: 4
path: src/QueryBuilderRequest.php
-
message: '#^Method Spatie\\QueryBuilder\\QueryBuilderServiceProvider\:\:provides\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/QueryBuilderServiceProvider.php
-
message: '#^Method Spatie\\QueryBuilder\\Sorts\\Sort\:\:__invoke\(\) has parameter \$query with generic class Illuminate\\Database\\Eloquent\\Builder but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/Sorts/Sort.php
-
message: '#^Method Spatie\\QueryBuilder\\Sorts\\SortsCallback\:\:__invoke\(\) has parameter \$query with generic class Illuminate\\Database\\Eloquent\\Builder but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/Sorts/SortsCallback.php
-
message: '#^Method Spatie\\QueryBuilder\\Sorts\\SortsField\:\:__invoke\(\) has parameter \$query with generic class Illuminate\\Database\\Eloquent\\Builder but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: src/Sorts/SortsField.php