forked from OpenMage/magento-lts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.phpstan.dist.baseline.neon
More file actions
3481 lines (2902 loc) · 132 KB
/
Copy path.phpstan.dist.baseline.neon
File metadata and controls
3481 lines (2902 loc) · 132 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:
-
rawMessage: 'Call to an undefined method Mage_Core_Model_Abstract::addError().'
identifier: method.notFound
count: 1
path: app/Mage.php
-
rawMessage: Right side of && is always false.
identifier: booleanAnd.rightAlwaysFalse
count: 1
path: app/Mage.php
-
rawMessage: 'Comparison operation "==" between (Varien_Simplexml_Element|null) and 1 results in an error.'
identifier: equal.invalid
count: 1
path: app/code/core/Mage/Admin/Model/Config.php
-
rawMessage: 'Cannot call method getClassName() on SimpleXMLElement|false.'
identifier: method.nonObject
count: 1
path: app/code/core/Mage/Admin/Model/Resource/Acl.php
-
rawMessage: 'Call to an undefined method Mage_Admin_Model_Resource_Roles::update().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Admin/Model/Roles.php
-
rawMessage: 'Comparison operation "==" between (Varien_Simplexml_Element|null) and 1 results in an error.'
identifier: equal.invalid
count: 1
path: app/code/core/Mage/Admin/Model/Roles.php
-
rawMessage: 'Call to an undefined method Mage_Admin_Model_Resource_Rules::update().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Admin/Model/Rules.php
-
rawMessage: If condition is always true.
identifier: if.alwaysTrue
count: 1
path: app/code/core/Mage/Adminhtml/Block/Api/Tab/Rolesedit.php
-
rawMessage: 'Call to an undefined method Mage_Api_Model_Resource_Roles_User_Collection::setUserFilter().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Adminhtml/Block/Api/Tab/Userroles.php
-
rawMessage: 'Parameter #1 $collection of method Mage_Adminhtml_Block_Widget_Grid::setCollection() expects Varien_Data_Collection_Db, Varien_Data_Collection given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Adminhtml/Block/Cache/Grid.php
-
rawMessage: 'Cannot call method addAttributeToSelect() on Mage_Core_Model_Resource_Db_Collection_Abstract|false.'
identifier: method.nonObject
count: 1
path: app/code/core/Mage/Adminhtml/Block/Catalog/Category/Widget/Chooser.php
-
rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 2 parameters, 0 required.'
identifier: arguments.count
count: 1
path: app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Simple.php
-
rawMessage: 'Method Mage_Catalog_Model_Product_Type_Configurable::canUseAttribute() invoked with 2 parameters, 1 required.'
identifier: arguments.count
count: 1
path: app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Settings.php
-
rawMessage: 'Comparison operation "==" between (Varien_Simplexml_Element|null) and 1 results in an error.'
identifier: equal.invalid
count: 1
path: app/code/core/Mage/Adminhtml/Block/Page/Menu.php
-
rawMessage: 'Call to method getCollection() on an unknown class Mage_Permissions_Model_Users.'
identifier: class.notFound
count: 1
path: app/code/core/Mage/Adminhtml/Block/Permissions/Grid/User.php
-
rawMessage: If condition is always true.
identifier: if.alwaysTrue
count: 1
path: app/code/core/Mage/Adminhtml/Block/Permissions/Tab/Rolesedit.php
-
rawMessage: 'Call to an undefined method Mage_Admin_Model_Resource_Roles_User_Collection::setUserFilter().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Adminhtml/Block/Permissions/Tab/Userroles.php
-
rawMessage: 'Call to method getCollection() on an unknown class Mage_Permissions_Model_Roles.'
identifier: class.notFound
count: 1
path: app/code/core/Mage/Adminhtml/Block/Permissions/Usernroles.php
-
rawMessage: 'Call to method getCollection() on an unknown class Mage_Permissions_Model_Users.'
identifier: class.notFound
count: 1
path: app/code/core/Mage/Adminhtml/Block/Permissions/Usernroles.php
-
rawMessage: 'Parameter #1 $collection of method Mage_Adminhtml_Block_Widget_Grid::setCollection() expects Varien_Data_Collection_Db, Mage_Reports_Model_Resource_Report_Collection given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Adminhtml/Block/Report/Grid.php
-
rawMessage: 'Parameter #1 $grid of method Mage_Reports_Model_Totals::countTotals() expects Mage_Adminhtml_Block_Report_Product_Grid, $this(Mage_Adminhtml_Block_Report_Grid) given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Adminhtml/Block/Report/Grid.php
-
rawMessage: 'Method Mage_Adminhtml_Block_Report_Grid_Abstract::getCollection() should return Mage_Core_Model_Resource_Db_Collection_Abstract|Mage_Reports_Model_Grouped_Collection but returns Varien_Data_Collection_Db|null.'
identifier: return.type
count: 1
path: app/code/core/Mage/Adminhtml/Block/Report/Grid/Abstract.php
-
rawMessage: 'Parameter #1 $collection of method Mage_Adminhtml_Block_Widget_Grid::setCollection() expects Varien_Data_Collection_Db, Mage_Reports_Model_Grouped_Collection given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Adminhtml/Block/Report/Grid/Abstract.php
-
rawMessage: 'Method Mage_Reports_Model_Totals::countTotals() invoked with 1 parameter, 3 required.'
identifier: arguments.count
count: 1
path: app/code/core/Mage/Adminhtml/Block/Report/Product/Grid.php
-
rawMessage: 'Parameter #1 $collection of method Mage_Adminhtml_Block_Widget_Grid::setCollection() expects Varien_Data_Collection_Db, Varien_Data_Collection given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Adminhtml/Block/Report/Refresh/Statistics/Grid.php
-
rawMessage: 'Return type (int) of method Mage_Adminhtml_Block_Review_Grid_Filter_Type::getCondition() should be compatible with return type (array|null) of method Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Select::getCondition()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Adminhtml/Block/Review/Grid/Filter/Type.php
-
rawMessage: 'Call to an undefined method Mage_Shipping_Model_Carrier_Abstract::isGirthAllowed().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Shipment/Packaging.php
-
rawMessage: 'Parameter #2 $array of function implode expects array<string>, array<int, array<string>|string|null> given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Info.php
-
rawMessage: 'Parameter #1 $collection of method Mage_Adminhtml_Block_Widget_Grid::setCollection() expects Varien_Data_Collection_Db, Varien_Data_Collection given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Adminhtml/Block/Sales/Transactions/Detail/Grid.php
-
rawMessage: 'Cannot call method initForm() on Mage_Core_Block_Abstract|false.'
identifier: method.nonObject
count: 1
path: app/code/core/Mage/Adminhtml/Block/System/Config/Edit.php
-
rawMessage: 'Parameter #1 $array (array{non-empty-string, non-empty-string}) of array_values is already a list, call has no effect.'
identifier: arrayValues.list
count: 1
path: app/code/core/Mage/Adminhtml/Block/System/Config/Form.php
-
rawMessage: 'Method Mage_Core_Model_Email_Template::getProcessedTemplate() invoked with 2 parameters, 0-1 required.'
identifier: arguments.count
count: 1
path: app/code/core/Mage/Adminhtml/Block/System/Email/Template/Preview.php
-
rawMessage: 'Call to an undefined method Mage_Tag_Model_Resource_Tag_Collection::addAttributeToFilter().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Adminhtml/Block/Tag/Grid/All.php
-
rawMessage: Binary operation "*" between string and 1 results in an error.
identifier: binaryOp.invalid
count: 1
path: app/code/core/Mage/Adminhtml/Block/Tax/Rate/Grid/Renderer/Data.php
-
rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 2 parameters, 0 required.'
identifier: arguments.count
count: 2
path: app/code/core/Mage/Adminhtml/Block/Widget/Form.php
-
rawMessage: 'Parameter #2 $array of function implode expects array<string>, list<array<string>|string|null> given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Options.php
-
rawMessage: 'Call to an undefined method Mage_Adminhtml_Block_Widget_Tab_Interface::getSkipGenerateContent().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php
-
rawMessage: 'Call to an undefined method Mage_Adminhtml_Block_Widget_Tab_Interface::getTabId().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php
-
rawMessage: 'Call to an undefined method Mage_Adminhtml_Block_Widget_Tab_Interface::toHtml().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php
-
rawMessage: 'Return type (Mage_Admin_Model_Session) of method Mage_Adminhtml_Controller_Report_Abstract::_getSession() should be compatible with return type (Mage_Adminhtml_Model_Session) of method Mage_Adminhtml_Controller_Action::_getSession()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Adminhtml/Controller/Report/Abstract.php
-
rawMessage: 'Parameter #1 $cache of method Varien_Simplexml_Config::setCache() expects Varien_Simplexml_Config_Cache_Abstract, Zend_Cache_Core given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Adminhtml/Model/Config.php
-
rawMessage: 'Property Mage_Adminhtml_Model_Config::$_config (Mage_Core_Model_Config_Base) does not accept Varien_Simplexml_Config.'
identifier: assign.propertyType
count: 1
path: app/code/core/Mage/Adminhtml/Model/Config.php
-
rawMessage: 'Call to an undefined method Mage_Adminhtml_Model_Config_Data::__().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Adminhtml/Model/Config/Data.php
-
rawMessage: 'Parameter #1 $field of method Mage_Adminhtml_Model_Config_Data::_isValidField() expects Mage_Core_Model_Config_Element, Varien_Simplexml_Element|false given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Adminhtml/Model/Config/Data.php
-
rawMessage: Variable $billingAddress might not be defined.
identifier: variable.undefined
count: 2
path: app/code/core/Mage/Adminhtml/Model/Sales/Order/Create.php
-
rawMessage: 'Call to an undefined method Mage_Sales_Model_Order::createFromQuoteAddress().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Adminhtml/Model/Sales/Order/Random.php
-
rawMessage: 'Call to an undefined method Mage_Sales_Model_Order::validate().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Adminhtml/Model/Sales/Order/Random.php
-
rawMessage: 'Call to an undefined method Mage_Sales_Model_Quote::addCatalogProduct().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Adminhtml/Model/Sales/Order/Random.php
-
rawMessage: 'Comparison operation "==" between (Varien_Simplexml_Element|null) and 1 results in an error.'
identifier: equal.invalid
count: 1
path: app/code/core/Mage/Adminhtml/Model/System/Config/Source/Admin/Page.php
-
rawMessage: 'Method Varien_Data_Collection::toOptionArray() invoked with 1 parameter, 0 required.'
identifier: arguments.count
count: 1
path: app/code/core/Mage/Adminhtml/Model/System/Config/Source/Country.php
-
rawMessage: 'Return type (Mage_Adminhtml_Helper_Catalog_Product_Edit_Action_Attribute) of method Mage_Adminhtml_Catalog_Product_Action_AttributeController::_getHelper() should be compatible with return type (Mage_Adminhtml_Helper_Data) of method Mage_Adminhtml_Controller_Action::_getHelper()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Adminhtml/controllers/Catalog/Product/Action/AttributeController.php
-
rawMessage: Ternary operator condition is always true.
identifier: ternary.alwaysTrue
count: 1
path: app/code/core/Mage/Adminhtml/controllers/Catalog/Product/SetController.php
-
rawMessage: 'Parameter #1 $content of method Zend_Controller_Response_Abstract::setBody() expects string, int given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Adminhtml/controllers/Customer/System/Config/ValidatevatController.php
-
rawMessage: 'Cannot call method aggregate() on Mage_Core_Model_Resource_Db_Collection_Abstract|false.'
identifier: method.nonObject
count: 2
path: app/code/core/Mage/Adminhtml/controllers/Report/StatisticsController.php
-
rawMessage: 'Return type (Mage_Admin_Model_Session) of method Mage_Adminhtml_Report_StatisticsController::_getSession() should be compatible with return type (Mage_Adminhtml_Model_Session) of method Mage_Adminhtml_Controller_Action::_getSession()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Adminhtml/controllers/Report/StatisticsController.php
-
rawMessage: 'Method Mage_Adminhtml_Model_Sales_Order_Create::moveQuoteItem() invoked with 2 parameters, 3 required.'
identifier: arguments.count
count: 1
path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/CreateController.php
-
rawMessage: 'Return type (Mage_Adminhtml_Model_Session_Quote) of method Mage_Adminhtml_Sales_Order_CreateController::_getSession() should be compatible with return type (Mage_Adminhtml_Model_Session) of method Mage_Adminhtml_Controller_Action::_getSession()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/CreateController.php
-
rawMessage: 'Call to an undefined method Mage_Sales_Model_Order_Creditmemo::void().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/CreditmemoController.php
-
rawMessage: Right side of && is always true.
identifier: booleanAnd.rightAlwaysTrue
count: 1
path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/CreditmemoController.php
-
rawMessage: Negated boolean expression is always false.
identifier: booleanNot.alwaysFalse
count: 1
path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php
-
rawMessage: 'Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, Closure(array|bool|float|int|resource|string|null, int=): int given.'
identifier: argument.type
count: 2
path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php
-
rawMessage: Dead catch - Exception is never thrown in the try block.
identifier: catch.neverThrown
count: 1
path: app/code/core/Mage/Adminhtml/controllers/Sales/Recurring/ProfileController.php
-
rawMessage: 'Method Mage_Directory_Model_Country::loadByCode() invoked with 2 parameters, 1 required.'
identifier: arguments.count
count: 1
path: app/code/core/Mage/Adminhtml/controllers/Tax/RateController.php
-
rawMessage: 'Parameter #1 $ruleModel of method Mage_Adminhtml_Tax_RuleController::_isValidRuleRequest() expects Mage_Tax_Model_Calculation_Rule, Mage_Core_Model_Abstract given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Adminhtml/controllers/Tax/RuleController.php
-
rawMessage: 'Parameter #2 $resource of method Mage_Api_Model_Config::loadAclResources() expects Mage_Core_Model_Config_Element|null, Varien_Simplexml_Element given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Api/Model/Config.php
-
rawMessage: 'Parameter #4 $lifeTime of method Mage_Core_Model_App::saveCache() expects int|false|null, bool given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Api/Model/Config.php
-
rawMessage: 'Return type (Zend_Cache_Core) of method Mage_Api_Model_Config::getCache() should be compatible with return type (Varien_Simplexml_Config_Cache_Abstract) of method Varien_Simplexml_Config::getCache()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Api/Model/Config.php
-
rawMessage: 'Cannot call method getClassName() on bool|SimpleXMLElement.'
identifier: method.nonObject
count: 1
path: app/code/core/Mage/Api/Model/Resource/Acl.php
-
rawMessage: 'Method Mage_Core_Model_Resource_Db_Abstract::load() invoked with 1 parameter, 2-3 required.'
identifier: arguments.count
count: 1
path: app/code/core/Mage/Api/Model/Resource/Roles.php
-
rawMessage: 'Call to an undefined method Mage_Api_Model_Resource_Roles::update().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Api/Model/Roles.php
-
rawMessage: 'Call to an undefined method Mage_Api_Model_Resource_Rules::update().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Api/Model/Rules.php
-
rawMessage: 'Parameter #1 $code of class SoapFault constructor expects array|string|null, int given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Api/Model/Server/Adapter/Soap.php
-
rawMessage: 'Return type (Varien_Object) of method Mage_Api_Model_Server_Adapter_Soap::getController() should be compatible with return type (Mage_Api_Controller_Action) of method Mage_Api_Model_Server_Adapter_Interface::getController()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Api/Model/Server/Adapter/Soap.php
-
rawMessage: 'Return type (Mage_Api_Model_Wsdl_Config) of method Mage_Api_Model_Server_V2_Adapter_Soap::_getWsdlConfig() should be compatible with return type (Varien_Object) of method Mage_Api_Model_Server_Adapter_Soap::_getWsdlConfig()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Api/Model/Server/V2/Adapter/Soap.php
-
rawMessage: 'Return type (Mage_Api_Model_Wsdl_Config) of method Mage_Api_Model_Server_Wsi_Adapter_Soap::_getWsdlConfig() should be compatible with return type (Varien_Object) of method Mage_Api_Model_Server_Adapter_Soap::_getWsdlConfig()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Api/Model/Server/Wsi/Adapter/Soap.php
-
rawMessage: 'Return type (stdClass) of method Mage_Api_Model_Server_Wsi_Handler::endSession() should be compatible with return type (true) of method Mage_Api_Model_Server_Handler_Abstract::endSession()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Api/Model/Server/Wsi/Handler.php
-
rawMessage: 'Return type (bool) of method Mage_Api_Model_Session::clear() should be compatible with return type ($this(Mage_Core_Model_Session_Abstract_Varien)) of method Mage_Core_Model_Session_Abstract_Varien::clear()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Api/Model/Session.php
-
rawMessage: 'Return type (void) of method Mage_Api_Model_Session::revalidateCookie() should be compatible with return type ($this(Mage_Core_Model_Session_Abstract_Varien)) of method Mage_Core_Model_Session_Abstract_Varien::revalidateCookie()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Api/Model/Session.php
-
rawMessage: 'Call to an undefined method SimpleXMLElement::extendChild().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Api/Model/Wsdl/Config/Element.php
-
rawMessage: 'Parameter #1 $source of static method Mage_Api_Model_Wsdl_Config_Element::_getChildren() expects Varien_Simplexml_Element, SimpleXMLElement given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Api/Model/Wsdl/Config/Element.php
-
rawMessage: 'Return type (array) of method Mage_Api_Model_Wsdl_Config_Element::getChildren() should be compatible with return type (RecursiveIterator|null) of method RecursiveIterator<string,static(SimpleXMLElement)>::getChildren()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Api/Model/Wsdl/Config/Element.php
-
rawMessage: 'Parameter #1 $collection of method Mage_Adminhtml_Block_Widget_Grid::setCollection() expects Varien_Data_Collection_Db, Varien_Data_Collection given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Api2/Block/Adminhtml/Attribute/Grid.php
-
rawMessage: Variable $adapters might not be defined.
identifier: variable.undefined
count: 1
path: app/code/core/Mage/Api2/Helper/Data.php
-
rawMessage: 'Parameter #1 $roleId (int) of method Mage_Api2_Model_Acl::addRole() should be compatible with parameter $role (string|Zend_Acl_Role_Interface) of method Zend_Acl::addRole()'
identifier: method.childParameterType
count: 1
path: app/code/core/Mage/Api2/Model/Acl.php
-
rawMessage: 'Parameter #1 $role of method Zend_Acl::hasRole() expects string|Zend_Acl_Role_Interface, int given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Api2/Model/Acl/Global.php
-
rawMessage: 'Parameter #1 $role of method Zend_Acl::isAllowed() expects string|Zend_Acl_Role_Interface|null, int given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Api2/Model/Acl/Global.php
-
rawMessage: Variable $operationName might not be defined.
identifier: variable.undefined
count: 2
path: app/code/core/Mage/Api2/Model/Acl/Global/Rule/Tree.php
-
rawMessage: 'Method Mage_Api2_Model_Config::getResourceGroup() should return bool|Mage_Core_Model_Config_Element but returns Varien_Simplexml_Element.'
identifier: return.type
count: 1
path: app/code/core/Mage/Api2/Model/Config.php
-
rawMessage: 'Parameter #1 $cache of method Varien_Simplexml_Config::setCache() expects Varien_Simplexml_Config_Cache_Abstract, Zend_Cache_Core given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Api2/Model/Config.php
-
rawMessage: 'Parameter #2 $lowerOrEqualsTo of method Mage_Api2_Model_Config::getResourceLastVersion() expects int|null, bool|string given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Api2/Model/Dispatcher.php
-
rawMessage: 'Call to an undefined method Mage_Api2_Model_Config::getMainRoute().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Api2/Model/Multicall.php
-
rawMessage: 'Call to an undefined method Varien_Data_Collection_Db::addAttributeToFilter().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Api2/Model/Resource.php
-
rawMessage: 'Parameter #1 $renderer of method Mage_Api2_Model_Resource::setRenderer() expects Mage_Api2_Model_Renderer_Interface, Mage_Core_Model_Abstract|false given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Api2/Model/Resource.php
-
rawMessage: 'Parameter #2 $code of method Mage_Api2_Model_Response::addMessage() expects string, int given.'
identifier: argument.type
count: 2
path: app/code/core/Mage/Api2/Model/Resource.php
-
rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 1 parameter, 0 required.'
identifier: arguments.count
count: 1
path: app/code/core/Mage/Api2/Model/Resource/Validator/Eav.php
-
rawMessage: 'Call to an undefined method Zend_Validate_Interface::setMessage().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Api2/Model/Resource/Validator/Fields.php
-
rawMessage: 'Parameter #1 $request (Mage_Api2_Model_Request) of method Mage_Api2_Model_Route_Abstract::match() should be compatible with parameter $path (string) of method Zend_Controller_Router_Route::match()'
identifier: method.childParameterType
count: 1
path: app/code/core/Mage/Api2/Model/Route/Abstract.php
-
rawMessage: 'Call to an undefined method Varien_Object::encrypt().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Authorizenet/Model/Directpost.php
-
rawMessage: 'Parameter #2 $amount of method Mage_Authorizenet_Model_Directpost::_refund() expects string, float given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Authorizenet/Model/Directpost.php
-
rawMessage: 'Return type (bool) of method Mage_Authorizenet_Model_Directpost::validate() should be compatible with return type ($this(Mage_Payment_Model_Method_Cc)) of method Mage_Payment_Model_Method_Cc::validate()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Authorizenet/Model/Directpost.php
-
rawMessage: 'Return type (void) of method Mage_Authorizenet_Model_Directpost::authorize() should be compatible with return type ($this(Mage_Paygate_Model_Authorizenet)) of method Mage_Paygate_Model_Authorizenet::authorize()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Authorizenet/Model/Directpost.php
-
rawMessage: 'Call to an undefined method Mage_Payment_Model_Method_Abstract::generateRequestFromOrder().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Authorizenet/Model/Directpost/Observer.php
-
rawMessage: 'Call to an undefined method Mage_Payment_Model_Method_Abstract::generateRequestFromOrder().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Authorizenet/controllers/Adminhtml/Authorizenet/Directpost/PaymentController.php
-
rawMessage: 'Method Mage_Authorizenet_Directpost_PaymentController::_getIframeBlock() should return Mage_Authorizenet_Block_Directpost_Iframe but returns Mage_Core_Block_Abstract|false.'
identifier: return.type
count: 1
path: app/code/core/Mage/Authorizenet/controllers/Directpost/PaymentController.php
-
rawMessage: 'Call to an undefined method Mage_Catalog_Model_Product_Configuration_Item_Interface::getQty().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Bundle/Helper/Catalog/Product/Configuration.php
-
rawMessage: 'Call to an undefined method Mage_Bundle_Model_CatalogIndex_Data_Bundle::_addAttributeFilter().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Bundle/Model/CatalogIndex/Data/Bundle.php
-
rawMessage: 'Call to an undefined method Mage_Bundle_Model_CatalogIndex_Data_Bundle::_getLinkSelect().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Bundle/Model/CatalogIndex/Data/Bundle.php
-
rawMessage: 'Call to an undefined method Mage_Bundle_Model_Resource_Price_Index::reindexProduct().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Bundle/Model/Price/Index.php
-
rawMessage: 'Call to an undefined method Mage_Bundle_Model_Product_Price::getPricesTierPrice().'
identifier: method.notFound
count: 2
path: app/code/core/Mage/Bundle/Model/Product/Price.php
-
rawMessage: 'Method Mage_Bundle_Model_Product_Price::getOptions() should return Mage_Bundle_Model_Resource_Option_Collection but returns array.'
identifier: return.type
count: 1
path: app/code/core/Mage/Bundle/Model/Product/Price.php
-
rawMessage: 'Parameter #2 $selectionProduct of method Mage_Bundle_Model_Product_Price::getSelectionFinalTotalPrice() expects Mage_Catalog_Model_Product, Mage_Bundle_Model_Selection given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Bundle/Model/Product/Price.php
-
rawMessage: Left side of && is always true.
identifier: booleanAnd.leftAlwaysTrue
count: 1
path: app/code/core/Mage/Bundle/Model/Product/Type.php
-
rawMessage: 'Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, Closure(array|bool|float|int|resource|string|null, int=): int given.'
identifier: argument.type
count: 3
path: app/code/core/Mage/Bundle/Model/Product/Type.php
-
rawMessage: 'Return type (int) of method Mage_Bundle_Model_Product_Type::prepareQuoteItemQty() should be compatible with return type (float) of method Mage_Catalog_Model_Product_Type_Abstract::prepareQuoteItemQty()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Bundle/Model/Product/Type.php
-
rawMessage: 'Parameter #1 $selection of method Mage_Bundle_Model_Option::addSelection() expects Mage_Bundle_Model_Selection, Mage_Catalog_Model_Product given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Bundle/Model/Resource/Option/Collection.php
-
rawMessage: 'Return type (Mage_Customer_Model_Session) of method Mage_Captcha_Model_Zend::getSession() should be compatible with return type (Zend_Session_Namespace) of method Zend_Captcha_Word::getSession()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Captcha/Model/Zend.php
-
rawMessage: 'Argument of an invalid type string supplied for foreach, only iterables are supported.'
identifier: foreach.nonIterable
count: 1
path: app/code/core/Mage/Catalog/Block/Navigation.php
-
rawMessage: 'Cannot call method count() on string.'
identifier: method.nonObject
count: 1
path: app/code/core/Mage/Catalog/Block/Navigation.php
-
rawMessage: If condition is always true.
identifier: if.alwaysTrue
count: 1
path: app/code/core/Mage/Catalog/Block/Product.php
-
rawMessage: Variable $productId might not be defined.
identifier: variable.undefined
count: 1
path: app/code/core/Mage/Catalog/Block/Product.php
-
rawMessage: 'Parameter #1 $category (Mage_Catalog_Model_Category) of method Mage_Catalog_Block_Seo_Sitemap_Category::getItemUrl() should be compatible with parameter $item (Mage_Catalog_Block_Seo_Sitemap_Abstract) of method Mage_Catalog_Block_Seo_Sitemap_Abstract::getItemUrl()'
identifier: method.childParameterType
count: 1
path: app/code/core/Mage/Catalog/Block/Seo/Sitemap/Category.php
-
rawMessage: 'Parameter #1 $product (Mage_Catalog_Model_Product) of method Mage_Catalog_Block_Seo_Sitemap_Product::getItemUrl() should be compatible with parameter $item (Mage_Catalog_Block_Seo_Sitemap_Abstract) of method Mage_Catalog_Block_Seo_Sitemap_Abstract::getItemUrl()'
identifier: method.childParameterType
count: 1
path: app/code/core/Mage/Catalog/Block/Seo/Sitemap/Product.php
-
rawMessage: Variable $store might not be defined.
identifier: variable.undefined
count: 1
path: app/code/core/Mage/Catalog/Block/Widget/Link.php
-
rawMessage: 'Call to an undefined method Mage_Eav_Model_Entity_Attribute_Frontend_Abstract::getUrl().'
identifier: method.notFound
count: 3
path: app/code/core/Mage/Catalog/Helper/Product.php
-
rawMessage: Ternary operator condition is always true.
identifier: ternary.alwaysTrue
count: 1
path: app/code/core/Mage/Catalog/Helper/Product.php
-
rawMessage: 'Method Mage_Catalog_Helper_Product_Compare::getItemCollection() should return Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Compare_Item_Collection but returns Mage_Catalog_Model_Resource_Product_Compare_Item_Collection.'
identifier: return.type
count: 1
path: app/code/core/Mage/Catalog/Helper/Product/Compare.php
-
rawMessage: 'Call to an undefined method Mage_Core_Model_Resource_Db_Collection_Abstract::setStoreId().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Catalog/Model/Abstract.php
-
rawMessage: 'Method Mage_Core_Model_Website::getStoreIds() invoked with 1 parameter, 0 required.'
identifier: arguments.count
count: 1
path: app/code/core/Mage/Catalog/Model/Abstract.php
-
rawMessage: 'Return type (Mage_Catalog_Model_Resource_Collection_Abstract) of method Mage_Catalog_Model_Abstract::getResourceCollection() should be compatible with return type (Mage_Core_Model_Resource_Db_Collection_Abstract) of method Mage_Core_Model_Abstract::getResourceCollection()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Catalog/Model/Abstract.php
-
rawMessage: 'Call to an undefined method Mage_Catalog_Model_Api_Resource::_checkAttributeAcl().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Catalog/Model/Api/Resource.php
-
rawMessage: Elseif condition is always false.
identifier: elseif.alwaysFalse
count: 1
path: app/code/core/Mage/Catalog/Model/Api2/Product/Rest.php
-
rawMessage: If condition is always false.
identifier: if.alwaysFalse
count: 1
path: app/code/core/Mage/Catalog/Model/Api2/Product/Rest.php
-
rawMessage: 'Call to an undefined method Mage_Core_Model_Abstract::toOptionArray().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Catalog/Model/Api2/Product/Validator/Product.php
-
rawMessage: 'Call to an undefined method Mage_Eav_Model_Entity_Attribute_Backend_Abstract::formatDate().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Catalog/Model/Api2/Product/Validator/Product.php
-
rawMessage: 'Strict comparison using !== between mixed and 0 will always evaluate to true.'
identifier: notIdentical.alwaysTrue
count: 1
path: app/code/core/Mage/Catalog/Model/Api2/Product/Validator/Product.php
-
rawMessage: 'Call to an undefined method Varien_Object::formatUrlKey().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Catalog/Model/Attribute/Backend/Urlkey/Abstract.php
-
rawMessage: If condition is always true.
identifier: if.alwaysTrue
count: 1
path: app/code/core/Mage/Catalog/Model/Category.php
-
rawMessage: 'Cannot call method getRootCategoryId() on int|string.'
identifier: method.nonObject
count: 1
path: app/code/core/Mage/Catalog/Model/Category/Api.php
-
rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 1 parameter, 0 required.'
identifier: arguments.count
count: 1
path: app/code/core/Mage/Catalog/Model/Category/Attribute/Api.php
-
rawMessage: 'Call to an undefined method Mage_Catalog_Model_Config::_init().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Catalog/Model/Config.php
-
rawMessage: 'Method Mage_Catalog_Model_Config::getAttributeSetId() invoked with 1 parameter, 2 required.'
identifier: arguments.count
count: 2
path: app/code/core/Mage/Catalog/Model/Config.php
-
rawMessage: 'Cannot call method setStoreId() on Mage_Eav_Model_Entity_Collection|false.'
identifier: method.nonObject
count: 1
path: app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php
-
rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 1 parameter, 0 required.'
identifier: arguments.count
count: 1
path: app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php
-
rawMessage: 'Property Mage_Catalog_Model_Convert_Adapter_Product::$_galleryBackendModel (Mage_Catalog_Model_Product_Attribute_Backend_Media) does not accept Mage_Eav_Model_Entity_Attribute_Backend_Abstract.'
identifier: assign.propertyType
count: 1
path: app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php
-
rawMessage: 'Return type (Mage_Catalog_Model_Resource_Product_Collection) of method Mage_Catalog_Model_Convert_Adapter_Product::_getCollectionForLoad() should be compatible with return type (Mage_Eav_Model_Entity_Collection|false) of method Mage_Eav_Model_Convert_Adapter_Entity::_getCollectionForLoad()'
identifier: method.childReturnType
count: 1
path: app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php
-
rawMessage: 'Call to an undefined method Mage_Catalog_Model_Resource_Product_Flat|Mage_Eav_Model_Entity_Abstract::setStore().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Catalog/Model/Convert/Parser/Product.php
-
rawMessage: 'Method Mage_Catalog_Model_Category::getParentDesignCategory() invoked with 1 parameter, 0 required.'
identifier: arguments.count
count: 1
path: app/code/core/Mage/Catalog/Model/Design.php
-
rawMessage: 'Property Mage_Catalog_Model_Entity_Product_Attribute_Design_Options_Container::$_configNodePath (Mage_Core_Model_Config_Element) does not accept string.'
identifier: assign.propertyType
count: 1
path: app/code/core/Mage/Catalog/Model/Entity/Product/Attribute/Design/Options/Container.php
-
rawMessage: 'Parameter #1 $attribute of method Mage_Catalog_Model_Layer::_filterFilterableAttributes() expects Mage_Catalog_Model_Resource_Eav_Attribute, Mage_Eav_Model_Entity_Attribute_Abstract|false given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Catalog/Model/Layer.php
-
rawMessage: 'Parameter #3 $index of method Mage_Catalog_Model_Resource_Layer_Filter_Decimal::applyFilterToCollection() expects int, string given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Catalog/Model/Layer/Filter/Decimal.php
-
rawMessage: 'Method Mage_Catalog_Model_Resource_Category_Flat::move() invoked with 3 parameters, 1 required.'
identifier: arguments.count
count: 1
path: app/code/core/Mage/Catalog/Model/Observer.php
-
rawMessage: 'Call to an undefined method Mage_Eav_Model_Entity_Attribute_Backend_Abstract::addImage().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Catalog/Model/Product.php
-
rawMessage: 'Parameter #2 $attributes of method Mage_Catalog_Model_Api_Resource::_isAllowedAttribute() expects array|null, stdClass|null given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Catalog/Model/Product/Api/V2.php
-
rawMessage: 'Parameter #3 $attributes (stdClass) of method Mage_Catalog_Model_Product_Api_V2::info() should be compatible with parameter $attributes (array) of method Mage_Catalog_Model_Product_Api::info()'
identifier: method.childParameterType
count: 1
path: app/code/core/Mage/Catalog/Model/Product/Api/V2.php
-
rawMessage: 'Cannot call method getBackend() on bool|Mage_Catalog_Model_Resource_Attribute.'
identifier: method.nonObject
count: 11
path: app/code/core/Mage/Catalog/Model/Product/Attribute/Media/Api.php
-
rawMessage: 'Parameter #1 $data (stdClass) of method Mage_Catalog_Model_Product_Attribute_Media_Api_V2::_prepareImageData() should be compatible with parameter $data (array) of method Mage_Catalog_Model_Product_Attribute_Media_Api::_prepareImageData()'
identifier: method.childParameterType
count: 1
path: app/code/core/Mage/Catalog/Model/Product/Attribute/Media/Api/V2.php
-
rawMessage: 'Parameter #1 $skeletonId of method Mage_Eav_Model_Entity_Attribute_Set::initFromSkeleton() expects int, string given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Catalog/Model/Product/Attribute/Set/Api.php
-
rawMessage: 'Method Mage_Catalog_Model_Resource_Product_Compare_Item::clean() invoked with 1 parameter, 0 required.'
identifier: arguments.count
count: 1
path: app/code/core/Mage/Catalog/Model/Product/Compare/Item.php
-
rawMessage: 'Call to an undefined method Mage_Catalog_Model_Resource_Product_Flat_Indexer::prepareFlatTables().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Catalog/Model/Product/Flat/Indexer.php
-
rawMessage: 'Parameter #1 $heigth of method Varien_Image::setWatermarkHeigth() expects int, string given.'
identifier: argument.type
count: 1
path: app/code/core/Mage/Catalog/Model/Product/Image.php
-
rawMessage: 'Cannot call method isIndexable() on Mage_Eav_Model_Entity_Attribute_Abstract|false.'
identifier: method.nonObject
count: 1
path: app/code/core/Mage/Catalog/Model/Product/Indexer/Eav.php
-
rawMessage: 'Call to an undefined method Mage_Catalog_Model_Product_Configuration_Item_Option_Interface::getId().'
identifier: method.notFound
count: 2
path: app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php
-
rawMessage: 'Call to an undefined method Mage_Catalog_Model_Product_Configuration_Item_Option_Interface::setValue().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php
-
rawMessage: Elseif condition is always true.
identifier: elseif.alwaysTrue
count: 2
path: app/code/core/Mage/Catalog/Model/Product/Option/Type/Select.php
-
rawMessage: 'Call to an undefined method Mage_Eav_Model_Entity_Collection_Abstract::getStoreId().'
identifier: method.notFound
count: 1
path: app/code/core/Mage/Catalog/Model/Product/Status.php
-
rawMessage: 'Method Mage_Catalog_Model_Product_Type_Configurable::getProductByAttributes() should return Mage_Catalog_Model_Product|null but returns Varien_Object.'
identifier: return.type
count: 1
path: app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php
-
rawMessage: 'Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, Closure(array|bool|float|int|resource|string|null, int=): int given.'