diff --git a/.all-contributorsrc b/.all-contributorsrc
index afa28c9019c..78f3e5e8078 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -9,6 +9,7 @@
"imageSize": 100,
"commit": true,
"commitConvention": "none",
+ "contributorTemplate": "\">\" loading=\"lazy\" width=\"<%= options.imageSize %>\" alt=\"\"/> <%= contributor.name %>",
"contributors": [
{
"login": "sreichel",
@@ -1308,7 +1309,25 @@
"contributions": [
"code"
]
+ },
+ {
+ "login": "nimasan",
+ "name": "Benjamin MARROT",
+ "avatar_url": "https://avatars.githubusercontent.com/u/5030086?v=4",
+ "profile": "https://www.developpeur-web-tlse.fr/",
+ "contributions": [
+ "doc"
+ ]
+ },
+ {
+ "login": "tmewes",
+ "name": "Tino Mewes",
+ "avatar_url": "https://avatars.githubusercontent.com/u/12640514?v=4",
+ "profile": "https://github.com/tmewes",
+ "contributions": [
+ "code"
+ ]
}
],
"contributorsPerLine": 7
-}
+}
\ No newline at end of file
diff --git a/.github/phpstan-baseline.neon b/.github/phpstan-baseline.neon
new file mode 100644
index 00000000000..a01cd5da26b
--- /dev/null
+++ b/.github/phpstan-baseline.neon
@@ -0,0 +1,1157 @@
+parameters:
+ ignoreErrors:
+ -
+ message: "#^Method Mage_Adminhtml_Block_Backup\\:\\:_prepareLayout\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Backup\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Backup.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Backup_Dialogs\\:\\:_prepareLayout\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Backup_Dialogs\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Backup/Dialogs.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Category_Checkboxes_Tree\\:\\:_prepareLayout\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Catalog_Category_Checkboxes_Tree\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Category/Checkboxes/Tree.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Category_Tab_Attributes\\:\\:_prepareLayout\\(\\) should return Mage_Core_Block_Abstract but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Category/Tab/Attributes.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Category_Tab_Design\\:\\:_prepareLayout\\(\\) should return Mage_Core_Block_Abstract but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Category/Tab/Design.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Category_Tab_General\\:\\:_prepareLayout\\(\\) should return Mage_Core_Block_Abstract but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Category/Tab/General.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Form\\:\\:_prepareLayout\\(\\) should return Mage_Core_Block_Abstract but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Form.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Attribute_New_Product_Attributes\\:\\:_prepareForm\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Catalog_Product_Attribute_New_Product_Attributes\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Attribute/New/Product/Attributes.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Attribute_New_Product_Created\\:\\:_prepareLayout\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Catalog_Product_Attribute_New_Product_Created\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Attribute/New/Product/Created.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Main_Formattribute\\:\\:_prepareForm\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Main_Formattribute\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Attribute/Set/Main/Formattribute.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Main_Formgroup\\:\\:_prepareForm\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Main_Formgroup\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Attribute/Set/Main/Formgroup.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Main_Formset\\:\\:_prepareForm\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Main_Formset\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Attribute/Set/Main/Formset.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Toolbar_Main_Filter\\:\\:_prepareForm\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Toolbar_Main_Filter\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Attribute/Set/Toolbar/Main/Filter.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Created\\:\\:_prepareLayout\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Catalog_Product_Created\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Created.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Edit_Action_Attribute\\:\\:_prepareLayout\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Catalog_Product_Edit_Action_Attribute\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Action/Attribute.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Edit_Action_Attribute_Tab_Attributes\\:\\:_prepareForm\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Catalog_Product_Edit_Action_Attribute_Tab_Attributes\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Action/Attribute/Tab/Attributes.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Attributes\\:\\:_prepareLayout\\(\\) should return Mage_Core_Block_Abstract but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Attributes.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Price\\:\\:_prepareForm\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Price\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Price.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Settings\\:\\:_prepareForm\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Settings\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Settings.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Super_Settings\\:\\:_prepareLayout\\(\\) should return Mage_Core_Block_Abstract but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Settings.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs_Configurable\\:\\:_prepareLayout\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs_Configurable\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tabs/Configurable.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs_Grouped\\:\\:_prepareLayout\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs_Grouped\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tabs/Grouped.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Widget_Chooser\\:\\:getCheckboxCheckCallback\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Widget/Chooser.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Widget_Chooser\\:\\:getRowClickCallback\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Catalog/Product/Widget/Chooser.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Cms_Block_Edit_Form\\:\\:_prepareLayout\\(\\) should return Mage_Core_Block_Abstract but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Cms/Block/Edit/Form.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Cms_Page_Edit_Tab_Content\\:\\:_prepareLayout\\(\\) should return Mage_Core_Block_Abstract but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Cms/Page/Edit/Tab/Content.php
+
+ -
+ message: "#^Result of method Mage_Adminhtml_Block_Cms_Wysiwyg_Images_Content\\:\\:getDeleteFilesUrl\\(\\) \\(void\\) is used\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Cms/Wysiwyg/Images/Content.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Customer_Edit_Tab_View_Accordion\\:\\:_prepareLayout\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Customer_Edit_Tab_View_Accordion\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/View/Accordion.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Customer_Group_Edit_Form\\:\\:_prepareLayout\\(\\) should return Mage_Core_Block_Abstract but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Customer/Group/Edit/Form.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Dashboard\\:\\:_prepareLayout\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Dashboard\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Dashboard.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Dashboard_Sales\\:\\:_prepareLayout\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Dashboard_Sales\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Dashboard/Sales.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Dashboard_Totals\\:\\:_prepareLayout\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Dashboard_Totals\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Dashboard/Totals.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Permissions_Tab_Useredit\\:\\:_prepareForm\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Permissions_Tab_Useredit\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Permissions/Tab/Useredit.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Poll_Answer_Edit_Form\\:\\:_prepareForm\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Poll_Answer_Edit_Form\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Poll/Answer/Edit/Form.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Poll_Edit_Tab_Answers_Form\\:\\:_prepareForm\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Poll_Edit_Tab_Answers_Form\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Poll/Edit/Tab/Answers/Form.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Report_Customer_Accounts_Grid\\:\\:_prepareCollection\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Report_Customer_Accounts_Grid\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Report/Customer/Accounts/Grid.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Report_Customer_Orders_Grid\\:\\:_prepareCollection\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Report_Customer_Orders_Grid\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Report/Customer/Orders/Grid.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Report_Customer_Totals_Grid\\:\\:_prepareCollection\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Report_Customer_Totals_Grid\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Report/Customer/Totals/Grid.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Report_Grid\\:\\:_prepareCollection\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Report_Grid\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Report/Grid.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Report_Product_Ordered_Grid\\:\\:_prepareCollection\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Report_Product_Ordered_Grid\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Report/Product/Ordered/Grid.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Review_Add_Form\\:\\:_prepareForm\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Review_Add_Form\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Review/Add/Form.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Review_Grid\\:\\:_prepareMassaction\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Review_Grid\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Review/Grid.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Review_Grid_Renderer_Type\\:\\:render\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Review/Grid/Renderer/Type.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Sales_Order_Comments_View\\:\\:_beforeToHtml\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Sales_Order_Comments_View\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Sales/Order/Comments/View.php
+
+ -
+ message: "#^Undefined variable\\: \\$info$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Items/Grid.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Sales_Order_Create_Messages\\:\\:_prepareLayout\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Sales_Order_Create_Messages\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Messages.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Sales_Order_Invoice_Create_Tracking\\:\\:_prepareLayout\\(\\) should return Mage_Adminhtml_Block_Sales_Order_View_Giftmessage but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Sales/Order/Invoice/Create/Tracking.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Sales_Order_Payment\\:\\:_beforeToHtml\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Sales_Order_Payment\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Sales/Order/Payment.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Sales_Order_Shipment_Create_Form\\:\\:_prepareLayout\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Sales_Order_Shipment_Create_Form\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Sales/Order/Shipment/Create/Form.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Sales_Order_Shipment_Create_Tracking\\:\\:_prepareLayout\\(\\) should return Mage_Adminhtml_Block_Sales_Order_View_Giftmessage but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Sales/Order/Shipment/Create/Tracking.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Sales_Order_Shipment_View_Tracking\\:\\:_prepareLayout\\(\\) should return Mage_Adminhtml_Block_Sales_Order_View_Giftmessage but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Sales/Order/Shipment/View/Tracking.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Sales_Order_Totalbar\\:\\:_beforeToHtml\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Sales_Order_Totalbar\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Sales/Order/Totalbar.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Sales_Order_View_Giftmessage\\:\\:_beforeToHtml\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Sales_Order_View_Giftmessage\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Giftmessage.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Sales_Order_View_Info\\:\\:_beforeToHtml\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Sales_Order_View_Info\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Info.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Sales_Order_View_Items\\:\\:_beforeToHtml\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Sales_Order_View_Items\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Items.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_System_Design_Edit_Tab_General\\:\\:_prepareForm\\(\\) should return \\$this\\(Mage_Adminhtml_Block_System_Design_Edit_Tab_General\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/System/Design/Edit/Tab/General.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Urlrewrite_Link\\:\\:_toHtml\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Urlrewrite/Link.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Options\\:\\:render\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Options.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Widget_Tabs\\:\\:addTabAfter\\(\\) should return Mage_Adminhtml_Block_Widget_Tabs but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php
+
+ -
+ message: "#^Undefined variable\\: \\$pdf$#"
+ count: 2
+ path: ../app/code/core/Mage/Adminhtml/Controller/Sales/Creditmemo.php
+
+ -
+ message: "#^Undefined variable\\: \\$pdf$#"
+ count: 2
+ path: ../app/code/core/Mage/Adminhtml/Controller/Sales/Invoice.php
+
+ -
+ message: "#^Undefined variable\\: \\$pdf$#"
+ count: 2
+ path: ../app/code/core/Mage/Adminhtml/Controller/Sales/Shipment.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Helper_Catalog_Product_Composite\\:\\:renderConfigureResult\\(\\) should return \\$this\\(Mage_Adminhtml_Helper_Catalog_Product_Composite\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Helper/Catalog/Product/Composite.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Helper_Catalog_Product_Composite\\:\\:renderUpdateResult\\(\\) should return \\$this\\(Mage_Adminhtml_Helper_Catalog_Product_Composite\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Helper/Catalog/Product/Composite.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_Config\\:\\:getSection\\(\\) should return Varien_Simplexml_Element but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/Config.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_System_Config_Backend_Baseurl\\:\\:_afterSave\\(\\) should return \\$this\\(Mage_Adminhtml_Model_System_Config_Backend_Baseurl\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Baseurl.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_System_Config_Backend_Cache\\:\\:_afterSave\\(\\) should return \\$this\\(Mage_Adminhtml_Model_System_Config_Backend_Cache\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Cache.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_System_Config_Backend_Currency_Cron\\:\\:_afterSave\\(\\) should return \\$this\\(Mage_Adminhtml_Model_System_Config_Backend_Currency_Cron\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Currency/Cron.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_System_Config_Backend_Datashare\\:\\:_afterSave\\(\\) should return \\$this\\(Mage_Adminhtml_Model_System_Config_Backend_Datashare\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Datashare.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_System_Config_Backend_Design_Package\\:\\:_beforeSave\\(\\) should return \\$this\\(Mage_Adminhtml_Model_System_Config_Backend_Design_Package\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Design/Package.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_System_Config_Backend_Encrypted\\:\\:_afterLoad\\(\\) should return \\$this\\(Mage_Adminhtml_Model_System_Config_Backend_Encrypted\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Encrypted.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_System_Config_Backend_Encrypted\\:\\:_beforeSave\\(\\) should return \\$this\\(Mage_Adminhtml_Model_System_Config_Backend_Encrypted\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Encrypted.php
+
+ -
+ message: "#^Inner named functions are not supported by PHPStan\\. Consider refactoring to an anonymous function, class method, or a top\\-level\\-defined function\\. See issue \\#165 \\(https\\://github\\.com/phpstan/phpstan/issues/165\\) for more details\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Locale.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_System_Config_Backend_Log_Cron\\:\\:_afterSave\\(\\) should return \\$this\\(Mage_Adminhtml_Model_System_Config_Backend_Log_Cron\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Log/Cron.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_System_Config_Backend_Product_Alert_Cron\\:\\:_afterSave\\(\\) should return \\$this\\(Mage_Adminhtml_Model_System_Config_Backend_Product_Alert_Cron\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Product/Alert/Cron.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_System_Config_Backend_Secure\\:\\:_afterSave\\(\\) should return \\$this\\(Mage_Adminhtml_Model_System_Config_Backend_Secure\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Secure.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_System_Config_Backend_Serialized\\:\\:_afterLoad\\(\\) should return \\$this\\(Mage_Adminhtml_Model_System_Config_Backend_Serialized\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Serialized.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_System_Config_Backend_Serialized\\:\\:_beforeSave\\(\\) should return \\$this\\(Mage_Adminhtml_Model_System_Config_Backend_Serialized\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Serialized.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_System_Config_Backend_Shipping_Tablerate\\:\\:_afterSave\\(\\) should return \\$this\\(Mage_Adminhtml_Model_System_Config_Backend_Shipping_Tablerate\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Shipping/Tablerate.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_System_Config_Backend_Sitemap_Cron\\:\\:_afterSave\\(\\) should return \\$this\\(Mage_Adminhtml_Model_System_Config_Backend_Sitemap_Cron\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Sitemap/Cron.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_System_Config_Backend_Store\\:\\:_afterSave\\(\\) should return \\$this\\(Mage_Adminhtml_Model_System_Config_Backend_Store\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Store.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Model_Url\\:\\:renewSecretUrls\\(\\) should return \\$this\\(Mage_Adminhtml_Model_Url\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/Model/Url.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Catalog_Product_AttributeController\\:\\:preDispatch\\(\\) should return \\$this\\(Mage_Adminhtml_Catalog_Product_AttributeController\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/controllers/Catalog/Product/AttributeController.php
+
+ -
+ message: "#^Method Mage_Adminhtml_CustomerController\\:\\:cartAction\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/controllers/CustomerController.php
+
+ -
+ message: "#^Method Mage_Adminhtml_JsonController\\:\\:countryRegionAction\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/controllers/JsonController.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Sales_Order_CreditmemoController\\:\\:_needToAddDummy\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/controllers/Sales/Order/CreditmemoController.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Sales_Order_InvoiceController\\:\\:_needToAddDummy\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/controllers/Sales/Order/InvoiceController.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Sales_Order_InvoiceController\\:\\:_needToAddDummyForShipment\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/controllers/Sales/Order/InvoiceController.php
+
+ -
+ message: "#^Undefined variable\\: \\$shippingResponse$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/controllers/Sales/Order/InvoiceController.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Sales_Order_ShipmentController\\:\\:_needToAddDummy\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php
+
+ -
+ message: "#^Method Mage_Adminhtml_System_ConfigController\\:\\:_isSectionAllowed\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/controllers/System/ConfigController.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Tax_RateController\\:\\:deleteAction\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/controllers/Tax/RateController.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Tax_RateController\\:\\:saveAction\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/controllers/Tax/RateController.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Tax_RuleController\\:\\:saveAction\\(\\) should return Mage_Core_Controller_Response_Http\\|Mage_Core_Controller_Varien_Action but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Adminhtml/controllers/Tax/RuleController.php
+
+ -
+ message: "#^Method Mage_Core_Model_Resource_Db_Abstract\\:\\:load\\(\\) invoked with 1 parameter, 2\\-3 required\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Api/Model/Resource/Roles.php
+
+ -
+ message: "#^Method Mage_Api2_Block_Adminhtml_Attribute_Grid\\:\\:_prepareCollection\\(\\) should return \\$this\\(Mage_Api2_Block_Adminhtml_Attribute_Grid\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Api2/Block/Adminhtml/Attribute/Grid.php
+
+ -
+ message: "#^Method Mage_Api2_Block_Adminhtml_Roles_Tab_Info\\:\\:_prepareForm\\(\\) should return \\$this\\(Mage_Api2_Block_Adminhtml_Roles_Tab_Info\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Api2/Block/Adminhtml/Roles/Tab/Info.php
+
+ -
+ message: "#^Method Mage_Api2_Model_Acl_Global_Rule_ResourcePermission\\:\\:setFilterValue\\(\\) should return Mage_Api2_Model_Acl_PermissionInterface but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Api2/Model/Acl/Global/Rule/ResourcePermission.php
+
+ -
+ message: "#^Call to an undefined method Mage_Api2_Model_Resource\\:\\:_multiDelete\\(\\)\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Api2/Model/Resource.php
+
+ -
+ message: "#^Method Mage_Authorizenet_Model_Directpost\\:\\:authorize\\(\\) should return Mage_Paygate_Model_Authorizenet but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Authorizenet/Model/Directpost.php
+
+ -
+ message: "#^Method Mage_Authorizenet_Model_Directpost\\:\\:initialize\\(\\) should return \\$this\\(Mage_Authorizenet_Model_Directpost\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Authorizenet/Model/Directpost.php
+
+ -
+ message: "#^Method Mage_Backup_Model_Config_Backend_Cron\\:\\:_afterSave\\(\\) should return Mage_Adminhtml_Model_System_Config_Backend_Log_Cron but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Backup/Model/Config/Backend/Cron.php
+
+ -
+ message: "#^Result of method Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\:\\:_getSelectedOptions\\(\\) \\(void\\) is used\\.$#"
+ count: 4
+ path: ../app/code/core/Mage/Bundle/Block/Catalog/Product/View/Type/Bundle/Option.php
+
+ -
+ message: "#^Call to an undefined method Mage_Bundle_Model_Product_Price\\:\\:getPricesTierPrice\\(\\)\\.$#"
+ count: 2
+ path: ../app/code/core/Mage/Bundle/Model/Product/Price.php
+
+ -
+ message: "#^Method Mage_Bundle_Model_Product_Type\\:\\:beforeSave\\(\\) should return Mage_Catalog_Model_Product_Type_Abstract but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Bundle/Model/Product/Type.php
+
+ -
+ message: "#^Method Mage_Bundle_Model_Resource_Selection_Collection\\:\\:_initSelect\\(\\) should return \\$this\\(Mage_Bundle_Model_Resource_Selection_Collection\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Bundle/Model/Resource/Selection/Collection.php
+
+ -
+ message: "#^Method Mage_Catalog_Block_Product_View_Options_Type_Select\\:\\:getValuesHtml\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Block/Product/View/Options/Type/Select.php
+
+ -
+ message: "#^Method Mage_Catalog_Block_Product_View_Tabs\\:\\:addTab\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Block/Product/View/Tabs.php
+
+ -
+ message: "#^Call to an undefined method Mage_Catalog_Model_Api_Resource\\:\\:_checkAttributeAcl\\(\\)\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Model/Api/Resource.php
+
+ -
+ message: "#^Method Mage_Catalog_Model_Api2_Product_Image_Rest_Admin_V1\\:\\:_create\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Model/Api2/Product/Image/Rest/Admin/V1.php
+
+ -
+ message: "#^Method Mage_Catalog_Model_Api2_Product_Validator_Product\\:\\:_validateAttributeSet\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Model/Api2/Product/Validator/Product.php
+
+ -
+ message: "#^Method Mage_Catalog_Model_Api2_Product_Validator_Product\\:\\:_validateProductType\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Model/Api2/Product/Validator/Product.php
+
+ -
+ message: "#^Method Mage_Catalog_Model_Api2_Product_Validator_Product\\:\\:_validateSku\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Model/Api2/Product/Validator/Product.php
+
+ -
+ message: "#^Method Mage_Catalog_Model_Category_Attribute_Backend_Image\\:\\:afterSave\\(\\) should return \\$this\\(Mage_Catalog_Model_Category_Attribute_Backend_Image\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Model/Category/Attribute/Backend/Image.php
+
+ -
+ message: "#^Call to an undefined method Mage_Catalog_Model_Config\\:\\:_init\\(\\)\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Model/Config.php
+
+ -
+ message: "#^Method Mage_Catalog_Model_Config\\:\\:getAttributeSetId\\(\\) invoked with 1 parameter, 2 required\\.$#"
+ count: 2
+ path: ../app/code/core/Mage/Catalog/Model/Config.php
+
+ -
+ message: "#^Method Mage_Catalog_Model_Product\\:\\:_afterDeleteCommit\\(\\) should return \\$this\\(Mage_Catalog_Model_Product\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Model/Product.php
+
+ -
+ message: "#^Method Mage_Catalog_Model_Product\\:\\:_beforeSave\\(\\) should return \\$this\\(Mage_Catalog_Model_Product\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Model/Product.php
+
+ -
+ message: "#^Method Mage_Catalog_Model_Product_Attribute_Api\\:\\:remove\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Model/Product/Attribute/Api.php
+
+ -
+ message: "#^Method Mage_Catalog_Model_Product_Attribute_Backend_Media\\:\\:afterLoad\\(\\) should return \\$this\\(Mage_Catalog_Model_Product_Attribute_Backend_Media\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Model/Product/Attribute/Backend/Media.php
+
+ -
+ message: "#^Method Mage_Catalog_Model_Product_Attribute_Backend_Recurring\\:\\:_unserialize\\(\\) should return \\$this\\(Mage_Catalog_Model_Product_Attribute_Backend_Recurring\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Model/Product/Attribute/Backend/Recurring.php
+
+ -
+ message: "#^Method Mage_Catalog_Model_Product_Attribute_Backend_Recurring\\:\\:beforeSave\\(\\) should return \\$this\\(Mage_Catalog_Model_Product_Attribute_Backend_Recurring\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Model/Product/Attribute/Backend/Recurring.php
+
+ -
+ message: "#^Method Mage_Catalog_Model_Product_Option_Type_File\\:\\:_validateFile\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php
+
+ -
+ message: "#^Method Mage_Catalog_Model_Product_Option_Type_File\\:\\:getCustomizedView\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php
+
+ -
+ message: "#^Access to an undefined property Mage_Catalog_Model_Resource_Category_Tree\\:\\:\\$_inactiveItems\\.$#"
+ count: 2
+ path: ../app/code/core/Mage/Catalog/Model/Resource/Category/Tree.php
+
+ -
+ message: "#^Cannot call abstract method Mage_Core_Model_Resource_Abstract\\:\\:_construct\\(\\)\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/CatalogIndex/Model/Resource/Abstract.php
+
+ -
+ message: "#^Method Mage_CatalogIndex_Model_Resource_Attribute\\:\\:_construct\\(\\) should return Mage_Core_Model_Resource_Db_Abstract but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/CatalogIndex/Model/Resource/Attribute.php
+
+ -
+ message: "#^Method Mage_CatalogIndex_Model_Resource_Price\\:\\:_construct\\(\\) should return Mage_Core_Model_Resource_Db_Abstract but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/CatalogIndex/Model/Resource/Price.php
+
+ -
+ message: "#^Method Mage_CatalogInventory_Model_System_Config_Backend_Minsaleqty\\:\\:_afterLoad\\(\\) should return \\$this\\(Mage_CatalogInventory_Model_System_Config_Backend_Minsaleqty\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/CatalogInventory/Model/System/Config/Backend/Minsaleqty.php
+
+ -
+ message: "#^Method Mage_CatalogInventory_Model_System_Config_Backend_Minsaleqty\\:\\:_beforeSave\\(\\) should return \\$this\\(Mage_CatalogInventory_Model_System_Config_Backend_Minsaleqty\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/CatalogInventory/Model/System/Config/Backend/Minsaleqty.php
+
+ -
+ message: "#^Method Mage_CatalogInventory_Model_System_Config_Backend_Qtyincrements\\:\\:_beforeSave\\(\\) should return \\$this\\(Mage_CatalogInventory_Model_System_Config_Backend_Qtyincrements\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/CatalogInventory/Model/System/Config/Backend/Qtyincrements.php
+
+ -
+ message: "#^Method Mage_Checkout_Block_Onepage_Payment_Methods\\:\\:getMethodLabelAfterHtml\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Checkout/Block/Onepage/Payment/Methods.php
+
+ -
+ message: "#^Method Mage_Checkout_Model_Cart\\:\\:saveQuote\\(\\) should return Mage_Checkout_Model_Cart_Interface but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Checkout/Model/Cart.php
+
+ -
+ message: "#^Method Mage_Checkout_Model_Session\\:\\:unsetAll\\(\\) should return \\$this\\(Mage_Checkout_Model_Session\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Checkout/Model/Session.php
+
+ -
+ message: "#^Result of method Mage_ConfigurableSwatches_Helper_Mediafallback\\:\\:attachProductChildrenAttributeMapping\\(\\) \\(void\\) is used\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/ConfigurableSwatches/Helper/Mediafallback.php
+
+ -
+ message: "#^Method Mage_Core_Block_Flush\\:\\:_toHtml\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Core/Block/Flush.php
+
+ -
+ message: "#^Method Mage_Core_Block_Messages\\:\\:_prepareLayout\\(\\) should return \\$this\\(Mage_Core_Block_Messages\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Core/Block/Messages.php
+
+ -
+ message: "#^Result of method Mage_Core_Block_Abstract\\:\\:__construct\\(\\) \\(void\\) is used\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Core/Block/Store/Switcher.php
+
+ -
+ message: "#^Result of method Zend_Controller_Response_Abstract\\:\\:sendResponse\\(\\) \\(void\\) is used\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Core/Controller/Response/Http.php
+
+ -
+ message: "#^Undefined variable\\: \\$realModule$#"
+ count: 2
+ path: ../app/code/core/Mage/Core/Controller/Varien/Router/Standard.php
+
+ -
+ message: "#^Method Mage_Core_Model_Config_Data\\:\\:afterLoad\\(\\) should return \\$this\\(Mage_Core_Model_Config_Data\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Core/Model/Config/Data.php
+
+ -
+ message: "#^Cannot unset offset '@attributes' on \\(array\\{\\}\\|array\\{\\000\\*\\000_parent\\: Varien_Simplexml_Element\\}\\)\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Core/Model/Layout.php
+
+ -
+ message: "#^Method Mage_Core_Model_Resource_Design\\:\\:_beforeSave\\(\\) should return \\$this\\(Mage_Core_Model_Resource_Design\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Core/Model/Resource/Design.php
+
+ -
+ message: "#^Function mageCoreErrorHandler\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Core/functions.php
+
+ -
+ message: "#^Function mageDebugBacktrace\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Core/functions.php
+
+ -
+ message: "#^Method Mage_Customer_Block_Address_Edit\\:\\:_prepareLayout\\(\\) should return \\$this\\(Mage_Customer_Block_Address_Edit\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Customer/Block/Address/Edit.php
+
+ -
+ message: "#^Call to an undefined method Mage_Customer_Model_Api2_Customer_Address\\:\\:_getDefaultAddressesInfo\\(\\)\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Customer/Model/Api2/Customer/Address.php
+
+ -
+ message: "#^Method Mage_Customer_Model_Api2_Customer_Rest_Customer_V1\\:\\:_retrieve\\(\\) should return array but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Customer/Model/Api2/Customer/Rest/Customer/V1.php
+
+ -
+ message: "#^Method Mage_Customer_Model_Customer\\:\\:printError\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Customer/Model/Customer.php
+
+ -
+ message: "#^Method Mage_Customer_Model_Customer_Attribute_Backend_Billing\\:\\:afterSave\\(\\) should return \\$this\\(Mage_Customer_Model_Customer_Attribute_Backend_Billing\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Customer/Model/Customer/Attribute/Backend/Billing.php
+
+ -
+ message: "#^Method Mage_Customer_Model_Customer_Attribute_Backend_Billing\\:\\:beforeSave\\(\\) should return \\$this\\(Mage_Customer_Model_Customer_Attribute_Backend_Billing\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Customer/Model/Customer/Attribute/Backend/Billing.php
+
+ -
+ message: "#^Method Mage_Customer_Model_Customer_Attribute_Backend_Password\\:\\:beforeSave\\(\\) should return \\$this\\(Mage_Customer_Model_Customer_Attribute_Backend_Password\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Customer/Model/Customer/Attribute/Backend/Password.php
+
+ -
+ message: "#^Method Mage_Customer_Model_Customer_Attribute_Backend_Shipping\\:\\:afterSave\\(\\) should return \\$this\\(Mage_Customer_Model_Customer_Attribute_Backend_Shipping\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Customer/Model/Customer/Attribute/Backend/Shipping.php
+
+ -
+ message: "#^Method Mage_Customer_Model_Customer_Attribute_Backend_Shipping\\:\\:beforeSave\\(\\) should return \\$this\\(Mage_Customer_Model_Customer_Attribute_Backend_Shipping\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Customer/Model/Customer/Attribute/Backend/Shipping.php
+
+ -
+ message: "#^Method Mage_Customer_AccountController\\:\\:postDispatch\\(\\) should return \\$this\\(Mage_Customer_AccountController\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Customer/controllers/AccountController.php
+
+ -
+ message: "#^Method Mage_Customer_AccountController\\:\\:preDispatch\\(\\) should return \\$this\\(Mage_Customer_AccountController\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Customer/controllers/AccountController.php
+
+ -
+ message: "#^Method Mage_Customer_AddressController\\:\\:preDispatch\\(\\) should return \\$this\\(Mage_Customer_AddressController\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Customer/controllers/AddressController.php
+
+ -
+ message: "#^Method Mage_Dataflow_Model_Batch\\:\\:_afterDelete\\(\\) should return \\$this\\(Mage_Dataflow_Model_Batch\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Dataflow/Model/Batch.php
+
+ -
+ message: "#^Method Mage_Dataflow_Model_Batch\\:\\:_beforeSave\\(\\) should return \\$this\\(Mage_Dataflow_Model_Batch\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Dataflow/Model/Batch.php
+
+ -
+ message: "#^Call to an undefined method Mage_Dataflow_Model_Convert_Action_Abstract\\:\\:addException\\(\\)\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Dataflow/Model/Convert/Action/Abstract.php
+
+ -
+ message: "#^Call to an undefined method Mage_Dataflow_Model_Convert_Action_Abstract\\:\\:getClassNameByType\\(\\)\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Dataflow/Model/Convert/Action/Abstract.php
+
+ -
+ message: "#^Undefined variable\\: \\$action$#"
+ count: 1
+ path: ../app/code/core/Mage/Dataflow/Model/Convert/Action/Abstract.php
+
+ -
+ message: "#^Undefined variable\\: \\$profile$#"
+ count: 1
+ path: ../app/code/core/Mage/Dataflow/Model/Convert/Profile/Abstract.php
+
+ -
+ message: "#^Access to constant FATAL on an unknown class Mage_Dataflow_Model_Convert_Exceptin\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Dataflow/Model/Convert/Validator/Dryrun.php
+
+ -
+ message: "#^Method Mage_Dataflow_Model_Profile\\:\\:_afterLoad\\(\\) should return \\$this\\(Mage_Dataflow_Model_Profile\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Dataflow/Model/Profile.php
+
+ -
+ message: "#^Method Mage_Dataflow_Model_Profile\\:\\:_afterSave\\(\\) should return \\$this\\(Mage_Dataflow_Model_Profile\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Dataflow/Model/Profile.php
+
+ -
+ message: "#^Method Mage_Dataflow_Model_Profile\\:\\:_beforeSave\\(\\) should return \\$this\\(Mage_Dataflow_Model_Profile\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Dataflow/Model/Profile.php
+
+ -
+ message: "#^Method Mage_Dataflow_Model_Resource_Profile\\:\\:_beforeSave\\(\\) should return \\$this\\(Mage_Dataflow_Model_Resource_Profile\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Dataflow/Model/Resource/Profile.php
+
+ -
+ message: "#^Method Mage_Downloadable_Block_Adminhtml_Catalog_Product_Edit_Tab_Downloadable_Links\\:\\:_prepareLayout\\(\\) should return Mage_Core_Block_Abstract but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/Links.php
+
+ -
+ message: "#^Method Mage_Downloadable_Block_Adminhtml_Catalog_Product_Edit_Tab_Downloadable_Samples\\:\\:_prepareLayout\\(\\) should return Mage_Core_Block_Abstract but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/Samples.php
+
+ -
+ message: "#^Method Mage_Downloadable_Model_Product_Type\\:\\:beforeSave\\(\\) should return Mage_Catalog_Model_Product_Type_Abstract but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Downloadable/Model/Product/Type.php
+
+ -
+ message: "#^Method Mage_Downloadable_CustomerController\\:\\:preDispatch\\(\\) should return \\$this\\(Mage_Downloadable_CustomerController\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Downloadable/controllers/CustomerController.php
+
+ -
+ message: "#^Method Mage_Downloadable_FileController\\:\\:preDispatch\\(\\) should return \\$this\\(Mage_Downloadable_FileController\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Downloadable/controllers/FileController.php
+
+ -
+ message: "#^Method Mage_Downloadable_Product_EditController\\:\\:preDispatch\\(\\) should return Mage_Adminhtml_Controller_Action but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Downloadable/controllers/Product/EditController.php
+
+ -
+ message: "#^Access to an undefined property Mage_Eav_Model_Convert_Adapter_Grid\\:\\:\\$_entityType\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Eav/Model/Convert/Adapter/Grid.php
+
+ -
+ message: "#^Method Mage_GiftMessage_Model_Entity_Attribute_Backend_Boolean_Config\\:\\:afterLoad\\(\\) should return \\$this\\(Mage_GiftMessage_Model_Entity_Attribute_Backend_Boolean_Config\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/GiftMessage/Model/Entity/Attribute/Backend/Boolean/Config.php
+
+ -
+ message: "#^Method Mage_GiftMessage_Model_Entity_Attribute_Backend_Boolean_Config\\:\\:beforeSave\\(\\) should return \\$this\\(Mage_GiftMessage_Model_Entity_Attribute_Backend_Boolean_Config\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/GiftMessage/Model/Entity/Attribute/Backend/Boolean/Config.php
+
+ -
+ message: "#^Call to an undefined method Mage_GiftMessage_IndexController\\:\\:_getMappedType\\(\\)\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/GiftMessage/controllers/IndexController.php
+
+ -
+ message: "#^Method Mage_Index_Block_Adminhtml_Process_Edit\\:\\:getHeaderText\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Index/Block/Adminhtml/Process/Edit.php
+
+ -
+ message: "#^Method Mage_Index_Model_Resource_Setup\\:\\:_syncIndexes\\(\\) should return \\$this\\(Mage_Index_Model_Resource_Setup\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Index/Model/Resource/Setup.php
+
+ -
+ message: "#^Result of method Mage_Core_Controller_Varien_Action\\:\\:preDispatch\\(\\) \\(void\\) is used\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Install/controllers/IndexController.php
+
+ -
+ message: "#^Result of method Mage_Core_Controller_Varien_Action\\:\\:preDispatch\\(\\) \\(void\\) is used\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Install/controllers/WizardController.php
+
+ -
+ message: "#^Method Mage_Newsletter_ManageController\\:\\:preDispatch\\(\\) should return \\$this\\(Mage_Newsletter_ManageController\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Newsletter/controllers/ManageController.php
+
+ -
+ message: "#^Method Mage_Newsletter_ManageController\\:\\:saveAction\\(\\) should return Mage_Newsletter_ManageController but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Newsletter/controllers/ManageController.php
+
+ -
+ message: "#^Method Mage_Oauth_Customer_TokenController\\:\\:preDispatch\\(\\) should return \\$this\\(Mage_Oauth_Customer_TokenController\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Oauth/controllers/Customer/TokenController.php
+
+ -
+ message: "#^Method Mage_Payment_Block_Catalog_Product_View_Profile\\:\\:getDateHtml\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Payment/Block/Catalog/Product/View/Profile.php
+
+ -
+ message: "#^Method Mage_Payment_Model_Method_Cc\\:\\:_isPlaceOrder\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Payment/Model/Method/Cc.php
+
+ -
+ message: "#^Access to an undefined property Mage_Paypal_Controller_Express_Abstract\\:\\:\\$_checkoutType\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Paypal/Controller/Express/Abstract.php
+
+ -
+ message: "#^Access to an undefined property Mage_Paypal_Controller_Express_Abstract\\:\\:\\$_configMethod\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Paypal/Controller/Express/Abstract.php
+
+ -
+ message: "#^Access to an undefined property Mage_Paypal_Controller_Express_Abstract\\:\\:\\$_configType\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Paypal/Controller/Express/Abstract.php
+
+ -
+ message: "#^Method Mage_Paypal_Model_Api_Nvp\\:\\:_filterBillingAgreementStatus\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Paypal/Model/Api/Nvp.php
+
+ -
+ message: "#^Method Mage_Paypal_Model_Api_Nvp\\:\\:_filterPeriodUnit\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Paypal/Model/Api/Nvp.php
+
+ -
+ message: "#^Method Mage_Paypal_Model_Hostedpro\\:\\:initialize\\(\\) should return \\$this\\(Mage_Paypal_Model_Hostedpro\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Paypal/Model/Hostedpro.php
+
+ -
+ message: "#^Method Mage_Paypal_Model_Observer\\:\\:fetchReports\\(\\) should return \\$this\\(Mage_Paypal_Model_Observer\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Paypal/Model/Observer.php
+
+ -
+ message: "#^Method Mage_Paypal_Model_Payflowlink\\:\\:_getTrxTokenType\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Paypal/Model/Payflowlink.php
+
+ -
+ message: "#^Method Mage_Paypal_Model_Payflowlink\\:\\:initialize\\(\\) should return \\$this\\(Mage_Paypal_Model_Payflowlink\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Paypal/Model/Payflowlink.php
+
+ -
+ message: "#^Method Mage_Paypal_Model_Payflowpro\\:\\:getConfigPaymentAction\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Paypal/Model/Payflowpro.php
+
+ -
+ message: "#^Method Mage_Paypal_Model_Standard\\:\\:initialize\\(\\) should return \\$this\\(Mage_Paypal_Model_Standard\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Paypal/Model/Standard.php
+
+ -
+ message: "#^Method Mage_Paypal_Model_System_Config_Backend_MerchantCountry\\:\\:_afterLoad\\(\\) should return \\$this\\(Mage_Paypal_Model_System_Config_Backend_MerchantCountry\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Paypal/Model/System/Config/Backend/MerchantCountry.php
+
+ -
+ message: "#^Method Mage_Poll_Model_Resource_Poll\\:\\:_afterSave\\(\\) should return \\$this\\(Mage_Poll_Model_Resource_Poll\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Poll/Model/Resource/Poll.php
+
+ -
+ message: "#^Method Mage_ProductAlert_UnsubscribeController\\:\\:preDispatch\\(\\) should return \\$this\\(Mage_ProductAlert_UnsubscribeController\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/ProductAlert/controllers/UnsubscribeController.php
+
+ -
+ message: "#^Call to an undefined method Mage_Reports_Model_Resource_Review_Collection\\:\\:_joinFields\\(\\)\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Reports/Model/Resource/Review/Collection.php
+
+ -
+ message: "#^Call to an undefined static method Mage_Review_Model_Resource_Review_Collection\\:\\:resetSelect\\(\\)\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Reports/Model/Resource/Review/Collection.php
+
+ -
+ message: "#^Method Mage_Review_CustomerController\\:\\:preDispatch\\(\\) should return \\$this\\(Mage_Review_CustomerController\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Review/controllers/CustomerController.php
+
+ -
+ message: "#^Method Mage_Rss_Model_System_Config_Backend_Links\\:\\:_afterSave\\(\\) should return \\$this\\(Mage_Rss_Model_System_Config_Backend_Links\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Rss/Model/System/Config/Backend/Links.php
+
+ -
+ message: "#^Method Mage_Adminhtml_Block_Sales_Recurring_Profile_View_Items\\:\\:_beforeToHtml\\(\\) should return \\$this\\(Mage_Adminhtml_Block_Sales_Recurring_Profile_View_Items\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/Block/Adminhtml/Recurring/Profile/View/Items.php
+
+ -
+ message: "#^Method Mage_Sales_Model_Billing_Agreement\\:\\:getStatusLabel\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/Model/Billing/Agreement.php
+
+ -
+ message: "#^Method Mage_Sales_Model_Entity_Order_Attribute_Backend_Shipping\\:\\:afterSave\\(\\) should return \\$this\\(Mage_Sales_Model_Entity_Order_Attribute_Backend_Shipping\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/Model/Entity/Order/Attribute/Backend/Shipping.php
+
+ -
+ message: "#^Method Mage_Sales_Model_Entity_Order_Attribute_Backend_Shipping\\:\\:beforeSave\\(\\) should return \\$this\\(Mage_Sales_Model_Entity_Order_Attribute_Backend_Shipping\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/Model/Entity/Order/Attribute/Backend/Shipping.php
+
+ -
+ message: "#^Method Mage_Sales_Model_Quote_Item\\:\\:save\\(\\) should return \\$this\\(Mage_Sales_Model_Quote_Item\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/Model/Quote/Item.php
+
+ -
+ message: "#^Method Mage_Sales_Model_Recurring_Profile\\:\\:_getItem\\(\\) should return Mage_Sales_Model_Order_Item but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/Model/Recurring/Profile.php
+
+ -
+ message: "#^Method Mage_Sales_Model_Resource_Order_Attribute_Backend_Billing\\:\\:afterSave\\(\\) should return \\$this\\(Mage_Sales_Model_Resource_Order_Attribute_Backend_Billing\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/Model/Resource/Order/Attribute/Backend/Billing.php
+
+ -
+ message: "#^Method Mage_Sales_Model_Resource_Order_Attribute_Backend_Billing\\:\\:beforeSave\\(\\) should return \\$this\\(Mage_Sales_Model_Resource_Order_Attribute_Backend_Billing\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/Model/Resource/Order/Attribute/Backend/Billing.php
+
+ -
+ message: "#^Method Mage_Sales_Model_Resource_Order_Attribute_Backend_Shipping\\:\\:afterSave\\(\\) should return \\$this\\(Mage_Sales_Model_Resource_Order_Attribute_Backend_Shipping\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/Model/Resource/Order/Attribute/Backend/Shipping.php
+
+ -
+ message: "#^Method Mage_Sales_Model_Resource_Order_Attribute_Backend_Shipping\\:\\:beforeSave\\(\\) should return \\$this\\(Mage_Sales_Model_Resource_Order_Attribute_Backend_Shipping\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/Model/Resource/Order/Attribute/Backend/Shipping.php
+
+ -
+ message: "#^Method Mage_Sales_Model_Resource_Order_Invoice_Collection\\:\\:_afterLoad\\(\\) should return \\$this\\(Mage_Sales_Model_Resource_Order_Invoice_Collection\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/Model/Resource/Order/Invoice/Collection.php
+
+ -
+ message: "#^Access to an undefined property Mage_Sales_Model_Resource_Sale_Collection\\:\\:\\$_orderStateValue\\.$#"
+ count: 2
+ path: ../app/code/core/Mage/Sales/Model/Resource/Sale/Collection.php
+
+ -
+ message: "#^Method Mage_Sales_Model_Service_Order\\:\\:_canInvoiceItem\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/Model/Service/Order.php
+
+ -
+ message: "#^Method Mage_Sales_Model_Service_Order\\:\\:_canRefundItem\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/Model/Service/Order.php
+
+ -
+ message: "#^Method Mage_Sales_Model_Service_Order\\:\\:_canShipItem\\(\\) should return bool but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/Model/Service/Order.php
+
+ -
+ message: "#^Method Mage_Sales_Billing_AgreementController\\:\\:preDispatch\\(\\) should return \\$this\\(Mage_Sales_Billing_AgreementController\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/controllers/Billing/AgreementController.php
+
+ -
+ message: "#^Method Mage_Sales_OrderController\\:\\:preDispatch\\(\\) should return \\$this\\(Mage_Sales_OrderController\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/controllers/OrderController.php
+
+ -
+ message: "#^Method Mage_Sales_Recurring_ProfileController\\:\\:preDispatch\\(\\) should return \\$this\\(Mage_Sales_Recurring_ProfileController\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Sales/controllers/Recurring/ProfileController.php
+
+ -
+ message: "#^Method Mage_SalesRule_Model_Observer\\:\\:sales_order_afterPlace\\(\\) should return Mage_SalesRule_Model_Observer but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/SalesRule/Model/Observer.php
+
+ -
+ message: "#^Method Mage_SalesRule_Model_Resource_Report_Collection\\:\\:_applyRulesFilter\\(\\) should return \\$this\\(Mage_SalesRule_Model_Resource_Report_Collection\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/SalesRule/Model/Resource/Report/Collection.php
+
+ -
+ message: "#^Access to an undefined property Mage_Tag_Model_Entity_Customer_Collection\\:\\:\\$_read\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Tag/Model/Entity/Customer/Collection.php
+
+ -
+ message: "#^Method Mage_Tag_Model_Resource_Tag\\:\\:loadByName\\(\\) should return array\\|false but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Tag/Model/Resource/Tag.php
+
+ -
+ message: "#^Call to an undefined static method Mage_Core_Model_Config_Data\\:\\:afterSave\\(\\)\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Tax/Model/Config/Price/Include.php
+
+ -
+ message: "#^Method Mage_Widget_Block_Adminhtml_Widget_Form\\:\\:_prepareForm\\(\\) should return \\$this\\(Mage_Widget_Block_Adminhtml_Widget_Form\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Widget/Block/Adminhtml/Widget/Form.php
+
+ -
+ message: "#^Method Mage_Wishlist_Block_Customer_Wishlist_Item_Column\\:\\:_beforeChildToHtml\\(\\) should return string but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Wishlist/Block/Customer/Wishlist/Item/Column.php
+
+ -
+ message: "#^Method Mage_Wishlist_Model_Item\\:\\:save\\(\\) should return \\$this\\(Mage_Wishlist_Model_Item\\) but return statement is missing\\.$#"
+ count: 1
+ path: ../app/code/core/Mage/Wishlist/Model/Item.php
+
diff --git a/.github/phpstan.neon b/.github/phpstan.neon
new file mode 100644
index 00000000000..781ce0d9a0f
--- /dev/null
+++ b/.github/phpstan.neon
@@ -0,0 +1,103 @@
+includes:
+ - ../vendor/macopedia/phpstan-magento1/extension.neon
+ - phpstan-baseline.neon
+parameters:
+ magentoRootPath: %currentWorkingDirectory%
+ paths:
+ #lets start small with just few modules
+ - %currentWorkingDirectory%/app/code/core/Mage/Admin
+ - %currentWorkingDirectory%/app/code/core/Mage/Adminhtml
+ - %currentWorkingDirectory%/app/code/core/Mage/AdminNotification
+ - %currentWorkingDirectory%/app/code/core/Mage/Api
+ - %currentWorkingDirectory%/app/code/core/Mage/Api2
+ - %currentWorkingDirectory%/app/code/core/Mage/Authorizenet
+ - %currentWorkingDirectory%/app/code/core/Mage/Backup
+ - %currentWorkingDirectory%/app/code/core/Mage/Bundle
+ - %currentWorkingDirectory%/app/code/core/Mage/Captcha
+ - %currentWorkingDirectory%/app/code/core/Mage/Catalog
+ - %currentWorkingDirectory%/app/code/core/Mage/CatalogIndex
+ - %currentWorkingDirectory%/app/code/core/Mage/CatalogInventory
+ - %currentWorkingDirectory%/app/code/core/Mage/CatalogRule
+ - %currentWorkingDirectory%/app/code/core/Mage/CatalogSearch
+# - %currentWorkingDirectory%/app/code/core/Mage/Centinel
+ - %currentWorkingDirectory%/app/code/core/Mage/Checkout
+ - %currentWorkingDirectory%/app/code/core/Mage/Cms
+ - %currentWorkingDirectory%/app/code/core/Mage/ConfigurableSwatches
+ - %currentWorkingDirectory%/app/code/core/Mage/Contacts
+ - %currentWorkingDirectory%/app/code/core/Mage/Core
+ - %currentWorkingDirectory%/app/code/core/Mage/Cron
+ - %currentWorkingDirectory%/app/code/core/Mage/CurrencySymbol
+ - %currentWorkingDirectory%/app/code/core/Mage/Customer
+ - %currentWorkingDirectory%/app/code/core/Mage/Dataflow
+ - %currentWorkingDirectory%/app/code/core/Mage/Directory
+ - %currentWorkingDirectory%/app/code/core/Mage/Downloadable
+ - %currentWorkingDirectory%/app/code/core/Mage/Eav
+ - %currentWorkingDirectory%/app/code/core/Mage/GiftMessage
+ - %currentWorkingDirectory%/app/code/core/Mage/GoogleAnalytics
+ - %currentWorkingDirectory%/app/code/core/Mage/GoogleCheckout
+ - %currentWorkingDirectory%/app/code/core/Mage/ImportExport
+ - %currentWorkingDirectory%/app/code/core/Mage/Index
+ - %currentWorkingDirectory%/app/code/core/Mage/Install
+ - %currentWorkingDirectory%/app/code/core/Mage/Log
+ - %currentWorkingDirectory%/app/code/core/Mage/Media
+ - %currentWorkingDirectory%/app/code/core/Mage/Newsletter
+ - %currentWorkingDirectory%/app/code/core/Mage/Oauth
+ - %currentWorkingDirectory%/app/code/core/Mage/Page
+ - %currentWorkingDirectory%/app/code/core/Mage/PageCache
+ - %currentWorkingDirectory%/app/code/core/Mage/Paygate
+ - %currentWorkingDirectory%/app/code/core/Mage/Payment
+ - %currentWorkingDirectory%/app/code/core/Mage/Paypal
+# - %currentWorkingDirectory%/app/code/core/Mage/PaypalUk
+ - %currentWorkingDirectory%/app/code/core/Mage/Persistent
+ - %currentWorkingDirectory%/app/code/core/Mage/Poll
+ - %currentWorkingDirectory%/app/code/core/Mage/ProductAlert
+ - %currentWorkingDirectory%/app/code/core/Mage/Rating
+ - %currentWorkingDirectory%/app/code/core/Mage/Reports
+ - %currentWorkingDirectory%/app/code/core/Mage/Review
+ - %currentWorkingDirectory%/app/code/core/Mage/Rss
+ - %currentWorkingDirectory%/app/code/core/Mage/Rule
+ - %currentWorkingDirectory%/app/code/core/Mage/Sales
+ - %currentWorkingDirectory%/app/code/core/Mage/SalesRule
+ - %currentWorkingDirectory%/app/code/core/Mage/Sendfriend
+ - %currentWorkingDirectory%/app/code/core/Mage/Shipping
+ - %currentWorkingDirectory%/app/code/core/Mage/Sitemap
+ - %currentWorkingDirectory%/app/code/core/Mage/Tag
+ - %currentWorkingDirectory%/app/code/core/Mage/Tax
+ - %currentWorkingDirectory%/app/code/core/Mage/Uploader
+# - %currentWorkingDirectory%/app/code/core/Mage/Usa
+ - %currentWorkingDirectory%/app/code/core/Mage/Widget
+# - %currentWorkingDirectory%/app/code/core/Mage/Weee
+ - %currentWorkingDirectory%/app/code/core/Mage/Wishlist
+ excludePaths:
+ #incompatible interfaces
+ - */app/code/core/Mage/Admin/Model/Acl/Assert/Ip.php
+ - */app/code/core/Mage/Admin/Model/Acl/Assert/Time.php
+ - */app/code/core/Mage/Api/Model/Acl/Assert/Ip.php
+ - */app/code/core/Mage/Api/Model/Acl/Assert/Time.php
+ - */app/code/core/Mage/Adminhtml/Block/Widget/Grid/Block.php
+ - */app/code/core/Mage/Core/Model/Mysql4/Design/Theme/Collection.php
+ # deprecated _getHelper()
+ - */app/code/core/Mage/Adminhtml/Controller/Rss/Abstract.php
+ - */app/code/core/Mage/Adminhtml/controllers/Rss/OrderController.php
+ - */app/code/core/Mage/Adminhtml/controllers/Rss/CatalogController.php
+
+ # contains 1 abstract method and must therefore be declared abstract or implement the remaining methods
+ - */app/code/core/Mage/Dataflow/Model/Session/Adapter/Http.php
+ - */app/code/core/Mage/Dataflow/Model/Convert/Iterator/Http.php
+ - */app/code/core/Mage/Dataflow/Model/Convert/Iterator/File/Csv.php
+
+ # Cannot declare class Varien_Date, because the name is already in use
+ - */app/code/core/Mage/Catalog/Model/Product/Option/Type/Date.php
+
+ # Class phpseclib\Net\SSH2 not found.
+ - */Paypal/Model/Report/Settlement.php
+
+ # Class backup/db was not found while trying to analyse it
+ - */Adminhtml/controllers/System/BackupController.php
+
+ # Dataflow/Model/Convert/Iterator.php
+ - */Dataflow/Model/Convert/Iterator.php
+
+ level: 0
+# universalObjectCratesClasses:
+# - Varien_Object
diff --git a/.github/phpstan_experimental_level.neon b/.github/phpstan_experimental_level.neon
new file mode 100644
index 00000000000..bddd0686c3d
--- /dev/null
+++ b/.github/phpstan_experimental_level.neon
@@ -0,0 +1,4 @@
+includes:
+ - ./phpstan.neon
+parameters:
+ level: 1
diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml
new file mode 100644
index 00000000000..15ab1c6ffbd
--- /dev/null
+++ b/.github/workflows/sonar.yml
@@ -0,0 +1,58 @@
+name: OpenMage LTS - Sonar - Full Analyses
+
+on:
+ push:
+ pull_request:
+ types: [opened, synchronize, reopened]
+
+
+
+jobs:
+ unit:
+ name: Unit Tests on ${{ matrix.php-versions }}
+ runs-on: ${{ matrix.operating-system }}
+ strategy:
+ max-parallel: 5
+ matrix:
+ operating-system: [ubuntu-latest]
+ php-versions: ['7.4', '8.1']
+ steps:
+ - uses: actions/checkout@v1
+ - name: Setup PHP
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php-versions }}
+ extensions: mbstring
+ tools: composer, pecl, phpcs, phpstan, phpunit:9.5
+ ini-values-csv: pcov.directory=api, post_max_size=256M, short_open_tag=On #optional, setup php.ini configuration
+ coverage: pcov #optional, setup coverage driver
+ env:
+ COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ - name: Prepare
+ run: |
+ php -v
+ composer --version
+ composer install --dev -n --prefer-source --ignore-platform-req=php
+ - name: Run Unit Tests
+ run: phpunit --configuration ./dev/phpunit.xml.dist --testsuite=Unit;
+ - name: prepare SonarCloud Scan Data
+ continue-on-error: true
+ if: ${{ matrix.php-versions == '8.1' }}
+ run: |
+ echo $PWD
+ ls -la
+ head ./dev/tests/clover.xml
+ sed -i 's@'$GITHUB_WORKSPACE'/@/github/workspace/@g' ./dev/tests/junit.xml
+ sed -i 's@'$GITHUB_WORKSPACE'/@/github/workspace/@g' ./dev/tests/clover.xml
+ head ./dev/tests/clover.xml
+ ls -la
+ - name: SonarCloud Scan
+ uses: SonarSource/sonarcloud-github-action@master
+ continue-on-error: true
+ if: ${{ matrix.php-versions == '8.1' }} && SONAR_TOKEN
+ with:
+ args: >
+ -Dproject.settings=dev/sonar-project.properties
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
diff --git a/.github/workflows/static-code-analyses.yml b/.github/workflows/static-code-analyses.yml
index 7ad8b8ed861..986127e794b 100644
--- a/.github/workflows/static-code-analyses.yml
+++ b/.github/workflows/static-code-analyses.yml
@@ -30,6 +30,28 @@ jobs:
- name: Check .phtml files
run: '! find app/design -type f -name "*.phtml" -exec php -d error_reporting=32767 -l {} \; 2>&1 1> /dev/null | grep "^"'
+ php_stan:
+ name: PHP Stan ${{ matrix.directories }} - ${{ matrix.config_files }}
+ runs-on: [ubuntu-latest]
+ strategy:
+ max-parallel: 2
+ matrix:
+ directories: [
+ '',
+ #'lib/',
+ ]
+ config_files: [
+ '.github/phpstan.neon',
+ ]
+ steps:
+ - uses: actions/checkout@v2
+ - name: Install dependencies
+ run: composer install --prefer-dist --no-progress --no-suggest --ignore-platform-reqs
+ - name: ensure existance of ./app/code/local
+ run: mkdir -p app/code/local
+ - name: PHPStan Static Analysis
+ run: php vendor/bin/phpstan.phar analyze -c ${{ matrix.config_files }} ${{ matrix.directories }}
+
php_syntax_experimental:
name: PHP Syntax ${{ matrix.php-versions }} - experimental
runs-on: ${{ matrix.operating-system }}
@@ -39,7 +61,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ubuntu-latest]
- php-versions: ['8.0']
+ php-versions: ['8.0','8.1']
steps:
- uses: actions/checkout@v1
- name: Setup PHP
@@ -59,3 +81,30 @@ jobs:
continue-on-error: true
run: '! find app/design -type f -name "*.phtml" -exec php -d error_reporting=32767 -l {} \; 2>&1 1> /dev/null | grep "^"'
+
+ php_stan_experimental:
+ name: PHP Stan ${{ matrix.directories }} - ${{ matrix.config_files }} - experimental
+ runs-on: [ubuntu-latest]
+ needs: php_stan
+ strategy:
+ max-parallel: 1
+ fail-fast: false
+ matrix:
+ directories: [
+ ''
+ ]
+ config_files: [
+ '.github/phpstan_experimental_level.neon',
+ ]
+ include:
+ - directories: 'lib/'
+ config_files: '.github/phpstan.neon'
+ steps:
+ - uses: actions/checkout@v2
+ - name: Install dependencies
+ run: composer install --prefer-dist --no-progress --no-suggest --ignore-platform-reqs
+ - name: ensure existance of ./app/code/local
+ run: mkdir -p app/code/local
+ - name: PHPStan Static Analysis
+ continue-on-error: true
+ run: php vendor/bin/phpstan.phar analyze --error-format=raw -c ${{ matrix.config_files }} ${{ matrix.directories }}
diff --git a/.gitignore b/.gitignore
index 6050e32c552..45f9d4ef72a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,13 @@
/app/etc/local.xml
/media/catalog
/media/captcha
+/media/css
+/media/css_secure
+/media/email/logo
+/media/favicon
+/media/js
+/media/sales/store/logo
+/media/sales/store/logo_html
+/media/wysiwyg
/dev/tests/functional/generated
/dev/tests/functional/vendor
diff --git a/.gitpod.yml b/.gitpod.yml
new file mode 100644
index 00000000000..6cd0417492e
--- /dev/null
+++ b/.gitpod.yml
@@ -0,0 +1,22 @@
+# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
+tasks:
+ - init: echo 'init script' # runs during prebuild
+ command: echo 'start script'
+ - name: Install OpenMage
+ init: |
+ BASE_URL="$(echo "$GITPOD_WORKSPACE_URL" | sed s~https://~https://8000-~)"
+ HOST_PORT=8000 BASE_URL=$BASE_URL bash dev/gitpod/install.sh
+ command: docker ps
+ openMode: tab-after
+ - name: prepare git
+ init: git config core.fileMode false
+
+vscode:
+ extensions:
+ - bmewburn.vscode-intelephense-client
+
+# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
+ports:
+ - port: 8000
+ visibility: public
+ onOpen: open-preview
diff --git a/README.md b/README.md
index b5fccbfcfe0..64289e5e601 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-
+
@@ -28,11 +28,9 @@ Note, the branches older than `1.9.4.x` and that were created before this strate
- MySQL 5.6+ (8.0+ recommended)
- (optional) Redis 5+ (6.x recommended, latest verified compatible 6.0.7 with 20.x)
-
- PHP 7.4 and 8.0 are supported
- Please be aware that although OpenMage is compatible that 1 or more extensions may not be
-
Installation on PHP 7.2.33 (7.2.x), MySQL 5.7.31-34 (5.7.x) Percona Server and Redis 6.x should work fine and confirmed by users.
If using php 7.2+ then mcrypt needs to be disabled in php.ini or pecl to fallback on mcryptcompat and phpseclib. mcrypt is deprecated from 7.2+ onwards.
@@ -40,16 +38,17 @@ If using php 7.2+ then mcrypt needs to be disabled in php.ini or pecl to fallbac
## Installation
### Using Composer
+
Download the latest archive and extract it, clone the repo, or add a composer dependency to your existing project like so:
-```
-composer require openmage/magento-lts":"^19.4.0"
+```bash
+composer require "openmage/magento-lts":"^19.4.0"
```
To get the latest changes use:
-```
-composer require openmage/magento-lts":"dev-main"
+```bash
+composer require "openmage/magento-lts":"dev-main"
```
Note: `dev-main` is just an alias for current `1.9.4.x` branch and may change
@@ -58,7 +57,7 @@ composer require openmage/magento-lts":"dev-main"
If you want to contribute to the project:
-```
+```bash
git init
git remote add origin https://github.com//magento-lts
git pull origin master
@@ -74,15 +73,33 @@ git add -A && git commit
Most important changes will be listed here, all other changes since `19.4.0` can be found in
[release](https://github.com/OpenMage/magento-lts/releases) notes.
-### Performance
-ToDo: Please add performance related changes as run-time cache, ...
+### Between Magento 1.9.4.5 and OpenMage 19.x
+
+Bug fixes and PHP 7.x and 8.0 compatibility.
+
+### Between OpenMage 19.x and 20.x
+
+Do not use 20.x.x if you need IE support.
+
+- removed IE conditional comments, IE styles, IE scripts and IE eot files #1073
+- removed frontend default themes (default, modern, iphone, german, french, blank, blue) #1600
+- fixed incorrect datetime in customer block (`$useTimezone` parameter) #1525
+- add redis as a valid option for `global/session_save` #1513
+- possibility to disable global search in backend #1532
+
+For full list of changes, you can [compare tags](https://github.com/OpenMage/magento-lts/compare/1.9.4.x...20.0).
### New Config Options
+
- `admin/design/use_legacy_theme`
+- `admin/global_search/enable`
- `admin/emails/admin_notification_email_template`
- `catalog/product_image/progressive_threshold`
+- `catalog/search/search_separator`
+- `newsletter/security/enable_form_key`
### New Events
+
- `adminhtml_block_widget_form_init_form_values_after`
- `adminhtml_block_widget_tabs_html_before`
- `adminhtml_sales_order_create_save_before`
@@ -101,12 +118,14 @@ There are some new or changed translations, if you want add them to your locale
- `app/locale/en_US/Sales_LTS.csv`
### Removed Modules
+
- `Mage_Compiler`
- `Mage_GoogleBase`
- `Mage_Xmlconnect`
- `Phoenix_Moneybookers`
## Development Environment with ddev
+
- Install [ddev](https://ddev.com/get-started/)
- Clone the repository as described in Installation -> Using Git
- Create a ddev config using ```$ ddev config``` the defaults should be good for you
@@ -155,190 +174,192 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
- helper('adminhtml')->__('We appreciate our merchants\' feedback, please take our survey to provide insight on the features you would like included in Magento. Remove this notification') ?>
-
-