-
Notifications
You must be signed in to change notification settings - Fork 85
/
Copy pathphpstan-baseline.neon
805 lines (672 loc) · 38.9 KB
/
phpstan-baseline.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
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
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
parameters:
ignoreErrors:
-
message: '#^Class App\\Form\\Type\\TextToTextOptionsType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/ai_actions/src/Form/Type/TextToTextOptionsType.php
-
message: '#^Class App\\Form\\Type\\TranscribeAudioOptionsType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/ai_actions/src/Form/Type/TranscribeAudioOptionsType.php
-
message: '#^Parameter \#1 \$product of class Ibexa\\Contracts\\Cart\\Value\\EntryAddStruct constructor expects Ibexa\\Contracts\\ProductCatalog\\Values\\AvailabilityAwareInterface&Ibexa\\Contracts\\ProductCatalog\\Values\\ContentAwareProductInterface&Ibexa\\Contracts\\ProductCatalog\\Values\\PriceAwareInterface, Ibexa\\Contracts\\ProductCatalog\\Values\\ProductInterface given\.$#'
identifier: argument.type
count: 1
path: code_samples/api/commerce/src/Command/CartCommand.php
-
message: '#^Cannot access offset ''my_custom_fieldtype'' on array\|bool\|float\|int\|string\|null\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: code_samples/api/graphql/src/DependencyInjection/Compiler/MyCustomTypeGraphQLCompilerPass.php
-
message: '#^Parameter \#1 \$migration of method Ibexa\\Migration\\MigrationService\:\:executeOne\(\) expects Ibexa\\Migration\\Repository\\Migration, Ibexa\\Migration\\Repository\\Migration\|null given\.$#'
identifier: argument.type
count: 1
path: code_samples/api/migration/src/Command/MigrationCommand.php
-
message: '#^Call to an undefined method Ibexa\\Contracts\\ProductCatalog\\Values\\ProductInterface\:\:getPrice\(\)\.$#'
identifier: method.notFound
count: 1
path: code_samples/api/product_catalog/src/Command/ProductPriceCommand.php
-
message: '#^Parameter \#1 \$value of class Ibexa\\Contracts\\ProductCatalog\\Values\\Price\\Query\\Criterion\\CustomerGroup constructor expects array\<Ibexa\\Contracts\\ProductCatalog\\Values\\CustomerGroupInterface\>\|Ibexa\\Contracts\\ProductCatalog\\Values\\CustomerGroupInterface, string given\.$#'
identifier: argument.type
count: 1
path: code_samples/api/product_catalog/src/Command/ProductPriceCommand.php
-
message: '#^Cannot call method getDateTime\(\) on Ibexa\\Contracts\\Calendar\\Event\|null\.$#'
identifier: method.nonObject
count: 1
path: code_samples/api/public_php_api/src/Command/CalendarCommand.php
-
message: '#^Cannot call method getName\(\) on Ibexa\\Contracts\\Calendar\\Event\|null\.$#'
identifier: method.nonObject
count: 1
path: code_samples/api/public_php_api/src/Command/CalendarCommand.php
-
message: '#^Variable \$copyIdentifier might not be defined\.$#'
identifier: variable.undefined
count: 3
path: code_samples/api/public_php_api/src/Command/CreateContentTypeCommand.php
-
message: '#^Parameter \#1 \$messages of method Symfony\\Component\\Console\\Output\\OutputInterface\:\:writeln\(\) expects iterable\<string\>\|string, string\|null given\.$#'
identifier: argument.type
count: 1
path: code_samples/api/public_php_api/src/Command/FilterLocationCommand.php
-
message: '#^Access to protected property Ibexa\\Contracts\\Core\\Repository\\Values\\URL\\URL\:\:\$url\.$#'
identifier: property.protected
count: 1
path: code_samples/api/public_php_api/src/Command/FindUrlCommand.php
-
message: '#^Argument of an invalid type Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Search\\AggregationResult supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 2
path: code_samples/api/public_php_api/src/Command/FindWithAggregationCommand.php
-
message: '#^Cannot call method getFormValue\(\) on Ibexa\\Contracts\\Core\\FieldType\\Value\|null\.$#'
identifier: method.nonObject
count: 1
path: code_samples/api/public_php_api/src/Command/FormSubmissionCommand.php
-
message: '#^Parameter \#1 \$messages of method Symfony\\Component\\Console\\Output\\OutputInterface\:\:writeln\(\) expects iterable\<string\>\|string, string\|null given\.$#'
identifier: argument.type
count: 2
path: code_samples/api/public_php_api/src/Command/ObjectStateCommand.php
-
message: '#^Cannot access property \$name on Ibexa\\Contracts\\Taxonomy\\Value\\TaxonomyEntry\|null\.$#'
identifier: property.nonObject
count: 1
path: code_samples/api/public_php_api/src/Command/TaxonomyCommand.php
-
message: '#^Cannot access property \$id on Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Location\|null\.$#'
identifier: property.nonObject
count: 1
path: code_samples/api/public_php_api/src/Controller/CustomFilterController.php
-
message: '#^Parameter \#1 \$string of function base64_encode expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: code_samples/api/rest_api/create_image.json.php
-
message: '#^Cannot access property \$nodeName on DOMNode\|null\.$#'
identifier: property.nonObject
count: 3
path: code_samples/api/rest_api/create_image.xml.php
-
message: '#^Cannot access property \$nodeValue on DOMElement\|null\.$#'
identifier: property.nonObject
count: 6
path: code_samples/api/rest_api/create_image.xml.php
-
message: '#^Cannot call method getAttribute\(\) on DOMNode\|null\.$#'
identifier: method.nonObject
count: 1
path: code_samples/api/rest_api/create_image.xml.php
-
message: '#^Cannot call method hasAttribute\(\) on DOMNode\|null\.$#'
identifier: method.nonObject
count: 1
path: code_samples/api/rest_api/create_image.xml.php
-
message: '#^Parameter \#1 \$string of function base64_encode expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: code_samples/api/rest_api/create_image.xml.php
-
message: '#^Result of && is always false\.$#'
identifier: booleanAnd.alwaysFalse
count: 1
path: code_samples/api/rest_api/create_image.xml.php
-
message: '#^Strict comparison using \=\=\= between ''ErrorMessage'' and ''Content'' will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: code_samples/api/rest_api/create_image.xml.php
-
message: '#^Call to method setOutputGenerator\(\) on an unknown class Ibexa\\Contracts\\Rest\\Output\\ValueObjectVisitorDispatcher\.$#'
identifier: class.notFound
count: 1
path: code_samples/api/rest_api/src/Rest/Output/ValueObjectVisitorDispatcher.php
-
message: '#^Call to method setOutputVisitor\(\) on an unknown class Ibexa\\Contracts\\Rest\\Output\\ValueObjectVisitorDispatcher\.$#'
identifier: class.notFound
count: 1
path: code_samples/api/rest_api/src/Rest/Output/ValueObjectVisitorDispatcher.php
-
message: '#^Call to method visit\(\) on an unknown class Ibexa\\Contracts\\Rest\\Output\\ValueObjectVisitorDispatcher\.$#'
identifier: class.notFound
count: 1
path: code_samples/api/rest_api/src/Rest/Output/ValueObjectVisitorDispatcher.php
-
message: '#^Method App\\Rest\\Output\\ValueObjectVisitorDispatcher\:\:__construct\(\) has parameter \$visitors with no value type specified in iterable type iterable\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/api/rest_api/src/Rest/Output/ValueObjectVisitorDispatcher.php
-
message: '#^Method App\\Rest\\Output\\ValueObjectVisitorDispatcher\:\:visit\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: code_samples/api/rest_api/src/Rest/Output/ValueObjectVisitorDispatcher.php
-
message: '#^Method App\\Rest\\Output\\ValueObjectVisitorDispatcher\:\:visit\(\) has parameter \$data with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: code_samples/api/rest_api/src/Rest/Output/ValueObjectVisitorDispatcher.php
-
message: '#^Parameter \$valueObjectVisitorDispatcher of method App\\Rest\\Output\\ValueObjectVisitorDispatcher\:\:__construct\(\) has invalid type Ibexa\\Contracts\\Rest\\Output\\ValueObjectVisitorDispatcher\.$#'
identifier: class.notFound
count: 1
path: code_samples/api/rest_api/src/Rest/Output/ValueObjectVisitorDispatcher.php
-
message: '#^Property App\\Rest\\Output\\ValueObjectVisitorDispatcher\:\:\$valueObjectVisitorDispatcher has unknown class Ibexa\\Contracts\\Rest\\Output\\ValueObjectVisitorDispatcher as its type\.$#'
identifier: class.notFound
count: 1
path: code_samples/api/rest_api/src/Rest/Output/ValueObjectVisitorDispatcher.php
-
message: '#^Property App\\Rest\\Output\\ValueObjectVisitorDispatcher\:\:\$visitors type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/api/rest_api/src/Rest/Output/ValueObjectVisitorDispatcher.php
-
message: '#^Method App\\Rest\\ValueObjectVisitor\\Greeting\:\:visit\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: code_samples/api/rest_api/src/Rest/ValueObjectVisitor/Greeting.php
-
message: '#^Method App\\Rest\\ValueObjectVisitor\\RestLocation\:\:visit\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: code_samples/api/rest_api/src/Rest/ValueObjectVisitor/RestLocation.php
-
message: '#^Parameter \#1 \.\.\.\$arrays of function array_merge expects array, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\URLAlias\> given\.$#'
identifier: argument.type
count: 1
path: code_samples/api/rest_api/src/Rest/ValueObjectVisitor/RestLocation.php
-
message: '#^Parameter \#2 \.\.\.\$arrays of function array_merge expects array, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\URLAlias\> given\.$#'
identifier: argument.type
count: 1
path: code_samples/api/rest_api/src/Rest/ValueObjectVisitor/RestLocation.php
-
message: '#^Parameter \#1 \$json of function json_decode expects string, string\|false given\.$#'
identifier: argument.type
count: 1
path: code_samples/back_office/calendar/src/Calendar/Holidays/EventSourceFactory.php
-
message: '#^Method App\\Calendar\\Holidays\\EventType\:\:__construct\(\) has parameter \$actions with no value type specified in iterable type iterable\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/back_office/calendar/src/Calendar/Holidays/EventType.php
-
message: '#^Cannot call method addChild\(\) on Knp\\Menu\\ItemInterface\|null\.$#'
identifier: method.nonObject
count: 1
path: code_samples/back_office/content_type/src/EventListener/TextAnchorMenuTabListener.php
-
message: '#^Method Ibexa\\Bundle\\Core\\Imagine\\PlaceholderProvider\:\:getPlaceholder\(\) has parameter \$options with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/back_office/images/src/PlaceholderProvider.php
-
message: '#^Method App\\Security\\Limitation\\Mapper\\CustomLimitationFormMapper\:\:mapLimitationForm\(\) has parameter \$form with generic interface Symfony\\Component\\Form\\FormInterface but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/back_office/limitation/src/Security/Limitation/Mapper/CustomLimitationFormMapper.php
-
message: '#^Return type \(bool\) of method App\\Security\\Limitation\\Mapper\\CustomLimitationValueMapper\:\:mapLimitationValue\(\) should be compatible with return type \(array\<mixed\>\) of method Ibexa\\AdminUi\\Limitation\\LimitationValueMapperInterface\:\:mapLimitationValue\(\)$#'
identifier: method.childReturnType
count: 1
path: code_samples/back_office/limitation/src/Security/Limitation/Mapper/CustomLimitationValueMapper.php
-
message: '#^Method App\\Security\\MyPolicyProvider\:\:getFiles\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/back_office/limitation/src/Security/MyPolicyProvider.php
-
message: '#^Cannot call method addChild\(\) on Knp\\Menu\\ItemInterface\|null\.$#'
identifier: method.nonObject
count: 1
path: code_samples/back_office/menu/menu_item/src/EventSubscriber/MyMenuSubscriber.php
-
message: '#^Cannot call method setExtra\(\) on Knp\\Menu\\ItemInterface\|null\.$#'
identifier: method.nonObject
count: 1
path: code_samples/back_office/menu/menu_item/src/EventSubscriber/MyMenuSubscriber.php
-
message: '#^Cannot call method getValue\(\) on Ibexa\\Contracts\\FieldTypePage\\FieldType\\LandingPage\\Model\\Attribute\|null\.$#'
identifier: method.nonObject
count: 1
path: code_samples/back_office/online_editor/src/event/subscriber/RichTextBlockSubscriber.php
-
message: '#^Cannot call method error\(\) on Psr\\Log\\LoggerInterface\|null\.$#'
identifier: method.nonObject
count: 1
path: code_samples/back_office/search/src/EventSubscriber/MySuggestionEventSubscriber.php
-
message: '#^Parameter \#2 \$string of function explode expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: code_samples/back_office/search/src/EventSubscriber/MySuggestionEventSubscriber.php
-
message: '#^Method App\\Setting\\Group\\MyGroup\:\:__construct\(\) has parameter \$values with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/back_office/settings/src/Setting/Group/MyGroup.php
-
message: '#^Method App\\Setting\\Unit\:\:mapFieldForm\(\) has parameter \$formBuilder with generic interface Symfony\\Component\\Form\\FormBuilderInterface but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/back_office/settings/src/Setting/Unit.php
-
message: '#^Method App\\Setting\\Unit\:\:mapFieldForm\(\) return type with generic interface Symfony\\Component\\Form\\FormBuilderInterface does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/back_office/settings/src/Setting/Unit.php
-
message: '#^Method App\\Strategy\\StaticThumbnailStrategy\:\:getThumbnail\(\) has parameter \$fields with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/back_office/thumbnails/src/Strategy/StaticThumbnailStrategy.php
-
message: '#^Method App\\Strategy\\StaticThumbnailStrategy\:\:getThumbnail\(\) never returns null so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: code_samples/back_office/thumbnails/src/Strategy/StaticThumbnailStrategy.php
-
message: '#^Method App\\Attribute\\Percent\\Form\\PercentValueFormMapper\:\:createValueForm\(\) has parameter \$builder with generic interface Symfony\\Component\\Form\\FormBuilderInterface but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/catalog/custom_attribute_type/src/Attribute/Percent/Form/PercentValueFormMapper.php
-
message: '#^Class App\\Attribute\\Percent\\PercentAttributeOptionsType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/catalog/custom_attribute_type/src/Attribute/Percent/PercentAttributeOptionsType.php
-
message: '#^Method App\\Attribute\\Percent\\PercentOptionsFormMapper\:\:createOptionsForm\(\) has parameter \$builder with generic interface Symfony\\Component\\Form\\FormBuilderInterface but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/catalog/custom_attribute_type/src/Attribute/Percent/PercentOptionsFormMapper.php
-
message: '#^Class App\\Attribute\\Percent\\Storage\\PercentStorageConverter implements generic interface Ibexa\\Contracts\\ProductCatalog\\Local\\Attribute\\StorageConverterInterface but does not specify its types\: TPersistenceValue, TValue$#'
identifier: missingType.generics
count: 1
path: code_samples/catalog/custom_attribute_type/src/Attribute/Percent/Storage/PercentStorageConverter.php
-
message: '#^Class App\\CatalogFilter\\DataTransformer\\ProductNameCriterionTransformer implements generic interface Symfony\\Component\\Form\\DataTransformerInterface but does not specify its types\: T, R$#'
identifier: missingType.generics
count: 1
path: code_samples/catalog/custom_catalog_filter/src/CatalogFilter/DataTransformer/ProductNameCriterionTransformer.php
-
message: '#^Method App\\CatalogFilter\\ProductNameFilter\:\:getTranslationMessages\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/catalog/custom_catalog_filter/src/CatalogFilter/ProductNameFilter.php
-
message: '#^Method App\\CatalogFilter\\ProductNameFilterFormMapper\:\:createFilterForm\(\) has parameter \$builder with generic interface Symfony\\Component\\Form\\FormBuilderInterface but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/catalog/custom_catalog_filter/src/CatalogFilter/ProductNameFilterFormMapper.php
-
message: '#^Cannot call method getCode\(\) on Ibexa\\Contracts\\ProductCatalog\\Values\\ProductInterface\|null\.$#'
identifier: method.nonObject
count: 1
path: code_samples/catalog/custom_code_generator_strategy/src/CodeGenerator/Strategy/CustomIncrementalCodeGenerator.php
-
message: '#^Class App\\Corporate\\Form\\VerifyType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/customer_portal/src/Form/VerifyType.php
-
message: '#^Method App\\FieldType\\Point2D\\Type\:\:getSettingsSchema\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/field_types/2dpoint_ft/src/FieldType/Point2D/Type.php
-
message: '#^Method App\\FieldType\\Point2D\\Type\:\:mapFieldDefinitionForm\(\) has parameter \$fieldDefinitionForm with generic interface Symfony\\Component\\Form\\FormInterface but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/field_types/2dpoint_ft/src/FieldType/Point2D/Type.php
-
message: '#^Method App\\FieldType\\Point2D\\Type\:\:mapFieldValueForm\(\) has parameter \$fieldForm with generic interface Symfony\\Component\\Form\\FormInterface but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/field_types/2dpoint_ft/src/FieldType/Point2D/Type.php
-
message: '#^Method App\\FieldType\\Point2D\\Value\:\:__construct\(\) has parameter \$coords with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/field_types/2dpoint_ft/src/FieldType/Point2D/Value.php
-
message: '#^Class App\\Form\\Type\\Point2DSettingsType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/field_types/2dpoint_ft/src/Form/Type/Point2DSettingsType.php
-
message: '#^Class App\\Form\\Type\\Point2DType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/field_types/2dpoint_ft/src/Form/Type/Point2DType.php
-
message: '#^Method App\\Serializer\\Point2D\\ValueNormalizer\:\:normalize\(\) never returns ArrayObject\<\(int\|string\), mixed\> so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: code_samples/field_types/2dpoint_ft/src/Serializer/Point2D/ValueNormalizer.php
-
message: '#^Method App\\Serializer\\Point2D\\ValueNormalizer\:\:normalize\(\) never returns bool so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: code_samples/field_types/2dpoint_ft/src/Serializer/Point2D/ValueNormalizer.php
-
message: '#^Method App\\Serializer\\Point2D\\ValueNormalizer\:\:normalize\(\) never returns float so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: code_samples/field_types/2dpoint_ft/src/Serializer/Point2D/ValueNormalizer.php
-
message: '#^Method App\\Serializer\\Point2D\\ValueNormalizer\:\:normalize\(\) never returns int so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: code_samples/field_types/2dpoint_ft/src/Serializer/Point2D/ValueNormalizer.php
-
message: '#^Method App\\Serializer\\Point2D\\ValueNormalizer\:\:normalize\(\) never returns null so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: code_samples/field_types/2dpoint_ft/src/Serializer/Point2D/ValueNormalizer.php
-
message: '#^Method App\\Serializer\\Point2D\\ValueNormalizer\:\:normalize\(\) never returns string so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: code_samples/field_types/2dpoint_ft/src/Serializer/Point2D/ValueNormalizer.php
-
message: '#^Class App\\Form\\Type\\Point2DType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/field_types/2dpoint_ft/steps/step_3/Point2DType.php
-
message: '#^Method App\\FieldType\\Point2D\\Type\:\:mapFieldValueForm\(\) has parameter \$fieldForm with generic interface Symfony\\Component\\Form\\FormInterface but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/field_types/2dpoint_ft/steps/step_3/Type.php
-
message: '#^Method App\\FieldType\\Point2D\\Type\:\:getSettingsSchema\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/field_types/2dpoint_ft/steps/step_6/Type.php
-
message: '#^Method App\\FieldType\\Point2D\\Type\:\:mapFieldValueForm\(\) has parameter \$fieldForm with generic interface Symfony\\Component\\Form\\FormInterface but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/field_types/2dpoint_ft/steps/step_6/Type.php
-
message: '#^Call to an undefined method Ibexa\\Contracts\\Core\\FieldType\\Value\:\:getName\(\)\.$#'
identifier: method.notFound
count: 1
path: code_samples/field_types/generic_ft/src/FieldType/HelloWorld/Comparison/Comparable.php
-
message: '#^Method App\\FieldType\\HelloWorld\\Type\:\:mapFieldValueForm\(\) has parameter \$fieldForm with generic interface Symfony\\Component\\Form\\FormInterface but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/field_types/generic_ft/src/FieldType/HelloWorld/Type.php
-
message: '#^Class App\\Form\\Type\\HelloWorldType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/field_types/generic_ft/src/Form/Type/HelloWorldType.php
-
message: '#^Method App\\FormBuilder\\FieldType\\Field\\Mapper\\CheckboxWithRichtextDescriptionFieldMapper\:\:mapFormOptions\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/forms/custom_form_attribute/src/FormBuilder/FieldType/Field/Mapper/CheckboxWithRichtextDescriptionFieldMapper.php
-
message: '#^Class App\\FormBuilder\\Form\\Type\\CheckboxWithRichtextDescriptionType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/forms/custom_form_attribute/src/FormBuilder/Form/Type/CheckboxWithRichtextDescriptionType.php
-
message: '#^Class App\\FormBuilder\\Form\\Type\\FieldAttribute\\AttributeRichtextDescriptionType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/forms/custom_form_attribute/src/FormBuilder/Form/Type/FieldAttribute/AttributeRichtextDescriptionType.php
-
message: '#^Method App\\FormBuilder\\Field\\Mapper\\CountryFieldMapper\:\:mapFormOptions\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/forms/custom_form_field/src/FormBuilder/Field/Mapper/CountryFieldMapper.php
-
message: '#^Method App\\QueryType\\LatestContentQueryType\:\:getQuery\(\) has parameter \$parameters with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/front/custom_query_type/src/QueryType/LatestContentQueryType.php
-
message: '#^Method App\\QueryType\\LatestContentQueryType\:\:getSupportedParameters\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/front/custom_query_type/src/QueryType/LatestContentQueryType.php
-
message: '#^Method App\\QueryType\\OptionsBasedLatestContentQueryType\:\:doGetQuery\(\) has parameter \$parameters with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/front/custom_query_type/src/QueryType/OptionsBasedLatestContentQueryType.php
-
message: '#^Method App\\Controller\\RelationController\:\:showContentAction\(\) has parameter \$locationId with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: code_samples/front/embed_content/src/Controller/RelationController.php
-
message: '#^Method App\\Controller\\BreadcrumbController\:\:showBreadcrumbsAction\(\) has parameter \$locationId with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: code_samples/front/layouts/breadcrumbs/src/Controller/BreadcrumbController.php
-
message: '#^Method App\\QueryType\\MenuQueryType\:\:getQuery\(\) has parameter \$parameters with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/front/layouts/menu/src/QueryType/MenuQueryType.php
-
message: '#^Method App\\QueryType\\MenuQueryType\:\:getSupportedParameters\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/front/layouts/menu/src/QueryType/MenuQueryType.php
-
message: '#^Method App\\Controller\\Checkout\\Step\\SelectSeatStepController\:\:getSeatsLayout\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/front/shop/checkout/src/Controller/Checkout/Step/SelectSeatStepController.php
-
message: '#^Class App\\Form\\Type\\OnePageCheckoutType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/front/shop/checkout/src/Form/Type/OnePageCheckoutType.php
-
message: '#^Class App\\Form\\Type\\SelectSeatType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/front/shop/checkout/src/Form/Type/SelectSeatType.php
-
message: '#^Class App\\Form\\Type\\PayPalOptionsType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/front/shop/payment/src/Form/Type/PayPalOptionsType.php
-
message: '#^Method App\\Form\\Type\\OptionsFormMapper\:\:createOptionsForm\(\) has parameter \$builder with generic interface Symfony\\Component\\Form\\FormBuilderInterface but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/front/shop/payment/src/PaymentMethodType/PayPal/OptionsFormMapper.php
-
message: '#^Class App\\ShippingMethodType\\Form\\Type\\CustomShippingMethodOptionsType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/front/shop/shipping/src/ShippingMethodType/Form/Type/CustomShippingMethodOptionsType.php
-
message: '#^Class App\\ShippingMethodType\\Storage\\StorageConverter implements generic interface Ibexa\\Contracts\\Shipping\\Local\\ShippingMethod\\StorageConverterInterface but does not specify its types\: TPersistenceValue, TValue$#'
identifier: missingType.generics
count: 1
path: code_samples/front/shop/shipping/src/ShippingMethodType/Storage/StorageConverter.php
-
message: '#^Cannot call method setUri\(\) on Knp\\Menu\\ItemInterface\|null\.$#'
identifier: method.nonObject
count: 1
path: code_samples/front/shop/storefront/src/EventSubscriber/BreadcrumbsMenuSubscriber.php
-
message: '#^Method App\\Block\\Attribute\\MyStringAttributeMapper\:\:map\(\) has parameter \$constraints with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/page/custom_attribute/src/Block/Attribute/MyStringAttributeMapper.php
-
message: '#^Method App\\Block\\Attribute\\MyStringAttributeMapper\:\:map\(\) has parameter \$formBuilder with generic interface Symfony\\Component\\Form\\FormBuilderInterface but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/page/custom_attribute/src/Block/Attribute/MyStringAttributeMapper.php
-
message: '#^Method App\\Block\\Attribute\\MyStringAttributeMapper\:\:map\(\) return type with generic interface Symfony\\Component\\Form\\FormBuilderInterface does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/page/custom_attribute/src/Block/Attribute/MyStringAttributeMapper.php
-
message: '#^Class App\\Block\\Attribute\\MyStringAttributeType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: code_samples/page/custom_attribute/src/Block/Attribute/MyStringAttributeType.php
-
message: '#^Method App\\Validator\\AlphaOnlyValidator\:\:validate\(\) has parameter \$value with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: code_samples/page/custom_block_validator/src/Validator/AlphaOnlyValidator.php
-
message: '#^Call to an undefined method Ibexa\\FieldTypePage\\FieldType\\Page\\Block\\Renderer\\RenderRequestInterface\:\:getParameters\(\)\.$#'
identifier: method.notFound
count: 1
path: code_samples/page/custom_page_block/src/Event/Subscriber/BlockEmbedEventEventSubscriber.php
-
message: '#^Call to an undefined method Ibexa\\FieldTypePage\\FieldType\\Page\\Block\\Renderer\\RenderRequestInterface\:\:setParameters\(\)\.$#'
identifier: method.notFound
count: 1
path: code_samples/page/custom_page_block/src/Event/Subscriber/BlockEmbedEventEventSubscriber.php
-
message: '#^Call to an undefined method Ibexa\\FieldTypePage\\FieldType\\Page\\Block\\Renderer\\RenderRequestInterface\:\:getParameters\(\)\.$#'
identifier: method.notFound
count: 1
path: code_samples/page/page_listener/src/Block/Listener/MyBlockListener.php
-
message: '#^Call to an undefined method Ibexa\\FieldTypePage\\FieldType\\Page\\Block\\Renderer\\RenderRequestInterface\:\:setParameters\(\)\.$#'
identifier: method.notFound
count: 1
path: code_samples/page/page_listener/src/Block/Listener/MyBlockListener.php
-
message: '#^Parameter \#1 \$criteria of class Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Query\\Criterion\\LogicalAnd constructor expects array\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Query\\CriterionInterface\>, array\<int, Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Query\\Criterion\\ObjectStateIdentifier\|null\> given\.$#'
identifier: argument.type
count: 1
path: code_samples/search/custom/src/EventSubscriber/CustomQueryFilterSubscriber.php
-
message: '#^Method App\\Query\\Aggregation\\Elasticsearch\\PriorityRangeAggregationResultExtractor\:\:extract\(\) has parameter \$data with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/search/custom/src/Query/Aggregation/Elasticsearch/PriorityRangeAggregationResultExtractor.php
-
message: '#^Argument of an invalid type stdClass supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: code_samples/search/custom/src/Query/Aggregation/Solr/PriorityRangeAggregationResultExtractor.php
-
message: '#^Method App\\Query\\Aggregation\\Solr\\PriorityRangeAggregationResultExtractor\:\:canVisit\(\) has parameter \$languageFilter with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/search/custom/src/Query/Aggregation/Solr/PriorityRangeAggregationResultExtractor.php
-
message: '#^Method App\\Query\\Aggregation\\Solr\\PriorityRangeAggregationResultExtractor\:\:extract\(\) has parameter \$languageFilter with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/search/custom/src/Query/Aggregation/Solr/PriorityRangeAggregationResultExtractor.php
-
message: '#^Method App\\Query\\Aggregation\\Solr\\PriorityRangeAggregationVisitor\:\:formatRangeValue\(\) has parameter \$value with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: code_samples/search/custom/src/Query/Aggregation/Solr/PriorityRangeAggregationVisitor.php
-
message: '#^Method App\\Query\\Aggregation\\Solr\\PriorityRangeAggregationVisitor\:\:visit\(\) should return array\<string\> but returns array\<string, array\<string, array\<string, string\>\>\|string\>\.$#'
identifier: return.type
count: 1
path: code_samples/search/custom/src/Query/Aggregation/Solr/PriorityRangeAggregationVisitor.php
-
message: '#^Method App\\Query\\Criterion\\Elasticsearch\\CameraManufacturerVisitor\:\:visit\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/search/custom/src/Query/Criterion/Elasticsearch/CameraManufacturerVisitor.php
-
message: '#^Parameter \#2 \$array of function array_map expects array, array\<bool\|float\|int\|string\>\|bool\|float\|int\|string given\.$#'
identifier: argument.type
count: 1
path: code_samples/search/custom/src/Query/Criterion/Solr/CameraManufacturerVisitor.php
-
message: '#^Method App\\Query\\SortClause\\Elasticsearch\\ScoreVisitor\:\:visit\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/search/custom/src/Query/SortClause/Elasticsearch/ScoreVisitor.php
-
message: '#^Call to an undefined method Ibexa\\FieldTypePage\\FieldType\\Page\\Block\\Renderer\\RenderRequestInterface\:\:getParameters\(\)\.$#'
identifier: method.notFound
count: 1
path: code_samples/tutorials/page_tutorial/src/Event/RandomBlockListener.php
-
message: '#^Call to an undefined method Ibexa\\FieldTypePage\\FieldType\\Page\\Block\\Renderer\\RenderRequestInterface\:\:setParameters\(\)\.$#'
identifier: method.notFound
count: 1
path: code_samples/tutorials/page_tutorial/src/Event/RandomBlockListener.php
-
message: '#^Cannot call method getValue\(\) on Ibexa\\Contracts\\FieldTypePage\\FieldType\\LandingPage\\Model\\Attribute\|null\.$#'
identifier: method.nonObject
count: 1
path: code_samples/tutorials/page_tutorial/src/Event/RandomBlockListener.php
-
message: '#^Method App\\Event\\RandomBlockListener\:\:findContentItems\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/tutorials/page_tutorial/src/Event/RandomBlockListener.php
-
message: '#^Parameter \#1 \$locationId of method Ibexa\\Contracts\\Core\\Repository\\LocationService\:\:loadLocation\(\) expects int, int\|null given\.$#'
identifier: argument.type
count: 1
path: code_samples/tutorials/page_tutorial/src/Event/RandomBlockListener.php
-
message: '#^Method App\\QueryType\\MenuQueryType\:\:getQuery\(\) has parameter \$parameters with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/tutorials/page_tutorial/src/QueryType/MenuQueryType.php
-
message: '#^Method App\\QueryType\\MenuQueryType\:\:getSupportedParameters\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/tutorials/page_tutorial/src/QueryType/MenuQueryType.php
-
message: '#^Method App\\QueryType\\MenuQueryType\:\:getQuery\(\) has parameter \$parameters with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/tutorials/page_tutorial_starting_point/src/QueryType/MenuQueryType.php
-
message: '#^Method App\\QueryType\\MenuQueryType\:\:getSupportedParameters\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: code_samples/tutorials/page_tutorial_starting_point/src/QueryType/MenuQueryType.php
-
message: '#^Call to an undefined method Symfony\\Component\\Security\\Core\\User\\UserProviderInterface\<Symfony\\Component\\Security\\Core\\User\\UserInterface\>\:\:loadUserByUsername\(\)\.$#'
identifier: method.notFound
count: 2
path: code_samples/user_management/oauth_google/src/OAuth/GoogleResourceOwnerMapper.php
-
message: '#^Parameter \#2 \$email of method Ibexa\\Contracts\\OAuth2Client\\Repository\\OAuth2UserService\:\:newOAuth2UserCreateStruct\(\) expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: code_samples/user_management/oauth_google/src/OAuth/GoogleResourceOwnerMapper.php
-
message: '#^Offset ''data'' might not exist on array\|null\.$#'
identifier: offsetAccess.notFound
count: 1
path: code_samples/workflow/custom_workflow/src/EventListener/LegalTransitionListener.php
-
message: '#^Parameter \#2 \$transition of method Ibexa\\Contracts\\Workflow\\Event\\Action\\AbstractTransitionWorkflowActionListener\:\:getActionMetadata\(\) expects Symfony\\Component\\Workflow\\Transition, Symfony\\Component\\Workflow\\Transition\|null given\.$#'
identifier: argument.type
count: 1
path: code_samples/workflow/custom_workflow/src/EventListener/LegalTransitionListener.php