forked from phpmyadmin/phpmyadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
3027 lines (2422 loc) · 126 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: "#^Parameter \\#1 \\$message of static method PhpMyAdmin\\\\Message\\:\\:rawError\\(\\) expects string, bool\\|string given\\.$#"
count: 2
path: libraries/classes/CentralColumns.php
-
message: "#^Parameter \\#1 \\$string of static method PhpMyAdmin\\\\Message\\:\\:error\\(\\) expects string, bool\\|string given\\.$#"
count: 2
path: libraries/classes/CentralColumns.php
-
message: "#^Parameter \\#1 \\$message of method PhpMyAdmin\\\\Message\\:\\:addText\\(\\) expects string, bool\\|string given\\.$#"
count: 1
path: libraries/classes/CentralColumns.php
-
message: "#^Strict comparison using \\=\\=\\= between array\\<int, string\\> and false will always evaluate to false\\.$#"
count: 1
path: libraries/classes/Charsets.php
-
message: "#^Parameter \\#1 \\$str of function mb_substr expects string, bool\\|string given\\.$#"
count: 1
path: libraries/classes/CheckUserPrivileges.php
-
message: "#^Parameter \\#1 \\$new_error_level of function error_reporting expects int, int\\|null given\\.$#"
count: 2
path: libraries/classes/Config.php
-
message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$default_source_mtime \\(int\\) does not accept int\\|false\\.$#"
count: 1
path: libraries/classes/Config.php
-
message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$source_mtime \\(int\\) does not accept int\\|false\\.$#"
count: 1
path: libraries/classes/Config.php
-
message: "#^Parameter \\#1 \\$str of function strtolower expects string, string\\|false given\\.$#"
count: 1
path: libraries/classes/Config.php
-
message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, string\\|false\\|null given\\.$#"
count: 1
path: libraries/classes/Config.php
-
message: "#^Method PhpMyAdmin\\\\Config\\:\\:getUploadTempDir\\(\\) should return string\\|null but returns string\\|false\\.$#"
count: 1
path: libraries/classes/Config.php
-
message: "#^Parameter \\#2 \\$array of static method PhpMyAdmin\\\\Core\\:\\:arrayRead\\(\\) expects array, array\\|null given\\.$#"
count: 1
path: libraries/classes/Config/ConfigFile.php
-
message: "#^Empty array passed to foreach\\.$#"
count: 1
path: libraries/classes/Config/ConfigFile.php
-
message: "#^Method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:getCanonicalPath\\(\\) should return string but returns string\\|null\\.$#"
count: 1
path: libraries/classes/Config/ConfigFile.php
-
message: "#^Property PhpMyAdmin\\\\Config\\\\Form\\:\\:\\$index \\(int\\) does not accept int\\|null\\.$#"
count: 1
path: libraries/classes/Config/Form.php
-
message: "#^Method PhpMyAdmin\\\\Config\\\\Form\\:\\:getOptionValueList\\(\\) should return array but returns array\\|false\\.$#"
count: 1
path: libraries/classes/Config/Form.php
-
message: "#^Empty array passed to foreach\\.$#"
count: 1
path: libraries/classes/Config/Form.php
-
message: "#^Parameter \\#1 \\$path of method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:getValue\\(\\) expects string, int\\|string\\|false given\\.$#"
count: 1
path: libraries/classes/Config/FormDisplay.php
-
message: "#^Parameter \\#4 \\$workPath of method PhpMyAdmin\\\\Config\\\\FormDisplay\\:\\:displayFieldInput\\(\\) expects string, int\\|string\\|false given\\.$#"
count: 1
path: libraries/classes/Config/FormDisplay.php
-
message: "#^Parameter \\#2 \\$type of function settype expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/Config/FormDisplay.php
-
message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, int\\|string\\|false given\\.$#"
count: 1
path: libraries/classes/Config/FormDisplay.php
-
message: "#^Parameter \\#1 \\$path of method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:set\\(\\) expects string, int\\|string given\\.$#"
count: 1
path: libraries/classes/Config/FormDisplay.php
-
message: "#^Offset 'values' does not exist on array\\|null\\.$#"
count: 1
path: libraries/classes/Config/FormDisplayTemplate.php
-
message: "#^Offset 'errors' does not exist on array\\|null\\.$#"
count: 1
path: libraries/classes/Config/FormDisplayTemplate.php
-
message: "#^Cannot call static method getFields\\(\\) on string\\|null\\.$#"
count: 1
path: libraries/classes/Config/Forms/BaseFormList.php
-
message: "#^Parameter \\#1 \\$function of function call_user_func_array expects callable\\(\\)\\: mixed, string given\\.$#"
count: 1
path: libraries/classes/Config/Validator.php
-
message: "#^Parameter \\#2 \\$parameters of function call_user_func_array expects array\\<int, mixed\\>, array\\<int\\|string, mixed\\> given\\.$#"
count: 1
path: libraries/classes/Config/Validator.php
-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 1
path: libraries/classes/Config/Validator.php
-
message: "#^Parameter \\#3 \\$passwd of function mysqli_connect expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/Config/Validator.php
-
message: "#^Parameter \\#4 \\$dbname of function mysqli_connect expects string, null given\\.$#"
count: 1
path: libraries/classes/Config/Validator.php
-
message: "#^Parameter \\#5 \\$port of function mysqli_connect expects int, string\\|null given\\.$#"
count: 1
path: libraries/classes/Config/Validator.php
-
message: "#^Parameter \\#6 \\$socket of function mysqli_connect expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/Config/Validator.php
-
message: "#^Parameter \\#2 \\.\\.\\.\\$args of function array_merge expects array, array\\|false given\\.$#"
count: 2
path: libraries/classes/Config/Validator.php
-
message: "#^Argument of an invalid type array\\|object supplied for foreach, only iterables are supported\\.$#"
count: 1
path: libraries/classes/Config/Validator.php
-
message: "#^Parameter \\#5 \\$foreign_limit of method PhpMyAdmin\\\\Relation\\:\\:getForeignData\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/Controllers/BrowseForeignersController.php
-
message: "#^Parameter \\#1 \\$string of function htmlspecialchars expects string, string\\|false given\\.$#"
count: 1
path: libraries/classes/Controllers/ChangeLogController.php
-
message: "#^Parameter \\#1 \\$state of method PhpMyAdmin\\\\Response\\:\\:setRequestStatus\\(\\) expects bool, bool\\|string\\|null given\\.$#"
count: 1
path: libraries/classes/Controllers/Database/DesignerController.php
-
message: "#^Parameter \\#1 \\$state of method PhpMyAdmin\\\\Response\\:\\:setRequestStatus\\(\\) expects bool, bool\\|string given\\.$#"
count: 1
path: libraries/classes/Controllers/Database/DesignerController.php
-
message: "#^Argument of an invalid type array\\|null supplied for foreach, only iterables are supported\\.$#"
count: 1
path: libraries/classes/Controllers/Database/DesignerController.php
-
message: "#^Parameter \\#9 \\$selectedPage of method PhpMyAdmin\\\\Database\\\\Designer\\:\\:getHtmlForMain\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/Controllers/Database/DesignerController.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 6
path: libraries/classes/Controllers/Database/OperationsController.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: libraries/classes/Controllers/Database/StructureController.php
-
message: "#^Parameter \\#4 \\$formatted_size of method PhpMyAdmin\\\\Controllers\\\\Database\\\\StructureController\\:\\:getValuesForAriaTable\\(\\) expects int, string given\\.$#"
count: 1
path: libraries/classes/Controllers/Database/StructureController.php
-
message: "#^Parameter \\#6 \\$formatted_overhead of method PhpMyAdmin\\\\Controllers\\\\Database\\\\StructureController\\:\\:getValuesForAriaTable\\(\\) expects int, string given\\.$#"
count: 1
path: libraries/classes/Controllers/Database/StructureController.php
-
message: "#^Expression \"null\" on a separate line does not do anything\\.$#"
count: 1
path: libraries/classes/Controllers/ExportController.php
-
message: "#^Parameter \\#2 \\$dump_buffer of method PhpMyAdmin\\\\Export\\:\\:closeFile\\(\\) expects string, array\\|bool\\|string given\\.$#"
count: 1
path: libraries/classes/Controllers/ExportController.php
-
message: "#^Parameter \\#1 \\(array\\|bool\\|string\\) of echo cannot be converted to string\\.$#"
count: 1
path: libraries/classes/Controllers/ExportController.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 1
path: libraries/classes/Controllers/ImportController.php
-
message: "#^Elseif condition is always false\\.$#"
count: 1
path: libraries/classes/Controllers/ImportController.php
-
message: "#^Left side of && is always false\\.$#"
count: 1
path: libraries/classes/Controllers/ImportController.php
-
message: "#^If condition is always false\\.$#"
count: 1
path: libraries/classes/Controllers/ImportController.php
-
message: "#^Parameter \\#1 \\$file_name of method PhpMyAdmin\\\\UserPreferences\\:\\:redirect\\(\\) expects string, string\\|false given\\.$#"
count: 1
path: libraries/classes/Controllers/Preferences/ManageController.php
-
message: "#^Argument of an invalid type array\\|null supplied for foreach, only iterables are supported\\.$#"
count: 1
path: libraries/classes/Controllers/Server/CollationsController.php
-
message: "#^Offset string does not exist on array\\|null\\.$#"
count: 1
path: libraries/classes/Controllers/Server/CollationsController.php
-
message: "#^Parameter \\#1 \\$message of static method PhpMyAdmin\\\\Message\\:\\:rawError\\(\\) expects string, bool\\|string given\\.$#"
count: 1
path: libraries/classes/Controllers/Server/DatabasesController.php
-
message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#"
count: 1
path: libraries/classes/Controllers/Server/PrivilegesController.php
-
message: "#^Parameter \\#2 \\$pieces of function implode expects array, array\\|null given\\.$#"
count: 7
path: libraries/classes/Controllers/Server/Status/StatusController.php
-
message: "#^Parameter \\#2 \\$pieces of function implode expects array, array\\|null given\\.$#"
count: 2
path: libraries/classes/Controllers/Server/VariablesController.php
-
message: "#^Offset 1 does not exist on array\\|null\\.$#"
count: 3
path: libraries/classes/Controllers/Server/VariablesController.php
-
message: "#^Argument of an invalid type array\\|null supplied for foreach, only iterables are supported\\.$#"
count: 1
path: libraries/classes/Controllers/Setup/HomeController.php
-
message: "#^Ternary operator condition is always false\\.$#"
count: 1
path: libraries/classes/Controllers/Setup/HomeController.php
-
message: "#^Parameter \\#1 \\$server of method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:getServerDSN\\(\\) expects int, int\\|null given\\.$#"
count: 1
path: libraries/classes/Controllers/Setup/ServersController.php
-
message: "#^Parameter \\#1 \\$server of method PhpMyAdmin\\\\Config\\\\ConfigFile\\:\\:removeServer\\(\\) expects int, int\\|null given\\.$#"
count: 1
path: libraries/classes/Controllers/Setup/ServersController.php
-
message: "#^Comparison operation \"\\>\" between 0 and 0 is always false\\.$#"
count: 1
path: libraries/classes/Controllers/Table/ChangeController.php
-
message: "#^Parameter \\#1 \\$content of method PhpMyAdmin\\\\Response\\:\\:addHTML\\(\\) expects string, PhpMyAdmin\\\\Message given\\.$#"
count: 1
path: libraries/classes/Controllers/Table/ChartController.php
-
message: "#^Parameter \\#1 \\$str of function mb_strtolower expects string, array\\<string\\>\\|string given\\.$#"
count: 1
path: libraries/classes/Controllers/Table/FindReplaceController.php
-
message: "#^Parameter \\#1 \\$content of method PhpMyAdmin\\\\Response\\:\\:addHTML\\(\\) expects string, PhpMyAdmin\\\\Message given\\.$#"
count: 1
path: libraries/classes/Controllers/Table/GisVisualizationController.php
-
message: "#^Parameter \\#1 \\$messages of method PhpMyAdmin\\\\Message\\:\\:addMessagesString\\(\\) expects array\\<string\\>, array\\<int, PhpMyAdmin\\\\Message\\|string\\|null\\> given\\.$#"
count: 1
path: libraries/classes/Controllers/Table/ReplaceController.php
-
message: "#^Parameter \\#1 \\$str of function mb_strtolower expects string, array\\<string\\>\\|string given\\.$#"
count: 1
path: libraries/classes/Controllers/Table/SearchController.php
-
message: "#^Method PhpMyAdmin\\\\Controllers\\\\Table\\\\SearchController\\:\\:getColumnMinMax\\(\\) should return array but returns array\\|null\\.$#"
count: 1
path: libraries/classes/Controllers/Table/SearchController.php
-
message: "#^Parameter \\#1 \\$selected of method PhpMyAdmin\\\\Controllers\\\\Table\\\\StructureController\\:\\:displayHtmlForColumnChange\\(\\) expects array, null given\\.$#"
count: 1
path: libraries/classes/Controllers/Table/StructureController.php
-
message: "#^Parameter \\#1 \\$string of static method PhpMyAdmin\\\\Message\\:\\:error\\(\\) expects string, string\\|true given\\.$#"
count: 1
path: libraries/classes/Controllers/Table/StructureController.php
-
message: "#^Parameter \\#1 \\$content of method PhpMyAdmin\\\\Response\\:\\:addHTML\\(\\) expects string, PhpMyAdmin\\\\Message given\\.$#"
count: 1
path: libraries/classes/Controllers/Table/StructureController.php
-
message: "#^Parameter \\#3 \\$length of function substr expects int, int\\|false given\\.$#"
count: 2
path: libraries/classes/Controllers/Table/StructureController.php
-
message: "#^Cannot cast ''\\|int to int\\.$#"
count: 1
path: libraries/classes/Controllers/Table/StructureController.php
-
message: "#^Parameter \\#1 \\$str of function mb_strtolower expects string, array\\<string\\>\\|string given\\.$#"
count: 1
path: libraries/classes/Controllers/Table/ZoomSearchController.php
-
message: "#^Parameter \\#2 \\$column_index of method PhpMyAdmin\\\\Controllers\\\\Table\\\\ZoomSearchController\\:\\:getColumnProperties\\(\\) expects int, int\\|string\\|false given\\.$#"
count: 1
path: libraries/classes/Controllers/Table/ZoomSearchController.php
-
message: "#^Parameter \\#1 \\$im of function imagesx expects resource, resource\\|false given\\.$#"
count: 1
path: libraries/classes/Controllers/TransformationWrapperController.php
-
message: "#^Parameter \\#1 \\$im of function imagesy expects resource, resource\\|false given\\.$#"
count: 1
path: libraries/classes/Controllers/TransformationWrapperController.php
-
message: "#^Parameter \\#1 \\$dst_im of function imagecopyresampled expects resource, resource\\|false given\\.$#"
count: 1
path: libraries/classes/Controllers/TransformationWrapperController.php
-
message: "#^Parameter \\#2 \\$src_im of function imagecopyresampled expects resource, resource\\|false given\\.$#"
count: 1
path: libraries/classes/Controllers/TransformationWrapperController.php
-
message: "#^Parameter \\#1 \\$im of function imagejpeg expects resource, resource\\|false given\\.$#"
count: 1
path: libraries/classes/Controllers/TransformationWrapperController.php
-
message: "#^Parameter \\#1 \\$im of function imagepng expects resource, resource\\|false given\\.$#"
count: 1
path: libraries/classes/Controllers/TransformationWrapperController.php
-
message: "#^Parameter \\#1 \\$im of function imagedestroy expects resource, resource\\|false given\\.$#"
count: 2
path: libraries/classes/Controllers/TransformationWrapperController.php
-
message: "#^Parameter \\#1 \\$message of static method PhpMyAdmin\\\\Message\\:\\:rawError\\(\\) expects string, bool\\|string given\\.$#"
count: 1
path: libraries/classes/Controllers/ViewCreateController.php
-
message: "#^Method PhpMyAdmin\\\\Core\\:\\:securePath\\(\\) should return string but returns string\\|null\\.$#"
count: 1
path: libraries/classes/Core.php
-
message: "#^Parameter \\#2 \\$subject of function preg_match expects string, int\\<1, max\\>\\|int\\<min, \\-1\\>\\|string given\\.$#"
count: 1
path: libraries/classes/Core.php
-
message: "#^Parameter \\#3 \\$length of function mb_substr expects int\\|null, int\\|false given\\.$#"
count: 2
path: libraries/classes/Core.php
-
message: "#^Method PhpMyAdmin\\\\Core\\:\\:getenv\\(\\) should return string but returns string\\|false\\.$#"
count: 2
path: libraries/classes/Core.php
-
message: "#^Comparison operation \"\\<\" between 1 and 43 is always true\\.$#"
count: 1
path: libraries/classes/Core.php
-
message: "#^Offset 'pass'\\|'port'\\|'user' does not exist on array\\(\\?'scheme' \\=\\> string, 'host' \\=\\> string, \\?'port' \\=\\> int, \\?'user' \\=\\> string, \\?'pass' \\=\\> string, \\?'path' \\=\\> string, \\?'query' \\=\\> string, \\?'fragment' \\=\\> string\\)\\.$#"
count: 1
path: libraries/classes/Core.php
-
message: "#^Method PhpMyAdmin\\\\Core\\:\\:mimeDefaultFunction\\(\\) should return string but returns string\\|null\\.$#"
count: 1
path: libraries/classes/Core.php
-
message: "#^Method PhpMyAdmin\\\\CreateAddField\\:\\:getColumnCreationStatements\\(\\) should return string but returns string\\|null\\.$#"
count: 1
path: libraries/classes/CreateAddField.php
-
message: "#^Offset 'DTN' does not exist on array\\('C_NAME' \\=\\> array\\<int, string\\>, \\?'DCN' \\=\\> array\\<int, string\\>, \\?'DTN' \\=\\> array\\<int, string\\>, \\?'SCN' \\=\\> array\\<int, string\\>, \\?'STN' \\=\\> array\\<int, string\\>\\)\\.$#"
count: 1
path: libraries/classes/Database/Designer/Common.php
-
message: "#^Offset 'STN' does not exist on array\\('C_NAME' \\=\\> array\\<int, string\\>, \\?'DCN' \\=\\> array\\<int, string\\>, \\?'DTN' \\=\\> array\\<int, string\\>, \\?'SCN' \\=\\> array\\<int, string\\>, \\?'STN' \\=\\> array\\<int, string\\>\\)\\.$#"
count: 2
path: libraries/classes/Database/Designer/Common.php
-
message: "#^Offset 'DCN' does not exist on array\\('C_NAME' \\=\\> array\\<int, string\\>, \\?'DCN' \\=\\> array\\<int, string\\>, \\?'DTN' \\=\\> array\\<int, string\\>, \\?'SCN' \\=\\> array\\<int, string\\>, \\?'STN' \\=\\> array\\<int, string\\>\\)\\.$#"
count: 1
path: libraries/classes/Database/Designer/Common.php
-
message: "#^Offset 'SCN' does not exist on array\\('C_NAME' \\=\\> array\\<int, string\\>, \\?'DCN' \\=\\> array\\<int, string\\>, \\?'DTN' \\=\\> array\\<int, string\\>, \\?'SCN' \\=\\> array\\<int, string\\>, \\?'STN' \\=\\> array\\<int, string\\>\\)\\.$#"
count: 1
path: libraries/classes/Database/Designer/Common.php
-
message: "#^Parameter \\#1 \\$str of method PhpMyAdmin\\\\DatabaseInterface\\:\\:escapeString\\(\\) expects string, int given\\.$#"
count: 1
path: libraries/classes/Database/Designer/Common.php
-
message: "#^Parameter \\#1 \\$query of method PhpMyAdmin\\\\DatabaseInterface\\:\\:tryQuery\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/Database/Events.php
-
message: "#^Property PhpMyAdmin\\\\Database\\\\Qbe\\:\\:\\$currentSearch \\(PhpMyAdmin\\\\SavedSearches\\) does not accept PhpMyAdmin\\\\SavedSearches\\|null\\.$#"
count: 1
path: libraries/classes/Database/Qbe.php
-
message: "#^Strict comparison using \\=\\=\\= between array and null will always evaluate to false\\.$#"
count: 1
path: libraries/classes/Database/Qbe.php
-
message: "#^Parameter \\#2 \\$sortOrder of method PhpMyAdmin\\\\Database\\\\Qbe\\:\\:getSortOrderSelectCell\\(\\) expects int, null given\\.$#"
count: 1
path: libraries/classes/Database/Qbe.php
-
message: "#^Parameter \\#1 \\$mode of method PhpMyAdmin\\\\Database\\\\Routines\\:\\:getEditorForm\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/Database/Routines.php
-
message: "#^Parameter \\#2 \\$create_routine of method PhpMyAdmin\\\\Database\\\\Routines\\:\\:create\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/Database/Routines.php
-
message: "#^Offset 'item_name' does not exist on array\\|null\\.$#"
count: 1
path: libraries/classes/Database/Routines.php
-
message: "#^Offset 'item_type' does not exist on array\\|null\\.$#"
count: 1
path: libraries/classes/Database/Routines.php
-
message: "#^Parameter \\#3 \\$number of function _ngettext expects int, int\\<0, max\\>\\|string given\\.$#"
count: 1
path: libraries/classes/Database/Routines.php
-
message: "#^Offset 'create' does not exist on array\\|null\\.$#"
count: 1
path: libraries/classes/Database/Triggers.php
-
message: "#^Offset 'drop' does not exist on array\\|null\\.$#"
count: 1
path: libraries/classes/Database/Triggers.php
-
message: "#^Parameter \\#2 \\$table of method PhpMyAdmin\\\\Query\\\\Cache\\:\\:cacheTableData\\(\\) expects bool\\|string, array\\|string given\\.$#"
count: 1
path: libraries/classes/DatabaseInterface.php
-
message: "#^Method PhpMyAdmin\\\\DatabaseInterface\\:\\:getProtoInfo\\(\\) should return bool\\|int but returns int\\|string\\.$#"
count: 1
path: libraries/classes/DatabaseInterface.php
-
message: "#^Strict comparison using \\=\\=\\= between true and null will always evaluate to false\\.$#"
count: 1
path: libraries/classes/Dbal/DbiMysqli.php
-
message: "#^Result of && is always true\\.$#"
count: 1
path: libraries/classes/Dbal/DbiMysqli.php
-
message: "#^Call to function is_bool\\(\\) with mysqli_result will always evaluate to false\\.$#"
count: 1
path: libraries/classes/Dbal/DbiMysqli.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 2
path: libraries/classes/Dbal/DbiMysqli.php
-
message: "#^Left side of && is always true\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Parameter \\#4 \\$sort_expression_nodirection of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getTableHeadersForColumns\\(\\) expects array, array\\|string given\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Parameter \\#2 \\$sort_order of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getSortingUrlParams\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Parameter \\#9 \\$default_function of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getDataCellForNumericColumns\\(\\) expects string, array\\<int, string\\> given\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Parameter \\#8 \\$default_function of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getDataCellForGeometryColumns\\(\\) expects string, array\\<int, string\\> given\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Parameter \\#9 \\$transform_options of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getDataCellForGeometryColumns\\(\\) expects string, array given\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Parameter \\#8 \\$default_function of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getDataCellForNonNumericColumns\\(\\) expects string, array\\<int, string\\> given\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Parameter \\#9 \\$transform_options of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getDataCellForNonNumericColumns\\(\\) expects string, array given\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Strict comparison using \\=\\=\\= between string and null will always evaluate to false\\.$#"
count: 3
path: libraries/classes/Display/Results.php
-
message: "#^Parameter \\#12 \\$transform_options of method PhpMyAdmin\\\\Display\\\\Results\\:\\:getRowData\\(\\) expects array, string given\\.$#"
count: 3
path: libraries/classes/Display/Results.php
-
message: "#^Method PhpMyAdmin\\\\Display\\\\Results\\:\\:getOffsets\\(\\) should return array\\<int\\> but returns array\\<int, \\(array\\|float\\|int\\)\\>\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Parameter \\#4 \\$transform_options of method PhpMyAdmin\\\\Display\\\\Results\\:\\:handleNonPrintableContents\\(\\) expects string, array given\\.$#"
count: 2
path: libraries/classes/Display/Results.php
-
message: "#^Parameter \\#5 \\$default_function of method PhpMyAdmin\\\\Display\\\\Results\\:\\:handleNonPrintableContents\\(\\) expects string, array\\<int, string\\> given\\.$#"
count: 2
path: libraries/classes/Display/Results.php
-
message: "#^Parameter \\#1 \\$message of static method PhpMyAdmin\\\\Html\\\\Generator\\:\\:showHint\\(\\) expects string, PhpMyAdmin\\\\Message given\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Offset 0 does not exist on array\\|null\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Offset 1 does not exist on array\\|null\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Call to an undefined method object\\:\\:getMIMESubtype\\(\\)\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Call to an undefined method object\\:\\:getMIMEtype\\(\\)\\.$#"
count: 1
path: libraries/classes/Display/Results.php
-
message: "#^Trying to invoke string but it might not be a callable\\.$#"
count: 5
path: libraries/classes/Display/Results.php
-
message: "#^Method PhpMyAdmin\\\\Encoding\\:\\:convertString\\(\\) should return string but returns string\\|false\\.$#"
count: 1
path: libraries/classes/Encoding.php
-
message: "#^Parameter \\#1 \\$filename of function fopen expects string, string\\|false given\\.$#"
count: 1
path: libraries/classes/Encoding.php
-
message: "#^Parameter \\#1 \\$fp of function feof expects resource, resource\\|false given\\.$#"
count: 1
path: libraries/classes/Encoding.php
-
message: "#^Parameter \\#1 \\$fp of function fgets expects resource, resource\\|false given\\.$#"
count: 1
path: libraries/classes/Encoding.php
-
message: "#^Parameter \\#1 \\$str of static method PhpMyAdmin\\\\Encoding\\:\\:kanjiStrConv\\(\\) expects string, string\\|false given\\.$#"
count: 1
path: libraries/classes/Encoding.php
-
message: "#^Parameter \\#1 \\$fp of function fwrite expects resource, resource\\|false given\\.$#"
count: 1
path: libraries/classes/Encoding.php
-
message: "#^Parameter \\#1 \\$fp of function fclose expects resource, resource\\|false given\\.$#"
count: 2
path: libraries/classes/Encoding.php
-
message: "#^Method PhpMyAdmin\\\\Encoding\\:\\:kanjiFileConv\\(\\) should return string but returns string\\|false\\.$#"
count: 1
path: libraries/classes/Encoding.php
-
message: "#^Parameter \\#2 \\$pieces of function implode expects array, array\\|null given\\.$#"
count: 1
path: libraries/classes/Engines/Innodb.php
-
message: "#^Parameter \\#2 \\$subject of function preg_match expects string, int\\|string given\\.$#"
count: 1
path: libraries/classes/Engines/Pbxt.php
-
message: "#^Method PhpMyAdmin\\\\Engines\\\\Pbxt\\:\\:resolveTypeSize\\(\\) should return array but returns array\\|null\\.$#"
count: 1
path: libraries/classes/Engines/Pbxt.php
-
message: "#^Elseif branch is unreachable because previous condition is always true\\.$#"
count: 1
path: libraries/classes/Error.php
-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 1
path: libraries/classes/Error.php
-
message: "#^Parameter \\#2 \\$str of function explode expects string, string\\|false given\\.$#"
count: 1
path: libraries/classes/Error.php
-
message: "#^Parameter \\#1 \\$error_handler of function set_error_handler expects \\(callable\\(int, string, string, int, array\\)\\: bool\\)\\|null, array\\(\\$this\\(PhpMyAdmin\\\\ErrorHandler\\), 'handleError'\\) given\\.$#"
count: 1
path: libraries/classes/ErrorHandler.php
-
message: "#^Parameter \\#2 \\$error_type of function trigger_error expects int, int\\|null given\\.$#"
count: 1
path: libraries/classes/ErrorHandler.php
-
message: "#^Method PhpMyAdmin\\\\ErrorReport\\:\\:getPrettyData\\(\\) should return string but returns string\\|false\\.$#"
count: 1
path: libraries/classes/ErrorReport.php
-
message: "#^Strict comparison using \\=\\=\\= between string and null will always evaluate to false\\.$#"
count: 1
path: libraries/classes/ErrorReport.php
-
message: "#^Parameter \\#2 \\$haystack of function in_array expects array, array\\|false given\\.$#"
count: 1
path: libraries/classes/Export.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: libraries/classes/Export.php
-
message: "#^Comparison operation \"\\>\\=\" between 1 and 43 is always false\\.$#"
count: 1
path: libraries/classes/Export.php
-
message: "#^Right side of \\|\\| is always false\\.$#"
count: 1
path: libraries/classes/Export.php
-
message: "#^Parameter \\#1 \\$str of static method PhpMyAdmin\\\\Encoding\\:\\:kanjiStrConv\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/Export.php
-
message: "#^Parameter \\#1 \\$string of function strlen expects string, string\\|null given\\.$#"
count: 2
path: libraries/classes/Export.php
-
message: "#^Parameter \\#2 \\$str of function fwrite expects string, string\\|false given\\.$#"
count: 1
path: libraries/classes/Export.php
-
message: "#^Parameter \\#1 \\$string of function strlen expects string, string\\|false given\\.$#"
count: 1
path: libraries/classes/Export.php
-
message: "#^Parameter \\#3 \\$what of static method PhpMyAdmin\\\\Encoding\\:\\:convertString\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/Export.php
-
message: "#^Parameter \\#1 \\$str of function mb_strlen expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/Export.php
-
message: "#^Parameter \\#2 \\$str of function fwrite expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/Export.php
-
message: "#^Parameter \\#1 \\$string of function htmlspecialchars expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/Export.php
-
message: "#^Parameter \\#1 \\$str of function trim expects string, string\\|false given\\.$#"
count: 1
path: libraries/classes/Export.php
-
message: "#^Parameter \\#1 \\$data of function gzencode expects string, array\\|string given\\.$#"
count: 1
path: libraries/classes/Export.php
-
message: "#^Parameter \\#2 \\$pieces of function implode expects array, array\\|string given\\.$#"
count: 1
path: libraries/classes/Export.php
-
message: "#^Result of \\|\\| is always false\\.$#"
count: 1
path: libraries/classes/Export.php
-
message: "#^Strict comparison using \\=\\=\\= between PhpMyAdmin\\\\Plugins\\\\SchemaPlugin and null will always evaluate to false\\.$#"
count: 1
path: libraries/classes/Export.php
-
message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Parameter \\#1 \\$str of function trim expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Parameter \\#1 \\$filename of function file_get_contents expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Property PhpMyAdmin\\\\File\\:\\:\\$content \\(string\\) does not accept string\\|false\\.$#"
count: 2
path: libraries/classes/File.php
-
message: "#^Parameter \\#1 \\$filename of function filesize expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Parameter \\#1 \\$filename of function fopen expects string, string\\|null given\\.$#"
count: 4
path: libraries/classes/File.php
-
message: "#^Parameter \\#1 \\$fp of function fread expects resource, resource\\|false given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Parameter \\#1 \\$fp of function fclose expects resource, resource\\|false given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Parameter \\#1 \\$filename of function is_link expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Parameter \\#1 \\$path of function basename expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Parameter \\#1 \\$path of function move_uploaded_file expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Parameter \\#2 \\$new_path of function move_uploaded_file expects string, string\\|false given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Parameter \\#1 \\$name of method PhpMyAdmin\\\\File\\:\\:setName\\(\\) expects string\\|null, string\\|false given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Method PhpMyAdmin\\\\File\\:\\:getHandle\\(\\) should return resource but returns resource\\|null\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Property PhpMyAdmin\\\\File\\:\\:\\$handle \\(resource\\|null\\) does not accept resource\\|false\\.$#"
count: 4
path: libraries/classes/File.php
-
message: "#^Parameter \\#1 \\$file of function bzopen expects resource\\|string, string\\|null given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Parameter \\#1 \\$filename of function gzopen expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Parameter \\#1 \\$file of method PhpMyAdmin\\\\ZipExtension\\:\\:getContents\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Parameter \\#1 \\$bz of function bzread expects resource, resource\\|null given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Parameter \\#1 \\$zp of function gzread expects resource, resource\\|null given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Method PhpMyAdmin\\\\File\\:\\:read\\(\\) should return string but returns string\\|false\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Parameter \\#1 \\$fp of function fread expects resource, resource\\|null given\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Method PhpMyAdmin\\\\File\\:\\:getCompression\\(\\) should return string but returns string\\|false\\.$#"
count: 1
path: libraries/classes/File.php
-
message: "#^Offset 0 does not exist on array\\|null\\.$#"
count: 2
path: libraries/classes/Font.php
-
message: "#^Parameter \\#1 \\$str of function mb_strlen expects string, string\\|null given\\.$#"
count: 1
path: libraries/classes/Font.php
-
message: "#^Result of \\|\\| is always true\\.$#"
count: 1
path: libraries/classes/Footer.php
-
message: "#^Argument of an invalid type array\\|object supplied for foreach, only iterables are supported\\.$#"
count: 1
path: libraries/classes/Footer.php
-
message: "#^Method PhpMyAdmin\\\\Footer\\:\\:removeRecursion\\(\\) should return object but returns array\\|object\\|string\\.$#"
count: 1
path: libraries/classes/Footer.php
-
message: "#^Method PhpMyAdmin\\\\Footer\\:\\:getDebugMessage\\(\\) should return string but returns string\\|false\\.$#"
count: 1
path: libraries/classes/Footer.php
-
message: "#^Negated boolean expression is always true\\.$#"
count: 2
path: libraries/classes/Footer.php
-
message: "#^Negated boolean expression is always false\\.$#"
count: 1