forked from phpactor/phpactor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-baseline.neon
6377 lines (5102 loc) · 332 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
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
parameters:
ignoreErrors:
-
message: "#^Cannot call method error\\(\\) on mixed\\.$#"
count: 1
path: lib/Application.php
-
message: "#^Cannot call method get\\(\\) on mixed\\.$#"
count: 1
path: lib/Application.php
-
message: "#^Cannot call method pushHandler\\(\\) on mixed\\.$#"
count: 1
path: lib/Application.php
-
message: "#^Parameter \\#1 \\$commandLoader of method Symfony\\\\Component\\\\Console\\\\Application\\:\\:setCommandLoader\\(\\) expects Symfony\\\\Component\\\\Console\\\\CommandLoader\\\\CommandLoaderInterface, mixed given\\.$#"
count: 1
path: lib/Application.php
-
message: "#^Access to an undefined property Microsoft\\\\PhpParser\\\\Node\\\\Expression\\\\BracedExpression\\|Microsoft\\\\PhpParser\\\\Node\\\\Expression\\\\Variable\\|Microsoft\\\\PhpParser\\\\Token\\:\\:\\$start\\.$#"
count: 1
path: lib/ClassMover/Adapter/WorseTolerant/WorseTolerantMemberFinder.php
-
message: "#^Parameter \\#1 \\$memberName of method Phpactor\\\\ClassMover\\\\Domain\\\\Model\\\\ClassMemberQuery\\:\\:matchesMemberName\\(\\) expects string, bool\\|string\\|null given\\.$#"
count: 1
path: lib/ClassMover/Adapter/WorseTolerant/WorseTolerantMemberFinder.php
-
message: "#^Parameter \\#1 \\$name of method Phpactor\\\\WorseReflection\\\\Core\\\\Reflection\\\\Collection\\\\AbstractReflectionCollection\\<Phpactor\\\\WorseReflection\\\\Core\\\\Reflection\\\\ReflectionMethod\\>\\:\\:has\\(\\) expects string, Phpactor\\\\ClassMover\\\\Domain\\\\Name\\\\MemberName\\|null given\\.$#"
count: 2
path: lib/ClassMover/Adapter/WorseTolerant/WorseTolerantMemberFinder.php
-
message: "#^Property Phpactor\\\\ClassMover\\\\Adapter\\\\WorseTolerant\\\\WorseTolerantMemberFinder\\:\\:\\$reflector \\(Phpactor\\\\WorseReflection\\\\Reflector\\) does not accept Phpactor\\\\WorseReflection\\\\Reflector\\|Phpactor\\\\WorseReflection\\\\ReflectorBuilder\\.$#"
count: 1
path: lib/ClassMover/Adapter/WorseTolerant/WorseTolerantMemberFinder.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: lib/ClassMover/Domain/Name/Label.php
-
message: "#^Strict comparison using \\=\\=\\= between int\\<1, max\\> and 0 will always evaluate to false\\.$#"
count: 1
path: lib/ClassMover/Domain/Name/Namespace_.php
-
message: "#^Parameter \\#1 \\$parts of class Phpactor\\\\ClassMover\\\\Domain\\\\Name\\\\QualifiedName constructor expects non\\-empty\\-array\\<string\\>, array\\<int\\<0, max\\>, non\\-falsy\\-string\\> given\\.$#"
count: 1
path: lib/ClassMover/Domain/Name/QualifiedName.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 3
path: lib/ClassMover/Domain/Name/QualifiedName.php
-
message: "#^Parameter \\#1 \\$finder of class Phpactor\\\\ClassMover\\\\ClassMover constructor expects Phpactor\\\\ClassMover\\\\Domain\\\\ClassFinder\\|null, mixed given\\.$#"
count: 1
path: lib/ClassMover/Extension/ClassMoverExtension.php
-
message: "#^Parameter \\#2 \\$replacer of class Phpactor\\\\ClassMover\\\\ClassMover constructor expects Phpactor\\\\ClassMover\\\\Domain\\\\ClassReplacer\\|null, mixed given\\.$#"
count: 1
path: lib/ClassMover/Extension/ClassMoverExtension.php
-
message: "#^Access to an undefined property Microsoft\\\\PhpParser\\\\Node\\:\\:\\$name\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/TolerantUpdater.php
-
message: "#^Cannot call method getText\\(\\) on Microsoft\\\\PhpParser\\\\Node\\|null\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/TolerantUpdater.php
-
message: "#^Parameter \\#1 \\$node of method Phpactor\\\\CodeBuilder\\\\Adapter\\\\TolerantParser\\\\Edits\\:\\:after\\(\\) expects Microsoft\\\\PhpParser\\\\Node\\|Microsoft\\\\PhpParser\\\\Token, Microsoft\\\\PhpParser\\\\Node\\|null given\\.$#"
count: 4
path: lib/CodeBuilder/Adapter/TolerantParser/TolerantUpdater.php
-
message: "#^Parameter \\#2 \\$prototype of method Phpactor\\\\CodeBuilder\\\\Adapter\\\\TolerantParser\\\\TolerantUpdater\\:\\:updateClasses\\(\\) expects Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\SourceCode, Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\Prototype given\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/TolerantUpdater.php
-
message: "#^Parameter \\#2 \\$prototype of method Phpactor\\\\CodeBuilder\\\\Adapter\\\\TolerantParser\\\\TolerantUpdater\\:\\:updateNamespace\\(\\) expects Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\SourceCode, Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\Prototype given\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/TolerantUpdater.php
-
message: "#^Parameter \\#2 \\$prototype of method Phpactor\\\\CodeBuilder\\\\Adapter\\\\TolerantParser\\\\Updater\\\\UseStatementUpdater\\:\\:updateUseStatements\\(\\) expects Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\SourceCode, Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\Prototype given\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/TolerantUpdater.php
-
message: "#^Access to an undefined property TMembersNodeType of Microsoft\\\\PhpParser\\\\Node\\:\\:\\$openBrace\\.$#"
count: 2
path: lib/CodeBuilder/Adapter/TolerantParser/Updater/AbstractMethodUpdater.php
-
message: "#^Parameter \\#3 \\$bodyNode of method Phpactor\\\\CodeBuilder\\\\Adapter\\\\TolerantParser\\\\Updater\\\\AbstractMethodUpdater\\<TMembersNodeType of Microsoft\\\\PhpParser\\\\Node\\>\\:\\:appendLinesToMethod\\(\\) expects Microsoft\\\\PhpParser\\\\Node, Microsoft\\\\PhpParser\\\\Node\\\\Statement\\\\CompoundStatementNode\\|Microsoft\\\\PhpParser\\\\Token given\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Updater/AbstractMethodUpdater.php
-
message: "#^Ternary operator condition is always true\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Updater/AbstractMethodUpdater.php
-
message: "#^Access to an undefined property Microsoft\\\\PhpParser\\\\Node\\:\\:\\$openBrace\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Updater/ClassLikeUpdater.php
-
message: "#^Parameter \\#1 \\$property of method Phpactor\\\\CodeBuilder\\\\Adapter\\\\TolerantParser\\\\Updater\\\\ClassLikeUpdater\\:\\:resolvePropertyName\\(\\) expects Microsoft\\\\PhpParser\\\\Node\\|Microsoft\\\\PhpParser\\\\Token, mixed given\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Updater/ClassLikeUpdater.php
-
message: "#^Access to an undefined property Microsoft\\\\PhpParser\\\\Node\\:\\:\\$classMemberDeclarations\\.$#"
count: 2
path: lib/CodeBuilder/Adapter/TolerantParser/Updater/ClassUpdater.php
-
message: "#^Access to an undefined property Microsoft\\\\PhpParser\\\\Node\\:\\:\\$openBrace\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Updater/ClassUpdater.php
-
message: "#^Cannot call method getElements\\(\\) on Microsoft\\\\PhpParser\\\\Node\\\\DelimitedList\\\\QualifiedNameList\\|null\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Updater/ClassUpdater.php
-
message: "#^Cannot call method getName\\(\\) on mixed\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Updater/ClassUpdater.php
-
message: "#^Cannot call method getText\\(\\) on mixed\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Updater/ClassUpdater.php
-
message: "#^Access to an undefined property Microsoft\\\\PhpParser\\\\ClassLike\\:\\:\\$interfaceMembers\\.$#"
count: 2
path: lib/CodeBuilder/Adapter/TolerantParser/Updater/InterfaceMethodUpdater.php
-
message: "#^Property Phpactor\\\\CodeBuilder\\\\Adapter\\\\TolerantParser\\\\Updater\\\\InterfaceUpdater\\:\\:\\$renderer is never read, only written\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Updater/InterfaceUpdater.php
-
message: "#^Access to an undefined property Microsoft\\\\PhpParser\\\\Node\\:\\:\\$traitMemberDeclarations\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Updater/TraitUpdater.php
-
message: "#^Cannot call method getStartPosition\\(\\) on Microsoft\\\\PhpParser\\\\Node\\|null\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Updater/UseStatementUpdater.php
-
message: "#^Parameter \\#1 \\$node of method Phpactor\\\\CodeBuilder\\\\Adapter\\\\TolerantParser\\\\Edits\\:\\:after\\(\\) expects Microsoft\\\\PhpParser\\\\Node\\|Microsoft\\\\PhpParser\\\\Token, Microsoft\\\\PhpParser\\\\Node\\|null given\\.$#"
count: 2
path: lib/CodeBuilder/Adapter/TolerantParser/Updater/UseStatementUpdater.php
-
message: "#^Parameter \\#2 \\$lastNode of method Phpactor\\\\CodeBuilder\\\\Adapter\\\\TolerantParser\\\\Updater\\\\UseStatementUpdater\\:\\:resolveUseStatements\\(\\) expects Microsoft\\\\PhpParser\\\\Node, Microsoft\\\\PhpParser\\\\Node\\|null given\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Updater/UseStatementUpdater.php
-
message: "#^Class Phpactor\\\\CodeBuilder\\\\Adapter\\\\TolerantParser\\\\Util\\\\ImportedNames implements generic interface IteratorAggregate but does not specify its types\\: TKey, TValue$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Util/ImportedNames.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Adapter\\\\TolerantParser\\\\Util\\\\ImportedNames\\:\\:classNames\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Util/ImportedNames.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Adapter\\\\TolerantParser\\\\Util\\\\ImportedNames\\:\\:classNamesFromNode\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Util/ImportedNames.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Adapter\\\\TolerantParser\\\\Util\\\\ImportedNames\\:\\:functionNames\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Util/ImportedNames.php
-
message: "#^Property Phpactor\\\\CodeBuilder\\\\Adapter\\\\TolerantParser\\\\Util\\\\ImportedNames\\:\\:\\$table type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Util/ImportedNames.php
-
message: "#^Cannot call method getNameParts\\(\\) on Microsoft\\\\PhpParser\\\\ResolvedName\\|null\\.$#"
count: 1
path: lib/CodeBuilder/Adapter/TolerantParser/Util/NodeHelper.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Adapter\\\\TolerantParser\\\\Util\\\\NodeHelper\\:\\:resolvedShortName\\(\\) should return string but returns bool\\|string\\|null\\.$#"
count: 2
path: lib/CodeBuilder/Adapter/TolerantParser/Util/NodeHelper.php
-
message: "#^Argument of an invalid type Phpactor\\\\CodeBuilder\\\\Domain\\\\Builder\\\\AbstractBuilder supplied for foreach, only iterables are supported\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Builder/AbstractBuilder.php
-
message: "#^Property Phpactor\\\\CodeBuilder\\\\Domain\\\\Builder\\\\AbstractBuilder\\:\\:\\$originalProperties has no type specified\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Builder/AbstractBuilder.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Domain\\\\Builder\\\\ClassBuilder\\:\\:constant\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Builder/ClassBuilder.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Domain\\\\Builder\\\\ParameterBuilder\\:\\:defaultValue\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Builder/ParameterBuilder.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Domain\\\\Builder\\\\TraitBuilder\\:\\:constant\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Builder/TraitBuilder.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/Classes.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\Collection\\:\\:in\\(\\) has parameter \\$names with no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/Collection.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\Collection\\:\\:notIn\\(\\) has parameter \\$names with no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/Collection.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 2
path: lib/CodeBuilder/Domain/Prototype/Collection.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/Constants.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/Enums.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\ImplementsInterfaces\\:\\:fromTypes\\(\\) has parameter \\$types with no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/ImplementsInterfaces.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/ImplementsInterfaces.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\Interfaces\\:\\:fromInterfaces\\(\\) has parameter \\$interfaces with no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/Interfaces.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/Interfaces.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/Properties.php
-
message: "#^Property Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\Prototype\\:\\:\\$updatePolicy has no type specified\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/Prototype.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/QualifiedName.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/Traits.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\Value\\:\\:__construct\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/Value.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\Value\\:\\:fromValue\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/Value.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\Value\\:\\:value\\(\\) has no return type specified\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/Value.php
-
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: lib/CodeBuilder/Domain/Prototype/Value.php
-
message: "#^Call to an undefined method Phpactor\\\\CodeBuilder\\\\Domain\\\\Builder\\\\ClassLikeBuilder\\:\\:property\\(\\)\\.$#"
count: 2
path: lib/CodeBuilder/Tests/Adapter/GeneratorTestCase.php
-
message: "#^Call to an undefined method Phpactor\\\\CodeBuilder\\\\Domain\\\\Builder\\\\ClassLikeBuilder\\:\\:constant\\(\\)\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Adapter/UpdaterTestCase.php
-
message: "#^Call to an undefined method Phpactor\\\\CodeBuilder\\\\Domain\\\\Builder\\\\ClassLikeBuilder\\:\\:property\\(\\)\\.$#"
count: 2
path: lib/CodeBuilder/Tests/Adapter/UpdaterTestCase.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Adapter/WorseReflection/WorseBuilderFactoryTest.php
-
message: "#^Parameter \\#2 \\$type of static method Phpactor\\\\CodeBuilder\\\\Adapter\\\\TolerantParser\\\\Util\\\\NodeHelper\\:\\:resolvedShortName\\(\\) expects Microsoft\\\\PhpParser\\\\Node\\\\QualifiedName\\|Microsoft\\\\PhpParser\\\\Token\\|null, Microsoft\\\\PhpParser\\\\Node given\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Functional/Adapter/TolerantParser/Util/NodeHelperTest.php
-
message: "#^Argument of an invalid type array\\<int, string\\>\\|false supplied for foreach, only iterables are supported\\.$#"
count: 1
path: lib/CodeBuilder/Tests/IntegrationTestCase.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Tests\\\\Unit\\\\Adapter\\\\TolerantParser\\\\Util\\\\ImporterNamesTest\\:\\:parse\\(\\) has parameter \\$source with no type specified\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/Adapter/TolerantParser/Util/ImporterNamesTest.php
-
message: "#^Cannot call method visibility\\(\\) on Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\Parameter\\|null\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/Domain/Builder/MethodBuilderTest.php
-
message: "#^Call to an undefined method Phpactor\\\\CodeBuilder\\\\Domain\\\\Builder\\\\ClassLikeBuilder\\:\\:build\\(\\)\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/Domain/Builder/SourceCodeBuilderTest.php
-
message: "#^Call to an undefined method Phpactor\\\\CodeBuilder\\\\Domain\\\\Builder\\\\ClassLikeBuilder\\:\\:property\\(\\)\\.$#"
count: 2
path: lib/CodeBuilder/Tests/Unit/Domain/Builder/SourceCodeBuilderTest.php
-
message: "#^Cannot call method __toString\\(\\) on Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\UseStatement\\|null\\.$#"
count: 3
path: lib/CodeBuilder/Tests/Unit/Domain/Builder/SourceCodeBuilderTest.php
-
message: "#^Cannot call method name\\(\\) on Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\ClassPrototype\\|null\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/Domain/Builder/SourceCodeBuilderTest.php
-
message: "#^Cannot call method name\\(\\) on Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\TraitPrototype\\|null\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/Domain/Builder/SourceCodeBuilderTest.php
-
message: "#^Cannot call method type\\(\\) on Phpactor\\\\CodeBuilder\\\\Domain\\\\Prototype\\\\UseStatement\\|null\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/Domain/Builder/SourceCodeBuilderTest.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Tests\\\\Unit\\\\Domain\\\\Prototype\\\\TestCollection\\:\\:fromArray\\(\\) has no return type specified\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/Domain/Prototype/CollectionTest.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Tests\\\\Unit\\\\Domain\\\\Prototype\\\\TestCollection\\:\\:fromArray\\(\\) has parameter \\$items with no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/Domain/Prototype/CollectionTest.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Tests\\\\Unit\\\\Domain\\\\Prototype\\\\DefaultValueTest\\:\\:testExportValues\\(\\) has parameter \\$expected with no type specified\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/Domain/Prototype/DefaultValueTest.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Tests\\\\Unit\\\\Domain\\\\Prototype\\\\DefaultValueTest\\:\\:testExportValues\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/Domain/Prototype/DefaultValueTest.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Tests\\\\Unit\\\\Domain\\\\TemplatePathResolver\\\\FilterPhpVersionDirectoryIteratorTest\\:\\:provideDirectoriesToFilter\\(\\) return type has no value type specified in iterable type iterable\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/Domain/TemplatePathResolver/FilterPhpVersionDirectoryIteratorTest.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Tests\\\\Unit\\\\Domain\\\\TemplatePathResolver\\\\FilterPhpVersionDirectoryIteratorTest\\:\\:testThatItKeepsOnlyDirectoriesOfInferiorOrEqualVersion\\(\\) has parameter \\$expectedFilteredDirectories with no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/Domain/TemplatePathResolver/FilterPhpVersionDirectoryIteratorTest.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Tests\\\\Unit\\\\Domain\\\\TemplatePathResolver\\\\PhpVersionPathResolverTest\\:\\:testResolvePaths\\(\\) has parameter \\$expectedPaths with no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/Domain/TemplatePathResolver/PhpVersionPathResolverTest.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Tests\\\\Unit\\\\Domain\\\\TemplatePathResolver\\\\PhpVersionPathResolverTest\\:\\:testResolvePaths\\(\\) has parameter \\$fullTemplatePaths with no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/Domain/TemplatePathResolver/PhpVersionPathResolverTest.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Tests\\\\Unit\\\\Domain\\\\TemplatePathResolver\\\\PhpVersionPathResolverTest\\:\\:testResolvePaths\\(\\) has parameter \\$templatePaths with no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/Domain/TemplatePathResolver/PhpVersionPathResolverTest.php
-
message: "#^Property Phpactor\\\\CodeBuilder\\\\Tests\\\\Unit\\\\SourceBuilderTest\\:\\:\\$builder has no type specified\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/SourceBuilderTest.php
-
message: "#^Property Phpactor\\\\CodeBuilder\\\\Tests\\\\Unit\\\\SourceBuilderTest\\:\\:\\$generator has no type specified\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/SourceBuilderTest.php
-
message: "#^Property Phpactor\\\\CodeBuilder\\\\Tests\\\\Unit\\\\SourceBuilderTest\\:\\:\\$prototype has no type specified\\.$#"
count: 1
path: lib/CodeBuilder/Tests/Unit/SourceBuilderTest.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Util\\\\TextFormat\\:\\:indentRemove\\(\\) should return string but returns string\\|null\\.$#"
count: 1
path: lib/CodeBuilder/Util/TextFormat.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Util\\\\TextFormat\\:\\:indentReplace\\(\\) has parameter \\$text with no type specified\\.$#"
count: 1
path: lib/CodeBuilder/Util/TextFormat.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Util\\\\TextUtil\\:\\:lines\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeBuilder/Util/TextUtil.php
-
message: "#^Method Phpactor\\\\CodeBuilder\\\\Util\\\\TextUtil\\:\\:lines\\(\\) should return array but returns array\\<int, string\\>\\|false\\.$#"
count: 1
path: lib/CodeBuilder/Util/TextUtil.php
-
message: "#^Cannot use array destructuring on array\\|null\\.$#"
count: 1
path: lib/CodeTransform/Adapter/TolerantParser/Refactor/TolerantImportName.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Adapter\\\\TolerantParser\\\\Refactor\\\\TolerantImportName\\:\\:findExistingImport\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeTransform/Adapter/TolerantParser/Refactor/TolerantImportName.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Adapter\\\\TolerantParser\\\\Refactor\\\\TolerantRenameVariable\\:\\:textEditsToRename\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeTransform/Adapter/TolerantParser/Refactor/TolerantRenameVariable.php
-
message: "#^Variable \\$stmt on left side of \\?\\? always exists and is not nullable\\.$#"
count: 2
path: lib/CodeTransform/Adapter/WorseReflection/Refactor/WorseExtractMethod.php
-
message: "#^Constant Phpactor\\\\CodeTransform\\\\Adapter\\\\WorseReflection\\\\Transformer\\\\AddMissingProperties\\:\\:LENGTH_OF_THIS_PREFIX is unused\\.$#"
count: 1
path: lib/CodeTransform/Adapter/WorseReflection/Transformer/AddMissingProperties.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Adapter\\\\WorseReflection\\\\Transformer\\\\ImplementContracts\\:\\:missingClassMethods\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeTransform/Adapter/WorseReflection/Transformer/ImplementContracts.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\CodeTransform\\:\\:transform\\(\\) has parameter \\$transformations with no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeTransform/CodeTransform.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Domain\\\\AbstractCollection\\:\\:names\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeTransform/Domain/AbstractCollection.php
-
message: "#^Parameter \\#1 \\$string of function ltrim expects string, string\\|null given\\.$#"
count: 1
path: lib/CodeTransform/Domain/DocBlockUpdater/ParamTagPrototype.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Domain\\\\Transformers\\:\\:in\\(\\) has parameter \\$transformerNames with no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeTransform/Domain/Transformers.php
-
message: "#^Variable \\$lines in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: lib/CodeTransform/Domain/Utils/TextUtils.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Tests\\\\Adapter\\\\AdapterTestCase\\:\\:renderer\\(\\) has no return type specified\\.$#"
count: 1
path: lib/CodeTransform/Tests/Adapter/AdapterTestCase.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Tests\\\\Adapter\\\\AdapterTestCase\\:\\:sourceExpected\\(\\) has no return type specified\\.$#"
count: 1
path: lib/CodeTransform/Tests/Adapter/AdapterTestCase.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Tests\\\\Adapter\\\\AdapterTestCase\\:\\:sourceExpected\\(\\) has parameter \\$manifestPath with no type specified\\.$#"
count: 1
path: lib/CodeTransform/Tests/Adapter/AdapterTestCase.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Tests\\\\Adapter\\\\AdapterTestCase\\:\\:sourceExpectedAndOffset\\(\\) has no return type specified\\.$#"
count: 1
path: lib/CodeTransform/Tests/Adapter/AdapterTestCase.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Tests\\\\Adapter\\\\AdapterTestCase\\:\\:sourceExpectedAndOffset\\(\\) has parameter \\$manifestPath with no type specified\\.$#"
count: 1
path: lib/CodeTransform/Tests/Adapter/AdapterTestCase.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Tests\\\\Adapter\\\\AdapterTestCase\\:\\:updater\\(\\) has no return type specified\\.$#"
count: 1
path: lib/CodeTransform/Tests/Adapter/AdapterTestCase.php
-
message: "#^Parameter \\#1 \\$manifest of method Phpactor\\\\TestUtils\\\\Workspace\\:\\:loadManifest\\(\\) expects string, string\\|false given\\.$#"
count: 1
path: lib/CodeTransform/Tests/Adapter/AdapterTestCase.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Tests\\\\Adapter\\\\TolerantParser\\\\ClassToFile\\\\Transformer\\\\ClassNameFixerTransformerTest\\:\\:initComposer\\(\\) has no return type specified\\.$#"
count: 1
path: lib/CodeTransform/Tests/Adapter/TolerantParser/ClassToFile/Transformer/ClassNameFixerTransformerTest.php
-
message: "#^Parameter \\#1 \\$directory of function chdir expects string, string\\|false given\\.$#"
count: 1
path: lib/CodeTransform/Tests/Adapter/TolerantParser/ClassToFile/Transformer/ClassNameFixerTransformerTest.php
-
message: "#^Parameter \\#1 \\$manifest of method Phpactor\\\\TestUtils\\\\Workspace\\:\\:loadManifest\\(\\) expects string, string\\|false given\\.$#"
count: 1
path: lib/CodeTransform/Tests/Adapter/TolerantParser/ClassToFile/Transformer/ClassNameFixerTransformerTest.php
-
message: "#^Property Phpactor\\\\CodeTransform\\\\Tests\\\\Adapter\\\\TolerantParser\\\\ClassToFile\\\\Transformer\\\\ClassNameFixerTransformerTest\\:\\:\\$composerAutoload has no type specified\\.$#"
count: 1
path: lib/CodeTransform/Tests/Adapter/TolerantParser/ClassToFile/Transformer/ClassNameFixerTransformerTest.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Tests\\\\Adapter\\\\TolerantParser\\\\Refactor\\\\TolerantImportNameOnlyTest\\:\\:importName\\(\\) has parameter \\$source with no type specified\\.$#"
count: 1
path: lib/CodeTransform/Tests/Adapter/TolerantParser/Refactor/TolerantImportNameOnlyTest.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Tests\\\\Adapter\\\\TolerantParser\\\\Refactor\\\\TolerantRenameVariableTest\\:\\:testRenameVariable\\(\\) has parameter \\$name with no type specified\\.$#"
count: 1
path: lib/CodeTransform/Tests/Adapter/TolerantParser/Refactor/TolerantRenameVariableTest.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Tests\\\\Adapter\\\\WorseReflection\\\\Helper\\\\WorseInterestingOffsetFinderTest\\:\\:provideFindSomethingInterestingWhen\\(\\) has no return type specified\\.$#"
count: 1
path: lib/CodeTransform/Tests/Adapter/WorseReflection/Helper/WorseInterestingOffsetFinderTest.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Tests\\\\Adapter\\\\WorseReflection\\\\Refactor\\\\WorseOverrideMethodTest\\:\\:testOverrideMethod\\(\\) has parameter \\$methodName with no type specified\\.$#"
count: 1
path: lib/CodeTransform/Tests/Adapter/WorseReflection/Refactor/WorseOverrideMethodTest.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Tests\\\\Unit\\\\CodeTransformTest\\:\\:create\\(\\) has parameter \\$transformers with no value type specified in iterable type array\\.$#"
count: 1
path: lib/CodeTransform/Tests/Unit/CodeTransformTest.php
-
message: "#^Method Phpactor\\\\CodeTransform\\\\Tests\\\\Unit\\\\Domain\\\\Utils\\\\TextUtilsTest\\:\\:provideRemoveIndentation\\(\\) has no return type specified\\.$#"
count: 1
path: lib/CodeTransform/Tests/Unit/Domain/Utils/TextUtilsTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Bridge\\\\TolerantParser\\\\ChainTolerantCompletor\\:\\:filterNonQualifyingClasses\\(\\) is unused\\.$#"
count: 1
path: lib/Completion/Bridge/TolerantParser/ChainTolerantCompletor.php
-
message: "#^Method Phpactor\\\\Completion\\\\Bridge\\\\TolerantParser\\\\ChainTolerantCompletor\\:\\:filterNonQualifyingClasses\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Bridge/TolerantParser/ChainTolerantCompletor.php
-
message: "#^Cannot call method getEndPosition\\(\\) on Microsoft\\\\PhpParser\\\\Node\\|null\\.$#"
count: 1
path: lib/Completion/Bridge/TolerantParser/CompletionContext.php
-
message: "#^Cannot access property \\$parent on Microsoft\\\\PhpParser\\\\Node\\|null\\.$#"
count: 2
path: lib/Completion/Bridge/TolerantParser/DebugTolerantCompletor.php
-
message: "#^Cannot call method __toString\\(\\) on mixed\\.$#"
count: 1
path: lib/Completion/Bridge/TolerantParser/SourceCodeFilesystem/ScfClassCompletor.php
-
message: "#^Cannot call method name\\(\\) on mixed\\.$#"
count: 1
path: lib/Completion/Bridge/TolerantParser/SourceCodeFilesystem/ScfClassCompletor.php
-
message: "#^Parameter \\#1 \\$candidate of method Phpactor\\\\Completion\\\\Bridge\\\\TolerantParser\\\\SourceCodeFilesystem\\\\ScfClassCompletor\\:\\:getClassNameForImport\\(\\) expects Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName, mixed given\\.$#"
count: 1
path: lib/Completion/Bridge/TolerantParser/SourceCodeFilesystem/ScfClassCompletor.php
-
message: "#^Method Phpactor\\\\Completion\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\DoctrineAnnotationCompletor\\:\\:complete\\(\\) should return bool but returns mixed\\.$#"
count: 1
path: lib/Completion/Bridge/TolerantParser/WorseReflection/DoctrineAnnotationCompletor.php
-
message: "#^Method Phpactor\\\\Completion\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\Helper\\\\VariableCompletionHelper\\:\\:orderedVariablesUntilOffset\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Bridge/TolerantParser/WorseReflection/Helper/VariableCompletionHelper.php
-
message: "#^Method Phpactor\\\\Completion\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\WorseFunctionCompletor\\:\\:definedNamesFor\\(\\) has parameter \\$reflectedFunctions with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Bridge/TolerantParser/WorseReflection/WorseFunctionCompletor.php
-
message: "#^Method Phpactor\\\\Completion\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\WorseFunctionCompletor\\:\\:filterFunctions\\(\\) has parameter \\$functions with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Bridge/TolerantParser/WorseReflection/WorseFunctionCompletor.php
-
message: "#^Method Phpactor\\\\Completion\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\WorseFunctionCompletor\\:\\:reflectedFunctions\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Bridge/TolerantParser/WorseReflection/WorseFunctionCompletor.php
-
message: "#^Parameter \\#1 \\$name of method Phpactor\\\\WorseReflection\\\\Core\\\\Reflector\\\\FunctionReflector\\:\\:reflectFunction\\(\\) expects Phpactor\\\\WorseReflection\\\\Core\\\\Name\\|string, mixed given\\.$#"
count: 1
path: lib/Completion/Bridge/TolerantParser/WorseReflection/WorseFunctionCompletor.php
-
message: "#^Method Phpactor\\\\Completion\\\\Core\\\\ChainSignatureHelper\\:\\:__construct\\(\\) has parameter \\$helpers with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Core/ChainSignatureHelper.php
-
message: "#^Parameter \\#5 \\$options of method Phpactor\\\\Completion\\\\Core\\\\Completor\\\\NameSearcherCompletor\\:\\:createSuggestion\\(\\) expects array\\<string, string\\>, array\\<string, mixed\\> given\\.$#"
count: 1
path: lib/Completion/Core/Completor/NameSearcherCompletor.php
-
message: "#^Method Phpactor\\\\Completion\\\\Core\\\\Range\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Core/Range.php
-
message: "#^Method Phpactor\\\\Completion\\\\Core\\\\SignatureHelp\\:\\:activeSignature\\(\\) should return int but returns int\\|null\\.$#"
count: 1
path: lib/Completion/Core/SignatureHelp.php
-
message: "#^Method Phpactor\\\\Completion\\\\Core\\\\SignatureInformation\\:\\:__construct\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Core/SignatureInformation.php
-
message: "#^Method Phpactor\\\\Completion\\\\Core\\\\SignatureInformation\\:\\:parameters\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Core/SignatureInformation.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Benchmark\\\\CompletorBenchCase\\:\\:benchComplete\\(\\) has parameter \\$params with no type specified\\.$#"
count: 1
path: lib/Completion/Tests/Benchmark/CompletorBenchCase.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Benchmark\\\\CompletorBenchCase\\:\\:provideComplete\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Completion/Tests/Benchmark/CompletorBenchCase.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Benchmark\\\\CompletorBenchCase\\:\\:setUp\\(\\) has parameter \\$params with no type specified\\.$#"
count: 1
path: lib/Completion/Tests/Benchmark/CompletorBenchCase.php
-
message: "#^Parameter \\#1 \\$source of static method Phpactor\\\\TestUtils\\\\ExtractOffset\\:\\:fromSource\\(\\) expects string, string\\|false given\\.$#"
count: 1
path: lib/Completion/Tests/Benchmark/CompletorBenchCase.php
-
message: "#^Property Phpactor\\\\Completion\\\\Tests\\\\Benchmark\\\\CompletorBenchCase\\:\\:\\$offset has no type specified\\.$#"
count: 1
path: lib/Completion/Tests/Benchmark/CompletorBenchCase.php
-
message: "#^Property Phpactor\\\\Completion\\\\Tests\\\\Benchmark\\\\CompletorBenchCase\\:\\:\\$source has no type specified\\.$#"
count: 1
path: lib/Completion/Tests/Benchmark/CompletorBenchCase.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Integration\\\\Bridge\\\\TolerantParser\\\\DoctrineAnnotationCompletorTest\\:\\:testComplete\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Tests/Integration/Bridge/TolerantParser/DoctrineAnnotationCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Integration\\\\Bridge\\\\TolerantParser\\\\SourceCodeFilesystem\\\\ScfClassCompletorTest\\:\\:testComplete\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Tests/Integration/Bridge/TolerantParser/SourceCodeFilesystem/ScfClassCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Integration\\\\Bridge\\\\TolerantParser\\\\SourceCodeFilesystem\\\\ScfClassCompletorTest\\:\\:testImportClass\\(\\) has parameter \\$expected with no type specified\\.$#"
count: 1
path: lib/Completion/Tests/Integration/Bridge/TolerantParser/SourceCodeFilesystem/ScfClassCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Integration\\\\Bridge\\\\TolerantParser\\\\SourceCodeFilesystem\\\\ScfClassCompletorTest\\:\\:testImportClass\\(\\) has parameter \\$source with no type specified\\.$#"
count: 1
path: lib/Completion/Tests/Integration/Bridge/TolerantParser/SourceCodeFilesystem/ScfClassCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Integration\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\WorseClassMemberCompletorTest\\:\\:testComplete\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Tests/Integration/Bridge/TolerantParser/WorseReflection/WorseClassMemberCompletorTest.php
-
message: "#^Class Phpactor\\\\Completion\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\WorseConstantCompletor does not have a constructor and must be instantiated without any parameters\\.$#"
count: 1
path: lib/Completion/Tests/Integration/Bridge/TolerantParser/WorseReflection/WorseConstantCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Integration\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\WorseConstantCompletorTest\\:\\:testComplete\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Tests/Integration/Bridge/TolerantParser/WorseReflection/WorseConstantCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Integration\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\WorseConstructorCompletorTest\\:\\:provideCompleteStaticClassParameter\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Completion/Tests/Integration/Bridge/TolerantParser/WorseReflection/WorseConstructorCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Integration\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\WorseConstructorCompletorTest\\:\\:testCompleteMethodParameter\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Tests/Integration/Bridge/TolerantParser/WorseReflection/WorseConstructorCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Integration\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\WorseDeclaredClassCompletorTest\\:\\:testComplete\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Tests/Integration/Bridge/TolerantParser/WorseReflection/WorseDeclaredClassCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Integration\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\WorseFunctionCompletorTest\\:\\:testComplete\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Tests/Integration/Bridge/TolerantParser/WorseReflection/WorseFunctionCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Integration\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\WorseLocalVariableCompletorTest\\:\\:testComplete\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Tests/Integration/Bridge/TolerantParser/WorseReflection/WorseLocalVariableCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Integration\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\WorseNamedParameterCompletorTest\\:\\:testComplete\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Tests/Integration/Bridge/TolerantParser/WorseReflection/WorseNamedParameterCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Integration\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\WorseParameterCompletorTest\\:\\:testCompleteFunctionParameter\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Tests/Integration/Bridge/TolerantParser/WorseReflection/WorseParameterCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Integration\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\WorseParameterCompletorTest\\:\\:testCompleteMethodParameter\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Tests/Integration/Bridge/TolerantParser/WorseReflection/WorseParameterCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Integration\\\\Bridge\\\\TolerantParser\\\\WorseReflection\\\\WorseParameterCompletorTest\\:\\:testCompleteStaticClassParameter\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Tests/Integration/Bridge/TolerantParser/WorseReflection/WorseParameterCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Integration\\\\CompletorTestCase\\:\\:assertComplete\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Tests/Integration/CompletorTestCase.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Unit\\\\Bridge\\\\TolerantParser\\\\ChainTolerantCompletorTest\\:\\:create\\(\\) has parameter \\$completors with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Tests/Unit/Bridge/TolerantParser/ChainTolerantCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Unit\\\\Bridge\\\\TolerantParser\\\\LimitingCompletorTest\\:\\:primeInnerCompletor\\(\\) has parameter \\$suggestions with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Tests/Unit/Bridge/TolerantParser/LimitingCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Unit\\\\Bridge\\\\TolerantParser\\\\LimitingCompletorTest\\:\\:suggestion\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Completion/Tests/Unit/Bridge/TolerantParser/LimitingCompletorTest.php
-
message: "#^Parameter \\#1 \\$completor of class Phpactor\\\\Completion\\\\Bridge\\\\TolerantParser\\\\LimitingCompletor constructor expects Phpactor\\\\Completion\\\\Bridge\\\\TolerantParser\\\\TolerantCompletor, object given\\.$#"
count: 1
path: lib/Completion/Tests/Unit/Bridge/TolerantParser/LimitingCompletorTest.php
-
message: "#^Parameter \\#1 \\$node of method Phpactor\\\\Completion\\\\Bridge\\\\TolerantParser\\\\LimitingCompletor\\:\\:complete\\(\\) expects Microsoft\\\\PhpParser\\\\Node, object given\\.$#"
count: 4
path: lib/Completion/Tests/Unit/Bridge/TolerantParser/LimitingCompletorTest.php
-
message: "#^Property Phpactor\\\\Completion\\\\Tests\\\\Unit\\\\Bridge\\\\TolerantParser\\\\LimitingCompletorTest\\:\\:\\$innerCompletor with generic class Prophecy\\\\Prophecy\\\\ObjectProphecy does not specify its types\\: T$#"
count: 1
path: lib/Completion/Tests/Unit/Bridge/TolerantParser/LimitingCompletorTest.php
-
message: "#^Property Phpactor\\\\Completion\\\\Tests\\\\Unit\\\\Bridge\\\\TolerantParser\\\\LimitingCompletorTest\\:\\:\\$node with generic class Prophecy\\\\Prophecy\\\\ObjectProphecy does not specify its types\\: T$#"
count: 1
path: lib/Completion/Tests/Unit/Bridge/TolerantParser/LimitingCompletorTest.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: lib/Completion/Tests/Unit/Bridge/TolerantParser/LimitingCompletorTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Unit\\\\Bridge\\\\WorseReflection\\\\Formatter\\\\FunctionLikeSnippetFormatterTest\\:\\:provideReflectionToFormat\\(\\) return type has no value type specified in iterable type iterable\\.$#"
count: 1
path: lib/Completion/Tests/Unit/Bridge/WorseReflection/Formatter/FunctionLikeSnippetFormatterTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Unit\\\\Core\\\\ChainSignatureHelperTest\\:\\:create\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Completion/Tests/Unit/Core/ChainSignatureHelperTest.php
-
message: "#^Method Phpactor\\\\Completion\\\\Tests\\\\Unit\\\\Core\\\\ChainSignatureHelperTest\\:\\:create\\(\\) has parameter \\$helpers with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Completion/Tests/Unit/Core/ChainSignatureHelperTest.php
-
message: "#^Method Phpactor\\\\ConfigLoader\\\\Adapter\\\\Deserializer\\\\JsonDeserializer\\:\\:deserialize\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/ConfigLoader/Adapter/Deserializer/JsonDeserializer.php
-
message: "#^Method Phpactor\\\\ConfigLoader\\\\Adapter\\\\Deserializer\\\\JsonDeserializer\\:\\:deserialize\\(\\) should return array but returns mixed\\.$#"
count: 1
path: lib/ConfigLoader/Adapter/Deserializer/JsonDeserializer.php
-
message: "#^Method Phpactor\\\\ConfigLoader\\\\Adapter\\\\Deserializer\\\\YamlDeserializer\\:\\:deserialize\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/ConfigLoader/Adapter/Deserializer/YamlDeserializer.php
-
message: "#^Method Phpactor\\\\ConfigLoader\\\\Adapter\\\\Deserializer\\\\YamlDeserializer\\:\\:deserialize\\(\\) should return array but returns mixed\\.$#"
count: 1
path: lib/ConfigLoader/Adapter/Deserializer/YamlDeserializer.php
-
message: "#^Cannot call method loader\\(\\) on mixed\\.$#"
count: 1
path: lib/ConfigLoader/Core/ConfigLoader.php
-
message: "#^Cannot call method path\\(\\) on mixed\\.$#"
count: 2
path: lib/ConfigLoader/Core/ConfigLoader.php
-
message: "#^Method Phpactor\\\\ConfigLoader\\\\Core\\\\ConfigLoader\\:\\:load\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/ConfigLoader/Core/ConfigLoader.php
-
message: "#^Strict comparison using \\=\\=\\= between null and array will always evaluate to false\\.$#"
count: 1
path: lib/ConfigLoader/Core/ConfigLoader.php
-
message: "#^Method Phpactor\\\\ConfigLoader\\\\Core\\\\Deserializer\\:\\:deserialize\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/ConfigLoader/Core/Deserializer.php
-
message: "#^Method Phpactor\\\\ConfigLoader\\\\Core\\\\Deserializers\\:\\:__construct\\(\\) has parameter \\$deserializerMap with no value type specified in iterable type array\\.$#"
count: 1
path: lib/ConfigLoader/Core/Deserializers.php
-
message: "#^Method Phpactor\\\\ConfigLoader\\\\Core\\\\Deserializers\\:\\:add\\(\\) has parameter \\$deserializerExtension with no type specified\\.$#"
count: 1
path: lib/ConfigLoader/Core/Deserializers.php
-
message: "#^Property Phpactor\\\\ConfigLoader\\\\Core\\\\Deserializers\\:\\:\\$deserializerMap type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/ConfigLoader/Core/Deserializers.php
-
message: "#^Class Phpactor\\\\ConfigLoader\\\\Core\\\\PathCandidates implements generic interface IteratorAggregate but does not specify its types\\: TKey, TValue$#"
count: 1
path: lib/ConfigLoader/Core/PathCandidates.php
-
message: "#^Method Phpactor\\\\ConfigLoader\\\\Core\\\\PathCandidates\\:\\:__construct\\(\\) has parameter \\$candidates with no value type specified in iterable type array\\.$#"
count: 1
path: lib/ConfigLoader/Core/PathCandidates.php
-
message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#"
count: 2
path: lib/ConfigLoader/Tests/Benchmark/ConfigLoaderBench.php
-
message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, mixed given\\.$#"
count: 1
path: lib/ConfigLoader/Tests/Benchmark/ConfigLoaderBench.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$arrays of function array_merge expects array, mixed given\\.$#"
count: 1
path: lib/ConfigLoader/Tests/Benchmark/ConfigLoaderBench.php
-
message: "#^Method Phpactor\\\\ConfigLoader\\\\Tests\\\\Integration\\\\ConfigLoaderTest\\:\\:createConfig\\(\\) has parameter \\$array with no value type specified in iterable type array\\.$#"
count: 1
path: lib/ConfigLoader/Tests/Integration/ConfigLoaderTest.php
-
message: "#^Cannot call method length\\(\\) on Phpactor\\\\DocblockParser\\\\Ast\\\\Token\\|null\\.$#"
count: 2
path: lib/DocblockParser/Ast/Docblock.php
-
message: "#^Parameter \\#1 \\$list of class Phpactor\\\\DocblockParser\\\\Ast\\\\TypeList constructor expects array\\<Phpactor\\\\DocblockParser\\\\Ast\\\\Token\\|Phpactor\\\\DocblockParser\\\\Ast\\\\TypeNode\\>, array\\<int\\<0, max\\>, Phpactor\\\\DocblockParser\\\\Ast\\\\Token\\|Phpactor\\\\DocblockParser\\\\Ast\\\\TypeNode\\|null\\> given\\.$#"
count: 1
path: lib/DocblockParser/Parser.php
-
message: "#^Cannot access property \\$value on Phpactor\\\\DocblockParser\\\\Ast\\\\Token\\|null\\.$#"
count: 1
path: lib/DocblockParser/Tests/Unit/Ast/NodeTest.php
-
message: "#^Cannot call method text\\(\\) on Phpactor\\\\DocblockParser\\\\Ast\\\\Tag\\\\ParamTag\\|null\\.$#"
count: 1
path: lib/DocblockParser/Tests/Unit/Ast/NodeTest.php
-
message: "#^Cannot call method toString\\(\\) on Phpactor\\\\DocblockParser\\\\Ast\\\\ParameterList\\|null\\.$#"
count: 1