-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
4534 lines (3629 loc) Β· 164 KB
/
phpstan-baseline.neon
File metadata and controls
4534 lines (3629 loc) Β· 164 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
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: "#^Instanceof between Piwik\\\\DataTable and Piwik\\\\DataTable\\\\Map will always evaluate to false\\.$#"
count: 1
path: core/API/DataTableGenericFilter.php
-
message: "#^Left side of && is always true\\.$#"
count: 1
path: core/API/DataTableGenericFilter.php
-
message: "#^Method Piwik\\\\API\\\\DataTableGenericFilter\\:\\:applyGenericFilters\\(\\) should return bool but empty return statement found\\.$#"
count: 1
path: core/API/DataTableGenericFilter.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/API/DataTableManipulator.php
-
message: "#^Method Piwik\\\\API\\\\DataTableManipulator\\:\\:loadSubtable\\(\\) should return Piwik\\\\DataTable but returns null\\.$#"
count: 2
path: core/API/DataTableManipulator.php
-
message: "#^PHPDoc tag @return has invalid value \\(\\)\\: Unexpected token \"\\\\n \", expected type at offset 241$#"
count: 1
path: core/API/DataTableManipulator.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/API/DataTableManipulator/Flattener.php
-
message: "#^Strict comparison using \\=\\=\\= between Piwik\\\\DataTable and null will always evaluate to false\\.$#"
count: 1
path: core/API/DataTableManipulator/Flattener.php
-
message: "#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: core/API/DataTableManipulator/LabelFilter.php
-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(string\\)\\: bool\\)\\|null, 'strlen' given\\.$#"
count: 1
path: core/API/DataTableManipulator/LabelFilter.php
-
message: "#^Strict comparison using \\=\\=\\= between Piwik\\\\DataTable and null will always evaluate to false\\.$#"
count: 1
path: core/API/DataTableManipulator/LabelFilter.php
-
message: "#^Call to an undefined method Piwik\\\\DataTable\\\\DataTableInterface\\:\\:getRows\\(\\)\\.$#"
count: 2
path: core/API/DataTableManipulator/ReportTotalsCalculator.php
-
message: "#^Left side of && is always true\\.$#"
count: 1
path: core/API/DataTableManipulator/ReportTotalsCalculator.php
-
message: "#^Property Piwik\\\\API\\\\DataTableManipulator\\\\ReportTotalsCalculator\\:\\:\\$report \\(Piwik\\\\Plugin\\\\Report\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/API/DataTableManipulator/ReportTotalsCalculator.php
-
message: "#^Parameter \\#1 \\$apiModule of class Piwik\\\\API\\\\DataTableManipulator\\\\Flattener constructor expects bool, string given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#1 \\$apiModule of class Piwik\\\\API\\\\DataTableManipulator\\\\LabelFilter constructor expects bool, string given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#1 \\$apiModule of class Piwik\\\\API\\\\DataTableManipulator\\\\ReportTotalsCalculator constructor expects bool, string given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#1 \\$dataTable of method Piwik\\\\API\\\\DataTableManipulator\\\\Flattener\\:\\:flatten\\(\\) expects Piwik\\\\DataTable, Piwik\\\\DataTable\\\\DataTableInterface given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#1 \\$labels of method Piwik\\\\API\\\\DataTableManipulator\\\\LabelFilter\\:\\:filter\\(\\) expects string, array given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#1 \\$table of method Piwik\\\\API\\\\DataTableGenericFilter\\:\\:filter\\(\\) expects Piwik\\\\DataTable, Piwik\\\\DataTable\\\\DataTableInterface given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#1 \\$table of method Piwik\\\\API\\\\DataTableManipulator\\\\ReportTotalsCalculator\\:\\:calculate\\(\\) expects Piwik\\\\DataTable, Piwik\\\\DataTable\\\\DataTableInterface given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#2 \\$apiMethod of class Piwik\\\\API\\\\DataTableManipulator\\\\Flattener constructor expects bool, string given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#2 \\$apiMethod of class Piwik\\\\API\\\\DataTableManipulator\\\\LabelFilter constructor expects bool, string given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#2 \\$apiMethod of class Piwik\\\\API\\\\DataTableManipulator\\\\ReportTotalsCalculator constructor expects bool, string given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Parameter \\#2 \\$dataTable of method Piwik\\\\API\\\\DataTableManipulator\\\\LabelFilter\\:\\:filter\\(\\) expects Piwik\\\\DataTable, Piwik\\\\DataTable\\\\DataTableInterface given\\.$#"
count: 1
path: core/API/DataTablePostProcessor.php
-
message: "#^Call to an undefined method ReflectionType\\:\\:getName\\(\\)\\.$#"
count: 1
path: core/API/Proxy.php
-
message: "#^Method Piwik\\\\API\\\\Request\\:\\:process\\(\\) has invalid return type Piwik\\\\API\\\\Map\\.$#"
count: 1
path: core/API/Request.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 1
path: core/API/Request.php
-
message: "#^Method Piwik\\\\API\\\\ResponseBuilder\\:\\:decorateExceptionWithDebugTrace\\(\\) should return Exception but returns Throwable\\.$#"
count: 1
path: core/API/ResponseBuilder.php
-
message: "#^Parameter \\#2 \\$columnToFilter of class Piwik\\\\DataTable\\\\Filter\\\\Pattern constructor expects string, array given\\.$#"
count: 1
path: core/API/ResponseBuilder.php
-
message: "#^Property Piwik\\\\API\\\\ResponseBuilder\\:\\:\\$outputFormat is never read, only written\\.$#"
count: 1
path: core/API/ResponseBuilder.php
-
message: "#^Parameter \\#1 \\$request of static method Piwik\\\\API\\\\Request\\:\\:getMethodIfApiRequest\\(\\) expects array, null given\\.$#"
count: 1
path: core/Access.php
-
message: "#^Property Piwik\\\\Access\\:\\:\\$auth \\(Piwik\\\\Auth\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Access.php
-
message: "#^Property Piwik\\\\Access\\:\\:\\$login \\(string\\) does not accept null\\.$#"
count: 3
path: core/Access.php
-
message: "#^Property Piwik\\\\Access\\:\\:\\$login \\(string\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Access.php
-
message: "#^Property Piwik\\\\Access\\:\\:\\$token_auth \\(string\\) does not accept null\\.$#"
count: 1
path: core/Access.php
-
message: "#^If condition is always true\\.$#"
count: 6
path: core/Application/Environment.php
-
message: "#^Method Piwik\\\\Application\\\\Kernel\\\\PluginList\\:\\:sortPlugins\\(\\) has invalid return type string\\.$#"
count: 1
path: core/Application/Kernel/PluginList.php
-
message: "#^Method Piwik\\\\Application\\\\Kernel\\\\PluginList\\:\\:sortPluginsAndRespectDependencies\\(\\) has invalid return type string\\.$#"
count: 1
path: core/Application/Kernel/PluginList.php
-
message: "#^Method Piwik\\\\Application\\\\Kernel\\\\PluginList\\:\\:sortPluginsAndRespectDependencies\\(\\) should return array\\<string\\> but returns array\\<string\\>\\.$#"
count: 1
path: core/Application/Kernel/PluginList.php
-
message: "#^Method Piwik\\\\Archive\\\\ArchiveInvalidator\\:\\:getSegmentArchiving\\(\\) is unused\\.$#"
count: 1
path: core/Archive/ArchiveInvalidator.php
-
message: "#^PHPDoc tag @param for parameter \\$pluginName with type int\\|string is not subtype of native type string\\|null\\.$#"
count: 1
path: core/Archive/ArchiveInvalidator.php
-
message: "#^Property Piwik\\\\Archive\\\\ArchiveInvalidator\\:\\:\\$allIdSitesCache \\(array\\<int\\>\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Archive/ArchiveInvalidator.php
-
message: "#^Property Piwik\\\\Archive\\\\ArchiveInvalidator\\:\\:\\$allIdSitesCache is never written, only read\\.$#"
count: 1
path: core/Archive/ArchiveInvalidator.php
-
message: "#^Property Piwik\\\\Archive\\\\ArchiveInvalidator\\:\\:\\$segmentArchiving \\(Piwik\\\\CronArchive\\\\SegmentArchiving\\) does not accept null\\.$#"
count: 1
path: core/Archive/ArchiveInvalidator.php
-
message: "#^Property Piwik\\\\Archive\\\\ArchiveInvalidator\\:\\:\\$segmentArchiving \\(Piwik\\\\CronArchive\\\\SegmentArchiving\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/Archive/ArchiveInvalidator.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: core/Archive/ArchiveInvalidator.php
-
message: "#^Variable \\$entry might not be defined\\.$#"
count: 4
path: core/Archive/ArchiveInvalidator.php
-
message: "#^Method Piwik\\\\Archive\\\\ArchivePurger\\:\\:getOldestTemporaryArchiveToKeepThreshold\\(\\) should return bool\\|int but returns string\\.$#"
count: 2
path: core/Archive/ArchivePurger.php
-
message: "#^PHPDoc tag @var has invalid value \\(\\$today\\)\\: Unexpected token \"\\$today\", expected type at offset 96$#"
count: 1
path: core/Archive/ArchivePurger.php
-
message: "#^Parameter \\#3 \\$oldestToKeep of method Piwik\\\\DataAccess\\\\Model\\:\\:getArchiveIdsForSegments\\(\\) expects string, bool\\|int given\\.$#"
count: 1
path: core/Archive/ArchivePurger.php
-
message: "#^Property Piwik\\\\Archive\\\\ArchivePurger\\:\\:\\$today is never read, only written\\.$#"
count: 1
path: core/Archive/ArchivePurger.php
-
message: "#^Offset 'date1' does not exist on string\\.$#"
count: 1
path: core/Archive/ArchiveState.php
-
message: "#^Offset 'date2' does not exist on string\\.$#"
count: 2
path: core/Archive/ArchiveState.php
-
message: "#^Offset 'idsite' does not exist on string\\.$#"
count: 1
path: core/Archive/ArchiveState.php
-
message: "#^Offset 'ts_archived' does not exist on string\\.$#"
count: 1
path: core/Archive/ArchiveState.php
-
message: "#^Parameter \\#3 \\$archiveIdsFlipped of method Piwik\\\\Archive\\\\ArchiveState\\:\\:checkArchiveStates\\(\\) expects array\\<string, array\\<int, bool\\>\\>, array\\<string, array\\<int, \\(int\\|string\\)\\>\\> given\\.$#"
count: 1
path: core/Archive/ArchiveState.php
-
message: "#^Right side of && is always true\\.$#"
count: 1
path: core/Archive/DataTableFactory.php
-
message: "#^Strict comparison using \\=\\=\\= between array and false will always evaluate to false\\.$#"
count: 1
path: core/Archive/DataTableFactory.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/ArchiveProcessor.php
-
message: "#^Method Piwik\\\\ArchiveProcessor\\:\\:areColumnsNotAlreadyRenamed\\(\\) should return Piwik\\\\Period but returns bool\\.$#"
count: 1
path: core/ArchiveProcessor.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\:\\:\\$archive \\(Piwik\\\\Archive\\) does not accept Piwik\\\\Archive\\\\ArchiveQuery\\.$#"
count: 1
path: core/ArchiveProcessor.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\:\\:\\$archive \\(Piwik\\\\Archive\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/ArchiveProcessor.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\:\\:\\$numberOfVisits \\(int\\) does not accept default value of type false\\.$#"
count: 1
path: core/ArchiveProcessor.php
-
message: "#^Strict comparison using \\=\\=\\= between int and false will always evaluate to false\\.$#"
count: 1
path: core/ArchiveProcessor.php
-
message: "#^Left side of && is always true\\.$#"
count: 1
path: core/ArchiveProcessor/Loader.php
-
message: "#^Parameter \\#1 \\$archiveOnlyReport of method Piwik\\\\ArchiveProcessor\\\\Parameters\\:\\:setArchiveOnlyReport\\(\\) expects array\\<string\\>\\|string, null given\\.$#"
count: 1
path: core/ArchiveProcessor/Loader.php
-
message: "#^Parameter \\#3 \\$period of method Piwik\\\\Archive\\\\ArchiveInvalidator\\:\\:markArchivesAsInvalidated\\(\\) expects string, false given\\.$#"
count: 1
path: core/ArchiveProcessor/Loader.php
-
message: "#^Call to function is_array\\(\\) with non\\-falsy\\-string will always evaluate to false\\.$#"
count: 1
path: core/ArchiveProcessor/Parameters.php
-
message: "#^Call to function is_array\\(\\) with string\\|null will always evaluate to false\\.$#"
count: 1
path: core/ArchiveProcessor/Parameters.php
-
message: "#^Property Piwik\\\\ArchiveProcessor\\\\Parameters\\:\\:\\$requestedPlugin \\(string\\) does not accept default value of type false\\.$#"
count: 1
path: core/ArchiveProcessor/Parameters.php
-
message: "#^Static property Piwik\\\\ArchiveProcessor\\\\PluginsArchiver\\:\\:\\$archivers \\(array\\<Piwik\\\\Plugin\\\\Archiver\\>\\) does not accept array\\<string, string\\>\\.$#"
count: 1
path: core/ArchiveProcessor/PluginsArchiver.php
-
message: "#^Ternary operator condition is always true\\.$#"
count: 1
path: core/ArchiveProcessor/PluginsArchiver.php
-
message: "#^Expression on left side of \\?\\? is not nullable\\.$#"
count: 2
path: core/ArchiveProcessor/RecordBuilder.php
-
message: "#^Method Piwik\\\\ArchiveProcessor\\\\Rules\\:\\:getSelectableDoneFlagValues\\(\\) should return array\\<string\\> but returns array\\<int, int\\>\\.$#"
count: 1
path: core/ArchiveProcessor/Rules.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int given\\.$#"
count: 1
path: core/ArchiveProcessor/Rules.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int\\<1, max\\> given\\.$#"
count: 1
path: core/ArchiveProcessor/Rules.php
-
message: "#^Parameter \\#2 \\$assetFetcher of class Piwik\\\\AssetManager\\\\UIAssetMerger\\\\JScriptUIAssetMerger constructor expects Piwik\\\\AssetManager\\\\UIAssetFetcher\\\\JScriptUIAssetFetcher, Piwik\\\\AssetManager\\\\UIAssetFetcher given\\.$#"
count: 1
path: core/AssetManager.php
-
message: "#^Parameter \\#2 \\$assetFetcher of class Piwik\\\\AssetManager\\\\UIAssetMerger\\\\JScriptUIAssetMerger constructor expects Piwik\\\\AssetManager\\\\UIAssetFetcher\\\\JScriptUIAssetFetcher, Piwik\\\\AssetManager\\\\UIAssetFetcher\\\\StaticUIAssetFetcher given\\.$#"
count: 1
path: core/AssetManager.php
-
message: "#^Parameter \\#3 \\$theme of class Piwik\\\\AssetManager\\\\UIAssetFetcher\\\\StaticUIAssetFetcher constructor expects Piwik\\\\Theme, null given\\.$#"
count: 2
path: core/AssetManager.php
-
message: "#^PHPDoc tag @throws with type Piwik\\\\AssetManager\\\\Exception is not subtype of Throwable$#"
count: 1
path: core/AssetManager/UIAsset.php
-
message: "#^Property Piwik\\\\AssetManager\\\\UIAsset\\\\OnDiskUIAsset\\:\\:\\$relativeRootDir \\(string\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/AssetManager/UIAsset/OnDiskUIAsset.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: core/AssetManager/UIAsset/OnDiskUIAsset.php
-
message: "#^Default value of the parameter \\#1 \\$pluginNames \\(false\\) of method Piwik\\\\AssetManager\\\\UIAssetCacheBuster\\:\\:piwikVersionBasedCacheBuster\\(\\) is incompatible with type array\\<string\\>\\.$#"
count: 1
path: core/AssetManager/UIAssetCacheBuster.php
-
message: "#^Result of \\|\\| is always true\\.$#"
count: 1
path: core/AssetManager/UIAssetCacheBuster.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 2
path: core/AssetManager/UIAssetCacheBuster.php
-
message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#"
count: 1
path: core/AssetManager/UIAssetFetcher.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: core/AssetManager/UIAssetFetcher/JScriptUIAssetFetcher.php
-
message: "#^Parameter \\#3 \\$pending of static method Piwik\\\\Piwik\\:\\:postEvent\\(\\) expects bool, null given\\.$#"
count: 1
path: core/AssetManager/UIAssetFetcher/JScriptUIAssetFetcher.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: core/AssetManager/UIAssetFetcher/StylesheetUIAssetFetcher.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/AssetManager/UIAssetMerger.php
-
message: "#^Parameter \\#3 \\$pending of static method Piwik\\\\Piwik\\:\\:postEvent\\(\\) expects bool, null given\\.$#"
count: 1
path: core/AssetManager/UIAssetMerger/JScriptUIAssetMerger.php
-
message: "#^Constant PASSWORD_ARGON2ID not found\\.$#"
count: 1
path: core/Auth/Password.php
-
message: "#^PHPDoc tag @param has invalid value \\(string\\)\\: Unexpected token \"\\\\n \\* \", expected variable at offset 193$#"
count: 1
path: core/Auth/Password.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\\\AdapterInterface\\:\\:fetchAll\\(\\)\\.$#"
count: 1
path: core/Changes/Model.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\\\AdapterInterface\\:\\:query\\(\\)\\.$#"
count: 2
path: core/Changes/Model.php
-
message: "#^Comparison operation \"\\>\" between int\\<1, max\\> and 0 is always true\\.$#"
count: 1
path: core/Changes/Model.php
-
message: "#^Left side of && is always true\\.$#"
count: 1
path: core/Changes/Model.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/CliMulti.php
-
message: "#^Variable \\$response in empty\\(\\) always exists and is always falsy\\.$#"
count: 1
path: core/CliMulti.php
-
message: "#^Strict comparison using \\=\\=\\= between false and string\\|null will always evaluate to false\\.$#"
count: 1
path: core/CliMulti/Process.php
-
message: "#^Parameter \\#1 \\$environment of class Piwik\\\\Application\\\\Environment constructor expects string, null given\\.$#"
count: 1
path: core/CliMulti/RequestCommand.php
-
message: "#^Parameter \\#1 \\$numberOfSeconds of method Piwik\\\\Metrics\\\\Formatter\\:\\:getPrettyTimeFromSeconds\\(\\) expects int, float given\\.$#"
count: 1
path: core/Columns/Dimension.php
-
message: "#^Property Piwik\\\\Columns\\\\Updater\\:\\:\\$actionDimensions \\(array\\<Piwik\\\\Plugin\\\\Dimension\\\\ActionDimension\\>\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Columns/Updater.php
-
message: "#^Property Piwik\\\\Columns\\\\Updater\\:\\:\\$conversionDimensions \\(array\\<Piwik\\\\Plugin\\\\Dimension\\\\ConversionDimension\\>\\) does not accept array\\<Piwik\\\\Columns\\\\Dimension\\>\\.$#"
count: 1
path: core/Columns/Updater.php
-
message: "#^Property Piwik\\\\Columns\\\\Updater\\:\\:\\$conversionDimensions \\(array\\<Piwik\\\\Plugin\\\\Dimension\\\\ConversionDimension\\>\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Columns/Updater.php
-
message: "#^Property Piwik\\\\Columns\\\\Updater\\:\\:\\$visitDimensions \\(array\\<Piwik\\\\Plugin\\\\Dimension\\\\VisitDimension\\>\\) in isset\\(\\) is not nullable\\.$#"
count: 1
path: core/Columns/Updater.php
-
message: "#^Result of && is always false\\.$#"
count: 2
path: core/Columns/Updater.php
-
message: "#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#"
count: 1
path: core/Columns/Updater.php
-
message: "#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: core/Common.php
-
message: "#^Comparison operation \"\\<\" between int\\<2, 3\\> and 2 is always false\\.$#"
count: 1
path: core/Common.php
-
message: "#^Method Piwik\\\\Common\\:\\:extractCountryCodeFromBrowserLanguage\\(\\) should return array but returns string\\.$#"
count: 3
path: core/Common.php
-
message: "#^Method Piwik\\\\Common\\:\\:getCountry\\(\\) should return string but returns array\\.$#"
count: 1
path: core/Common.php
-
message: "#^Method Piwik\\\\Common\\:\\:hashStringToInt\\(\\) should return int but returns string\\.$#"
count: 1
path: core/Common.php
-
message: "#^Result of \\|\\| is always false\\.$#"
count: 1
path: core/Common.php
-
message: "#^Strict comparison using \\=\\=\\= between false and float\\|string will always evaluate to false\\.$#"
count: 1
path: core/Common.php
-
message: "#^Strict comparison using \\=\\=\\= between null and float\\|string will always evaluate to false\\.$#"
count: 1
path: core/Common.php
-
message: "#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: core/Concurrency/DistributedList.php
-
message: "#^Method Piwik\\\\Config\\\\IniFileChain\\:\\:dumpChanges\\(\\) should return string but returns null\\.$#"
count: 1
path: core/Config/IniFileChain.php
-
message: "#^Parameter \\#2 \\$data of method Matomo\\\\Cache\\\\Backend\\\\File\\:\\:doSave\\(\\) expects string, array\\<string, mixed\\> given\\.$#"
count: 1
path: core/Config/IniFileChain.php
-
message: "#^Argument of an invalid type Piwik\\\\Application\\\\Kernel\\\\GlobalSettingsProvider supplied for foreach, only iterables are supported\\.$#"
count: 1
path: core/Container/IniConfigDefinitionSource.php
-
message: "#^Call to function is_null\\(\\) with float\\|int\\|string will always evaluate to false\\.$#"
count: 1
path: core/Cookie.php
-
message: "#^Default value of the parameter \\#8 \\$sameSite \\(false\\) of method Piwik\\\\Cookie\\:\\:setCookie\\(\\) is incompatible with type string\\.$#"
count: 1
path: core/Cookie.php
-
message: "#^PHPDoc tag @param has invalid value \\(string\\|integer Index name of the value to return\\)\\: Unexpected token \"Index\", expected variable at offset 99$#"
count: 1
path: core/Cookie.php
-
message: "#^Property Piwik\\\\Cookie\\:\\:\\$keyStore \\(string\\) does not accept default value of type false\\.$#"
count: 1
path: core/Cookie.php
-
message: "#^Strict comparison using \\=\\=\\= between false and string will always evaluate to false\\.$#"
count: 1
path: core/Cookie.php
-
message: "#^Strict comparison using \\=\\=\\= between string and false will always evaluate to false\\.$#"
count: 2
path: core/Cookie.php
-
message: "#^Dead catch \\- UnexpectedValueException is never thrown in the try block\\.$#"
count: 1
path: core/CronArchive.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/CronArchive.php
-
message: "#^Parameter \\#1 \\$number of function round expects float, string given\\.$#"
count: 1
path: core/CronArchive.php
-
message: "#^Parameter \\#1 \\$str of function urlencode expects string, true given\\.$#"
count: 1
path: core/CronArchive.php
-
message: "#^Parameter \\#2 \\$minDatetimeArchiveProcessedUTC of static method Piwik\\\\DataAccess\\\\ArchiveSelector\\:\\:getArchiveIdAndVisits\\(\\) expects bool, Piwik\\\\Date\\|null given\\.$#"
count: 1
path: core/CronArchive.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, int\\<1, max\\> given\\.$#"
count: 3
path: core/CronArchive.php
-
message: "#^Property Piwik\\\\CronArchive\\:\\:\\$archivingStartingTime is never read, only written\\.$#"
count: 1
path: core/CronArchive.php
-
message: "#^Property Piwik\\\\CronArchive\\:\\:\\$segmentArchiving \\(Piwik\\\\CronArchive\\\\SegmentArchiving\\) in empty\\(\\) is not falsy\\.$#"
count: 2
path: core/CronArchive.php
-
message: "#^Method Piwik\\\\CronArchive\\\\ArchiveFilter\\:\\:getPeriodsToProcess\\(\\) is unused\\.$#"
count: 1
path: core/CronArchive/ArchiveFilter.php
-
message: "#^Method Piwik\\\\CronArchive\\\\ArchiveFilter\\:\\:getRestrictToDateRange\\(\\) should return string\\|false but returns array\\<Piwik\\\\Date\\>\\.$#"
count: 1
path: core/CronArchive/ArchiveFilter.php
-
message: "#^Property Piwik\\\\CronArchive\\\\ArchiveFilter\\:\\:\\$restrictToDateRange \\(array\\<Piwik\\\\Date\\>\\) does not accept default value of type false\\.$#"
count: 1
path: core/CronArchive/ArchiveFilter.php
-
message: "#^Property Piwik\\\\CronArchive\\\\ArchiveFilter\\:\\:\\$restrictToDateRange \\(array\\<Piwik\\\\Date\\>\\) does not accept string\\|false\\.$#"
count: 1
path: core/CronArchive/ArchiveFilter.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: core/CronArchive/Performance/Logger.php
-
message: "#^Property Piwik\\\\CronArchive\\\\Performance\\\\Logger\\:\\:\\$isEnabled \\(int\\) does not accept bool\\.$#"
count: 1
path: core/CronArchive/Performance/Logger.php
-
message: "#^Property Piwik\\\\CronArchive\\\\Performance\\\\Logger\\:\\:\\$isEnabled \\(int\\) does not accept false\\.$#"
count: 1
path: core/CronArchive/Performance/Logger.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/CronArchive/QueueConsumer.php
-
message: "#^Method Piwik\\\\CronArchive\\\\QueueConsumer\\:\\:isArchiveNonSegmentAndInProgressArchiveSegment\\(\\) is unused\\.$#"
count: 1
path: core/CronArchive/QueueConsumer.php
-
message: "#^Parameter \\#2 \\$minDatetimeArchiveProcessedUTC of static method Piwik\\\\DataAccess\\\\ArchiveSelector\\:\\:getArchiveIdAndVisits\\(\\) expects bool, Piwik\\\\Date given\\.$#"
count: 1
path: core/CronArchive/QueueConsumer.php
-
message: "#^Property Piwik\\\\CronArchive\\\\QueueConsumer\\:\\:\\$idSite \\(int\\) does not accept null\\.$#"
count: 2
path: core/CronArchive/QueueConsumer.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: core/CronArchive/QueueConsumer.php
-
message: "#^Parameter \\#1 \\$subXPeriods of static method Piwik\\\\Period\\\\Range\\:\\:getDateXPeriodsAgo\\(\\) expects int, string given\\.$#"
count: 2
path: core/CronArchive/SegmentArchiving.php
-
message: "#^Property Piwik\\\\CronArchive\\\\SegmentArchiving\\:\\:\\$now is never read, only written\\.$#"
count: 1
path: core/CronArchive/SegmentArchiving.php
-
message: "#^Parameter \\#2 \\$value of static method Piwik\\\\Option\\:\\:set\\(\\) expects string, float given\\.$#"
count: 1
path: core/CronArchive/SharedSiteIds.php
-
message: "#^Call to function is_object\\(\\) with true will always evaluate to false\\.$#"
count: 1
path: core/DataAccess/ArchiveSelector.php
-
message: "#^Call to method fetch\\(\\) on an unknown class Piwik\\\\Tracker\\\\PDOStatement\\.$#"
count: 1
path: core/DataAccess/ArchiveSelector.php
-
message: "#^Offset 'idarchive' on non\\-empty\\-array in empty\\(\\) always exists and is not falsy\\.$#"
count: 2
path: core/DataAccess/ArchiveSelector.php
-
message: "#^PHPDoc tag @throws has invalid value \\(\\)\\: Unexpected token \"\\\\n \", expected type at offset 1330$#"
count: 1
path: core/DataAccess/ArchiveSelector.php
-
message: "#^PHPDoc tag @throws has invalid value \\(\\)\\: Unexpected token \"\\\\n \", expected type at offset 733$#"
count: 1
path: core/DataAccess/ArchiveSelector.php
-
message: "#^Parameter \\#1 \\$dateString of static method Piwik\\\\Date\\:\\:factory\\(\\) expects int\\|Piwik\\\\Date\\|string, true given\\.$#"
count: 1
path: core/DataAccess/ArchiveSelector.php
-
message: "#^Strict comparison using \\=\\=\\= between int\\|string and null will always evaluate to false\\.$#"
count: 1
path: core/DataAccess/ArchiveSelector.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: core/DataAccess/ArchivingDbAdapter.php
-
message: "#^Parameter \\#2 \\$errno of method Piwik\\\\DataAccess\\\\ArchivingDbAdapter\\:\\:isErrNo\\(\\) expects string, int given\\.$#"
count: 2
path: core/DataAccess/ArchivingDbAdapter.php
-
message: "#^Parameter \\#2 \\$options of function json_encode expects int, true given\\.$#"
count: 1
path: core/DataAccess/ArchivingDbAdapter.php
-
message: "#^Property Piwik\\\\DataAccess\\\\ArchivingDbAdapter\\:\\:\\$maxExecutionTime \\(int\\) does not accept float\\.$#"
count: 1
path: core/DataAccess/ArchivingDbAdapter.php
-
message: "#^PHPDoc tag @throws has invalid value \\(\\)\\: Unexpected token \"\\\\n \", expected type at offset 89$#"
count: 1
path: core/DataAccess/LogQueryBuilder.php
-
message: "#^PHPDoc tag @var above a method has no effect\\.$#"
count: 1
path: core/DataAccess/LogQueryBuilder.php
-
message: "#^PHPDoc tag @var does not specify variable name\\.$#"
count: 1
path: core/DataAccess/LogQueryBuilder.php
-
message: "#^Parameter \\#3 \\$where of method Piwik\\\\DataAccess\\\\LogQueryBuilder\\:\\:buildSelectQuery\\(\\) expects string, false given\\.$#"
count: 1
path: core/DataAccess/LogQueryBuilder.php
-
message: "#^Parameter \\#6 \\$limitAndOffset of method Piwik\\\\DataAccess\\\\LogQueryBuilder\\:\\:buildSelectQuery\\(\\) expects int\\|string, null given\\.$#"
count: 1
path: core/DataAccess/LogQueryBuilder.php
-
message: "#^Call to an undefined method Piwik\\\\Db\\|Piwik\\\\Db\\\\AdapterInterface\\|Piwik\\\\Tracker\\\\Db\\:\\:fetchCol\\(\\)\\.$#"
count: 2
path: core/DataAccess/Model.php
-
message: "#^Constructor of class Piwik\\\\DataTable\\\\BaseFilter has an unused parameter \\$table\\.$#"
count: 1
path: core/DataTable/BaseFilter.php
-
message: "#^Constructor of class Piwik\\\\DataTable\\\\Filter\\\\AddColumnsProcessedMetricsGoal has an unused parameter \\$enable\\.$#"
count: 1
path: core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php
-
message: "#^Property Piwik\\\\DataTable\\\\Filter\\\\AddSegmentByRangeLabel\\:\\:\\$delimiter is unused\\.$#"
count: 1
path: core/DataTable/Filter/AddSegmentByRangeLabel.php
-
message: "#^Property Piwik\\\\DataTable\\\\Filter\\\\AddSegmentByRangeLabel\\:\\:\\$segments is unused\\.$#"
count: 1
path: core/DataTable/Filter/AddSegmentByRangeLabel.php
-
message: "#^Property Piwik\\\\DataTable\\\\Filter\\\\AddSegmentBySegmentValue\\:\\:\\$report \\(Piwik\\\\Plugin\\\\Report\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/DataTable/Filter/AddSegmentBySegmentValue.php
-
message: "#^Method Piwik\\\\DataTable\\\\Filter\\\\CalculateEvolutionFilter\\:\\:getDividend\\(\\) should return float\\|int but returns false\\.$#"
count: 1
path: core/DataTable/Filter/CalculateEvolutionFilter.php
-
message: "#^Return type \\(string\\) of method Piwik\\\\DataTable\\\\Filter\\\\ColumnCallbackAddColumnPercentage\\:\\:formatValue\\(\\) should be compatible with return type \\(float\\|int\\) of method Piwik\\\\DataTable\\\\Filter\\\\ColumnCallbackAddColumnQuotient\\:\\:formatValue\\(\\)$#"
count: 1
path: core/DataTable/Filter/ColumnCallbackAddColumnPercentage.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: core/DataTable/Filter/ColumnCallbackAddColumnQuotient.php
-
message: "#^Strict comparison using \\=\\=\\= between float\\|int and false will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Filter/ColumnCallbackAddColumnQuotient.php
-
message: "#^Parameter \\$function of method Piwik\\\\DataTable\\\\Filter\\\\ColumnCallbackDeleteRow\\:\\:__construct\\(\\) has invalid type Piwik\\\\DataTable\\\\Filter\\\\callback\\.$#"
count: 1
path: core/DataTable/Filter/ColumnCallbackDeleteRow.php
-
message: "#^Property Piwik\\\\DataTable\\\\Filter\\\\Pattern\\:\\:\\$patternToSearch is never read, only written\\.$#"
count: 1
path: core/DataTable/Filter/Pattern.php
-
message: "#^Property Piwik\\\\DataTable\\\\Filter\\\\PatternRecursive\\:\\:\\$patternToSearch is never read, only written\\.$#"
count: 1
path: core/DataTable/Filter/PatternRecursive.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1
path: core/DataTable/Filter/PivotByDimension.php
-
message: "#^Property Piwik\\\\DataTable\\\\Filter\\\\PivotByDimension\\:\\:\\$pivotByDimension \\(Piwik\\\\Columns\\\\Dimension\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/DataTable/Filter/PivotByDimension.php
-
message: "#^Property Piwik\\\\DataTable\\\\Filter\\\\PivotByDimension\\:\\:\\$pivotDimensionReport \\(Piwik\\\\Plugin\\\\Report\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/DataTable/Filter/PivotByDimension.php
-
message: "#^Property Piwik\\\\DataTable\\\\Filter\\\\PivotByDimension\\:\\:\\$thisReportDimensionSegment \\(Piwik\\\\Plugin\\\\Segment\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: core/DataTable/Filter/PivotByDimension.php
-
message: "#^Parameter \\$doSortBySecondaryColumn of method Piwik\\\\DataTable\\\\Filter\\\\Sort\\:\\:__construct\\(\\) has invalid type Piwik\\\\DataTable\\\\Filter\\\\callback\\.$#"
count: 1
path: core/DataTable/Filter/Sort.php
-
message: "#^Instanceof between Piwik\\\\DataTable\\|false and Piwik\\\\DataTable\\\\Map will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Map.php
-
message: "#^PHPDoc tag @var has invalid value \\(\\$subDataTableMap Map\\)\\: Unexpected token \"\\$subDataTableMap\", expected type at offset 9$#"
count: 1
path: core/DataTable/Map.php
-
message: "#^Call to function is_array\\(\\) with Piwik\\\\DataTable\\\\DataTableInterface will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Renderer.php
-
message: "#^Property Piwik\\\\DataTable\\\\Renderer\\:\\:\\$apiMetaData \\(array\\) does not accept false\\.$#"
count: 1
path: core/DataTable/Renderer.php
-
message: "#^Property Piwik\\\\DataTable\\\\Renderer\\:\\:\\$idSite \\(int\\) does not accept default value of type string\\.$#"
count: 1
path: core/DataTable/Renderer.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: core/DataTable/Renderer.php
-
message: "#^Strict comparison using \\=\\=\\= between array\\|null and false will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Renderer.php
-
message: "#^Instanceof between Piwik\\\\DataTable and Piwik\\\\DataTable\\\\Map will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Renderer/Csv.php
-
message: "#^Parameter \\#1 \\$table of method Piwik\\\\DataTable\\\\Renderer\\\\Html\\:\\:buildTableStructure\\(\\) expects Piwik\\\\DataTable\\|Piwik\\\\DataTable\\\\Map, Piwik\\\\DataTable\\\\DataTableInterface given\\.$#"
count: 1
path: core/DataTable/Renderer/Html.php
-
message: "#^Call to function is_array\\(\\) with Piwik\\\\DataTable will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Renderer/Json.php
-
message: "#^Instanceof between \\*NEVER\\* and Piwik\\\\DataTable will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Renderer/Json.php
-
message: "#^Instanceof between \\*NEVER\\* and Piwik\\\\DataTable\\\\Map will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Renderer/Json.php
-
message: "#^Instanceof between \\*NEVER\\* and Piwik\\\\DataTable\\\\Simple will always evaluate to false\\.$#"
count: 1
path: core/DataTable/Renderer/Json.php
-
message: "#^Result of \\|\\| is always false\\.$#"
count: 2
path: core/DataTable/Renderer/Json.php
-
message: "#^Comparison operation \"\\!\\=\" between array and 0 results in an error\\.$#"
count: 1
path: core/DataTable/Renderer/Xml.php
-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 2