From db207849fa07689b0484ea6eed888c003d60a5f7 Mon Sep 17 00:00:00 2001 From: Sven Reichel Date: Sun, 5 Jan 2025 16:38:07 +0100 Subject: [PATCH] Updated phpstan to v2.1 (#4430) * Updated phpstan to v2 * rector * update docs - see https://github.com/phpstan/phpdoc-parser/issues/256 * phpstan/phpmd * updated to phpstan v2.1 --- .phpstan.dist.baseline.neon | 5252 +++++++++++------ .../Customer/Online/Grid/Renderer/Ip.php | 2 +- .../Mage/Adminhtml/Block/Report/Wishlist.php | 2 +- .../Email/Template/Grid/Renderer/Type.php | 2 +- .../Block/Widget/Grid/Column/Renderer/Ip.php | 2 +- .../core/Mage/Adminhtml/Controller/Action.php | 4 +- .../Model/Customer/Renderer/Region.php | 2 +- .../System/Config/Backend/Admin/Observer.php | 2 +- .../Model/System/Config/Backend/File.php | 2 +- .../Adminhtml/controllers/AjaxController.php | 2 +- .../controllers/CustomerController.php | 2 +- .../Config/System/StorageController.php | 2 +- .../controllers/System/ConfigController.php | 2 +- .../controllers/Tax/RateController.php | 4 +- .../Mage/Api/Model/Server/Adapter/Soap.php | 2 +- .../Api/Model/Server/Handler/Abstract.php | 2 +- app/code/core/Mage/Api2/Model/Acl/Filter.php | 2 +- .../core/Mage/Catalog/Helper/Product/View.php | 2 +- .../Api2/Product/Image/Rest/Admin/V1.php | 2 +- .../Model/Api2/Product/Rest/Admin/V1.php | 2 +- .../Category/Attribute/Backend/Image.php | 2 +- .../Model/Product/Attribute/Media/Api.php | 4 +- .../Product/Attribute/Tierprice/Api/V2.php | 4 +- .../Model/Product/Option/Type/File.php | 6 +- .../Product/Attribute/Backend/Image.php | 2 +- .../Catalog/controllers/ProductController.php | 4 +- app/code/core/Mage/Cms/Controller/Router.php | 2 +- .../Mage/Cms/Model/Wysiwyg/Images/Storage.php | 2 +- .../Mage/ConfigurableSwatches/Helper/Data.php | 2 +- app/code/core/Mage/Core/Block/Abstract.php | 4 +- app/code/core/Mage/Core/Block/Profiler.php | 2 +- .../Mage/Core/Block/Text/Tag/Css/Admin.php | 2 +- .../core/Mage/Core/Block/Text/Tag/Debug.php | 2 +- .../Mage/Core/Controller/Front/Action.php | 6 +- .../Mage/Core/Controller/Request/Http.php | 6 +- .../Mage/Core/Controller/Response/Http.php | 2 +- .../Mage/Core/Controller/Varien/Action.php | 4 +- .../Mage/Core/Controller/Varien/Front.php | 4 +- .../Core/Controller/Varien/Router/Admin.php | 2 +- .../Controller/Varien/Router/Standard.php | 2 +- app/code/core/Mage/Core/Helper/Abstract.php | 4 +- app/code/core/Mage/Core/Helper/Data.php | 4 +- app/code/core/Mage/Core/Helper/Http.php | 6 +- app/code/core/Mage/Core/Helper/String.php | 2 +- app/code/core/Mage/Core/Model/App.php | 4 +- app/code/core/Mage/Core/Model/Config.php | 4 +- .../core/Mage/Core/Model/Config/Element.php | 2 +- .../core/Mage/Core/Model/Config/Options.php | 2 +- app/code/core/Mage/Core/Model/Date.php | 2 +- .../core/Mage/Core/Model/Design/Package.php | 10 +- app/code/core/Mage/Core/Model/Email/Queue.php | 2 +- .../Mage/Core/Model/File/Storage/Abstract.php | 2 +- app/code/core/Mage/Core/Model/Locale.php | 4 +- .../Mage/Core/Model/Resource/Abstract.php | 6 +- .../Core/Model/Resource/File/Storage/File.php | 10 +- .../Mage/Core/Model/Resource/Resource.php | 10 +- .../core/Mage/Core/Model/Resource/Session.php | 2 +- .../core/Mage/Core/Model/Session/Abstract.php | 4 +- .../Core/Model/Session/Abstract/Varien.php | 16 +- app/code/core/Mage/Core/Model/Store.php | 4 +- app/code/core/Mage/Core/Model/Translate.php | 2 +- app/code/core/Mage/Core/Model/Url.php | 2 +- app/code/core/Mage/Core/Model/Url/Rewrite.php | 6 +- .../Mage/Core/Model/Url/Rewrite/Request.php | 4 +- app/code/core/Mage/Core/functions.php | 8 +- .../Mage/Customer/Model/Address/Abstract.php | 4 +- app/code/core/Mage/Customer/Model/Group.php | 2 +- .../Dataflow/Model/Convert/Adapter/Http.php | 8 +- .../Dataflow/Model/Convert/Iterator/Http.php | 4 +- .../Model/Convert/Profile/Abstract.php | 2 +- .../Model/Convert/Profile/Collection.php | 2 +- app/code/core/Mage/Dataflow/Model/Profile.php | 4 +- .../Dataflow/Model/Session/Adapter/Http.php | 4 +- .../Model/Currency/Import/Abstract.php | 2 +- .../Currency/Import/Currencyconverterapi.php | 2 +- .../Model/Currency/Import/Fixerio.php | 2 +- .../Mage/Downloadable/Helper/Download.php | 2 +- .../Downloadable/Product/EditController.php | 2 +- .../controllers/DownloadController.php | 6 +- .../Mage/Eav/Model/Attribute/Data/File.php | 2 +- .../Mage/Eav/Model/Attribute/Data/Image.php | 2 +- .../Eav/Model/Entity/Collection/Abstract.php | 2 +- .../core/Mage/ImportExport/Model/Import.php | 2 +- .../Model/Import/Entity/Product.php | 2 +- .../Adminhtml/ImportController.php | 2 +- .../Mage/Install/Model/Installer/Console.php | 4 +- .../Install/controllers/WizardController.php | 2 +- app/code/core/Mage/Media/Model/File/Image.php | 2 +- app/code/core/Mage/Oauth/Model/Observer.php | 6 +- .../core/Mage/Page/Block/Template/Links.php | 2 +- app/code/core/Mage/Paypal/Model/Ipn.php | 2 +- .../Mage/Paypal/Model/Payflow/Request.php | 2 +- .../Mage/Paypal/Model/Report/Settlement.php | 2 +- .../Model/System/Config/Backend/Cert.php | 2 +- .../Mage/Paypal/controllers/IpnController.php | 2 +- .../Paypal/controllers/StandardController.php | 2 +- .../Model/Resource/Report/Abstract.php | 2 +- .../Mage/Sales/Model/Order/Pdf/Abstract.php | 2 +- .../Sales/controllers/DownloadController.php | 4 +- .../core/Mage/SalesRule/Model/Observer.php | 6 +- .../Mage/Shipping/Block/Tracking/Popup.php | 2 +- .../Mage/Shipping/Model/Carrier/Tablerate.php | 2 +- .../Model/Resource/Carrier/Tablerate.php | 2 +- .../Mage/Uploader/Model/Config/Abstract.php | 2 +- .../Carrier/Dhl/Label/Pdf/PageBuilder.php | 4 +- .../Mage/Usa/Model/Shipping/Carrier/Ups.php | 2 +- .../Wishlist/controllers/IndexController.php | 2 +- composer.json | 10 +- composer.lock | 32 +- lib/Mage/Archive/Abstract.php | 2 +- lib/Mage/Archive/Helper/File.php | 6 +- lib/Mage/Archive/Helper/File/Bz.php | 4 +- lib/Mage/Archive/Helper/File/Gz.php | 4 +- lib/Mage/Archive/Tar.php | 2 +- lib/Mage/Cache/Backend/File.php | 14 +- lib/Mage/DB/Mysqli.php | 2 +- lib/Mage/HTTP/Client/Socket.php | 6 +- lib/Mage/System/Dirs.php | 4 +- lib/Mage/System/Ftp.php | 30 +- lib/Varien/Db/Adapter/Mysqli.php | 2 +- lib/Varien/File/Uploader.php | 2 +- lib/Varien/Image/Adapter/Abstract.php | 2 +- lib/Varien/Image/Adapter/Gd2.php | 2 +- lib/Varien/Io/File.php | 44 +- lib/Varien/Io/Ftp.php | 22 +- lib/Varien/Simplexml/Config.php | 2 +- lib/Varien/Simplexml/Config/Cache/File.php | 4 +- 127 files changed, 3780 insertions(+), 2012 deletions(-) diff --git a/.phpstan.dist.baseline.neon b/.phpstan.dist.baseline.neon index 578d77ed06e..f1663f0ea35 100644 --- a/.phpstan.dist.baseline.neon +++ b/.phpstan.dist.baseline.neon @@ -1,8691 +1,10459 @@ parameters: ignoreErrors: - - message: "#^Call to an undefined method Mage_Core_Model_Abstract\\:\\:addError\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Core_Model_Abstract\:\:addError\(\)\.$#' + identifier: method.notFound count: 1 path: app/Mage.php - - message: "#^Right side of && is always false\\.$#" + message: '#^Right side of && is always false\.$#' + identifier: booleanAnd.rightAlwaysFalse count: 1 path: app/Mage.php - - message: "#^Comparison operation \"\\=\\=\" between \\(Varien_Simplexml_Element\\|null\\) and 1 results in an error\\.$#" + message: '#^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 - - message: "#^Cannot call method getClassName\\(\\) on SimpleXMLElement\\|false\\.$#" + message: '#^Cannot call method getClassName\(\) on SimpleXMLElement\|false\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Admin/Model/Resource/Acl.php - - message: "#^Parameter \\#1 \\$role of method Mage_Admin_Model_Resource_Roles\\:\\:_updateRoleUsersAcl\\(\\) expects Mage_Admin_Model_Roles, Mage_Core_Model_Abstract given\\.$#" + message: '#^Parameter \#1 \$role of method Mage_Admin_Model_Resource_Roles\:\:_updateRoleUsersAcl\(\) expects Mage_Admin_Model_Roles, Mage_Core_Model_Abstract given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Admin/Model/Resource/Roles.php - - message: "#^Call to an undefined method Mage_Admin_Model_Resource_Roles\\:\\:update\\(\\)\\.$#" + message: '#^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 - - message: "#^Comparison operation \"\\=\\=\" between \\(Varien_Simplexml_Element\\|null\\) and 1 results in an error\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Admin_Model_Resource_Rules\\:\\:update\\(\\)\\.$#" + message: '#^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 - - message: "#^If condition is always true\\.$#" + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue count: 1 path: app/code/core/Mage/Adminhtml/Block/Api/Tab/Rolesedit.php - - message: "#^Call to an undefined method Mage_Api_Model_Resource_Roles_User_Collection\\:\\:setUserFilter\\(\\)\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$collection of method Mage_Adminhtml_Block_Widget_Grid\\:\\:setCollection\\(\\) expects Varien_Data_Collection_Db, Varien_Data_Collection given\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$renderer of method Varien_Data_Form_Element_Abstract\\:\\:setRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of method Varien_Data_Form_Element_Abstract\:\:setRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Catalog/Category/Tab/Attributes.php - - message: "#^Cannot call method addAttributeToSelect\\(\\) on Mage_Core_Model_Resource_Db_Collection_Abstract\\|false\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$renderer of static method Varien_Data_Form\\:\\:setElementRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of static method Varien_Data_Form\:\:setElementRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Catalog/Form.php - - message: "#^Parameter \\#1 \\$renderer of static method Varien_Data_Form\\:\\:setFieldsetElementRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of static method Varien_Data_Form\:\:setFieldsetElementRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Catalog/Form.php - - message: "#^Parameter \\#1 \\$renderer of static method Varien_Data_Form\\:\\:setFieldsetRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of static method Varien_Data_Form\:\:setFieldsetRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Catalog/Form.php - - message: "#^Parameter \\#1 \\$attributeId of method Mage_Catalog_Model_Product_Type_Abstract\\:\\:getAttributeById\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#1 \$attributeId of method Mage_Catalog_Model_Product_Type_Abstract\:\:getAttributeById\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Catalog/Product/Created.php - - message: "#^Parameter \\#1 \\$renderer of method Varien_Data_Form_Element_Abstract\\:\\:setRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of method Varien_Data_Form_Element_Abstract\:\:setRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 4 path: app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Attributes.php - - message: "#^Parameter \\#1 \\$renderer of method Varien_Data_Form_Element_Abstract\\:\\:setRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of method Varien_Data_Form_Element_Abstract\:\:setRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Price.php - - message: "#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\\:\\:getAllOptions\\(\\) invoked with 2 parameters, 0 required\\.$#" + message: '#^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 - - message: "#^Method Mage_Catalog_Model_Product_Type_Configurable\\:\\:canUseAttribute\\(\\) invoked with 2 parameters, 1 required\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$renderer of method Varien_Data_Form_Element_Abstract\\:\\:setRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of method Varien_Data_Form_Element_Abstract\:\:setRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Catalog/Search/Edit/Form.php - - message: "#^Parameter \\#1 \\$renderer of method Varien_Data_Form_Element_Abstract\\:\\:setRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of method Varien_Data_Form_Element_Abstract\:\:setRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 3 path: app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/Account.php - - message: "#^Property Mage_Adminhtml_Block_Customer_Edit_Tab_View_Sales\\:\\:\\$_collection \\(Mage_Sales_Model_Entity_Sale_Collection\\) does not accept Varien_Data_Collection_Db\\.$#" + message: '#^Property Mage_Adminhtml_Block_Customer_Edit_Tab_View_Sales\:\:\$_collection \(Mage_Sales_Model_Entity_Sale_Collection\) does not accept Varien_Data_Collection_Db\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/View/Sales.php - - message: "#^Method Mage_Wishlist_Model_Resource_Item_Collection\\:\\:addDaysInWishlist\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Wishlist_Model_Resource_Item_Collection\:\:addDaysInWishlist\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/View/Wishlist.php - - message: "#^Access to an undefined property Mage_Adminhtml_Block_Notification_Window\\:\\:\\$_aclResourcePath\\.$#" + message: '#^Access to an undefined property Mage_Adminhtml_Block_Notification_Window\:\:\$_aclResourcePath\.$#' + identifier: property.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Notification/Window.php - - message: "#^Comparison operation \"\\=\\=\" between \\(Varien_Simplexml_Element\\|null\\) and 1 results in an error\\.$#" + message: '#^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 - - message: "#^Call to method getCollection\\(\\) on an unknown class Mage_Permissions_Model_Users\\.$#" + message: '#^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 - - message: "#^If condition is always true\\.$#" + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue count: 1 path: app/code/core/Mage/Adminhtml/Block/Permissions/Tab/Rolesedit.php - - message: "#^Call to an undefined method Mage_Admin_Model_Resource_Roles_User_Collection\\:\\:setUserFilter\\(\\)\\.$#" + message: '#^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 - - message: "#^Call to method getCollection\\(\\) on an unknown class Mage_Permissions_Model_Roles\\.$#" + message: '#^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 - - message: "#^Call to method getCollection\\(\\) on an unknown class Mage_Permissions_Model_Users\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$renderer of method Varien_Data_Form_Element_Abstract\\:\\:setRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of method Varien_Data_Form_Element_Abstract\:\:setRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Promo/Quote/Edit/Tab/Labels.php - - message: "#^Parameter \\#1 \\$renderer of method Varien_Data_Form_Element_Abstract\\:\\:setRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of method Varien_Data_Form_Element_Abstract\:\:setRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Promo/Quote/Edit/Tab/Main.php - - message: "#^Parameter \\#3 \\$refValues of method Mage_Adminhtml_Block_Widget_Form_Element_Dependence\\:\\:addFieldDependence\\(\\) expects array\\|string, int given\\.$#" + message: '#^Parameter \#3 \$refValues of method Mage_Adminhtml_Block_Widget_Form_Element_Dependence\:\:addFieldDependence\(\) expects array\|string, int given\.$#' + identifier: argument.type count: 3 path: app/code/core/Mage/Adminhtml/Block/Promo/Quote/Edit/Tab/Main.php - - message: "#^Parameter \\#1 \\$collection of method Mage_Adminhtml_Block_Widget_Grid\\:\\:setCollection\\(\\) expects Varien_Data_Collection_Db, Mage_Reports_Model_Resource_Report_Collection given\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$from of method Mage_Reports_Model_Resource_Report_Collection\\:\\:setInterval\\(\\) expects int, Zend_Date given\\.$#" + message: '#^Parameter \#1 \$from of method Mage_Reports_Model_Resource_Report_Collection\:\:setInterval\(\) expects int, Zend_Date given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Report/Grid.php - - message: "#^Parameter \\#2 \\$to of method Mage_Reports_Model_Resource_Report_Collection\\:\\:setInterval\\(\\) expects int, Zend_Date given\\.$#" + message: '#^Parameter \#2 \$to of method Mage_Reports_Model_Resource_Report_Collection\:\:setInterval\(\) expects int, Zend_Date given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Report/Grid.php - - message: "#^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\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$collection of method Mage_Adminhtml_Block_Widget_Grid\\:\\:setCollection\\(\\) expects Varien_Data_Collection_Db, Mage_Reports_Model_Grouped_Collection given\\.$#" + message: '#^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 - - message: "#^Parameter \\#2 \\$value of method Mage_Adminhtml_Block_Widget_Grid\\:\\:isColumnGrouped\\(\\) expects string\\|null, true given\\.$#" + message: '#^Parameter \#2 \$value of method Mage_Adminhtml_Block_Widget_Grid\:\:isColumnGrouped\(\) expects string\|null, true given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Report/Grid/Abstract.php - - message: "#^Property Mage_Adminhtml_Block_Report_Grid_Abstract\\:\\:\\$_columnGroupBy \\(string\\) in isset\\(\\) is not nullable\\.$#" + message: '#^Property Mage_Adminhtml_Block_Report_Grid_Abstract\:\:\$_columnGroupBy \(string\) in isset\(\) is not nullable\.$#' + identifier: isset.property count: 1 path: app/code/core/Mage/Adminhtml/Block/Report/Grid/Abstract.php - - message: "#^Parameter \\#1 \\$value of method Zend_Currency\\:\\:toCurrency\\(\\) expects float\\|int\\|null, string given\\.$#" + message: '#^Parameter \#1 \$value of method Zend_Currency\:\:toCurrency\(\) expects float\|int\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Report/Grid/Column/Renderer/Currency.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\\:\\:setStore\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:setStore\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Report/Product/Grid.php - - message: "#^Method Mage_Reports_Model_Totals\\:\\:countTotals\\(\\) invoked with 1 parameter, 3 required\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$grid of method Mage_Reports_Model_Totals\\:\\:countTotals\\(\\) expects Mage_Adminhtml_Block_Report_Grid, \\$this\\(Mage_Adminhtml_Block_Report_Product_Grid\\) given\\.$#" + message: '#^Parameter \#1 \$grid of method Mage_Reports_Model_Totals\:\:countTotals\(\) expects Mage_Adminhtml_Block_Report_Grid, \$this\(Mage_Adminhtml_Block_Report_Product_Grid\) given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Report/Product/Grid.php - - message: "#^Parameter \\#1 \\$collection of method Mage_Adminhtml_Block_Widget_Grid\\:\\:setCollection\\(\\) expects Varien_Data_Collection_Db, Varien_Data_Collection given\\.$#" + message: '#^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 - - message: "#^Parameter \\#2 \\$filter of method Mage_Reports_Model_Resource_Quote_Collection\\:\\:prepareForAbandonedReport\\(\\) expects string\\|null, array\\ given\\.$#" + message: '#^Parameter \#2 \$filter of method Mage_Reports_Model_Resource_Quote_Collection\:\:prepareForAbandonedReport\(\) expects string\|null, array\\|string\> given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Report/Shopcart/Abandoned/Grid.php - - message: "#^Parameter \\#1 \\$statusCode of method Mage_Tag_Model_Resource_Popular_Collection\\:\\:addStatusFilter\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#1 \$statusCode of method Mage_Tag_Model_Resource_Popular_Collection\:\:addStatusFilter\(\) expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Report/Tag/Popular/Grid.php - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Method Mage_Adminhtml_Block_Sales_Order_Create_Billing_Address\\:\\:getAddress\\(\\) should return Mage_Customer_Model_Address but returns Mage_Sales_Model_Quote_Address\\.$#" + message: '#^Method Mage_Adminhtml_Block_Sales_Order_Create_Billing_Address\:\:getAddress\(\) should return Mage_Customer_Model_Address but returns Mage_Sales_Model_Quote_Address\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Billing/Address.php - - message: "#^Parameter \\#1 \\$renderer of static method Varien_Data_Form\\:\\:setElementRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of static method Varien_Data_Form\:\:setElementRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Form/Abstract.php - - message: "#^Parameter \\#1 \\$renderer of static method Varien_Data_Form\\:\\:setFieldsetElementRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of static method Varien_Data_Form\:\:setFieldsetElementRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Form/Abstract.php - - message: "#^Parameter \\#1 \\$renderer of static method Varien_Data_Form\\:\\:setFieldsetRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of static method Varien_Data_Form\:\:setFieldsetRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Form/Abstract.php - - message: "#^Method Mage_Adminhtml_Block_Sales_Order_Create_Giftmessage_Form\\:\\:getEntity\\(\\) should return Varien_Object but returns Mage_Eav_Model_Entity_Abstract\\.$#" + message: '#^Method Mage_Adminhtml_Block_Sales_Order_Create_Giftmessage_Form\:\:getEntity\(\) should return Varien_Object but returns Mage_Eav_Model_Entity_Abstract\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Giftmessage/Form.php - - message: "#^Property Mage_Adminhtml_Block_Sales_Order_Create_Giftmessage_Form\\:\\:\\$_entity \\(Mage_Eav_Model_Entity_Abstract\\) does not accept Varien_Object\\.$#" + message: '#^Property Mage_Adminhtml_Block_Sales_Order_Create_Giftmessage_Form\:\:\$_entity \(Mage_Eav_Model_Entity_Abstract\) does not accept Varien_Object\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Giftmessage/Form.php - - message: "#^Call to method getIsOldCustomer\\(\\) on an unknown class Mage_Adminhtml_Model_Quote\\.$#" + message: '#^Call to method getIsOldCustomer\(\) on an unknown class Mage_Adminhtml_Model_Quote\.$#' + identifier: class.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Newsletter.php - - message: "#^Method Mage_Catalog_Model_Resource_Product_Compare_Item_Collection\\:\\:useProductItem\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Catalog_Model_Resource_Product_Compare_Item_Collection\:\:useProductItem\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Sidebar/Compared.php - - message: "#^Method Mage_Catalog_Model_Resource_Product_Compare_Item_Collection\\:\\:useProductItem\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Catalog_Model_Resource_Product_Compare_Item_Collection\:\:useProductItem\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Sidebar/Pcompared.php - - message: "#^Call to an undefined method Mage_Adminhtml_Block_Sales_Order_Creditmemo_Create_Adjustments\\:\\:addTotal\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Adminhtml_Block_Sales_Order_Creditmemo_Create_Adjustments\:\:addTotal\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Creditmemo/Create/Adjustments.php - - message: "#^Call to an undefined method Mage_Adminhtml_Block_Sales_Order_Creditmemo_Create_Adjustments\\:\\:removeTotal\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Adminhtml_Block_Sales_Order_Creditmemo_Create_Adjustments\:\:removeTotal\(\)\.$#' + identifier: method.notFound count: 3 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Creditmemo/Create/Adjustments.php - - message: "#^Return type \\(Mage_Sales_Model_Order_Creditmemo\\) of method Mage_Adminhtml_Block_Sales_Order_Creditmemo_Create_Items\\:\\:getSource\\(\\) should be compatible with return type \\(Mage_Sales_Model_Order_Invoice\\) of method Mage_Adminhtml_Block_Sales_Items_Abstract\\:\\:getSource\\(\\)$#" + message: '#^Return type \(Mage_Sales_Model_Order_Creditmemo\) of method Mage_Adminhtml_Block_Sales_Order_Creditmemo_Create_Items\:\:getSource\(\) should be compatible with return type \(Mage_Sales_Model_Order_Invoice\) of method Mage_Adminhtml_Block_Sales_Items_Abstract\:\:getSource\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Creditmemo/Create/Items.php - - message: "#^Return type \\(Mage_Sales_Model_Order_Creditmemo\\) of method Mage_Adminhtml_Block_Sales_Order_Creditmemo_View_Items\\:\\:getSource\\(\\) should be compatible with return type \\(Mage_Sales_Model_Order_Invoice\\) of method Mage_Adminhtml_Block_Sales_Items_Abstract\\:\\:getSource\\(\\)$#" + message: '#^Return type \(Mage_Sales_Model_Order_Creditmemo\) of method Mage_Adminhtml_Block_Sales_Order_Creditmemo_View_Items\:\:getSource\(\) should be compatible with return type \(Mage_Sales_Model_Order_Invoice\) of method Mage_Adminhtml_Block_Sales_Items_Abstract\:\:getSource\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Creditmemo/View/Items.php - - message: "#^Return type \\(Mage_Sales_Model_Order_Shipment\\) of method Mage_Adminhtml_Block_Sales_Order_Shipment_Create_Items\\:\\:getSource\\(\\) should be compatible with return type \\(Mage_Sales_Model_Order_Invoice\\) of method Mage_Adminhtml_Block_Sales_Items_Abstract\\:\\:getSource\\(\\)$#" + message: '#^Return type \(Mage_Sales_Model_Order_Shipment\) of method Mage_Adminhtml_Block_Sales_Order_Shipment_Create_Items\:\:getSource\(\) should be compatible with return type \(Mage_Sales_Model_Order_Invoice\) of method Mage_Adminhtml_Block_Sales_Items_Abstract\:\:getSource\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Shipment/Create/Items.php - - message: "#^Call to an undefined method Mage_Shipping_Model_Carrier_Abstract\\:\\:isGirthAllowed\\(\\)\\.$#" + message: '#^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 - - message: "#^Method Mage_Adminhtml_Block_Sales_Order_Shipment_Packaging\\:\\:getQtyOrderedItem\\(\\) should return int\\|null but empty return statement found\\.$#" + message: '#^Method Mage_Adminhtml_Block_Sales_Order_Shipment_Packaging\:\:getQtyOrderedItem\(\) should return int\|null but empty return statement found\.$#' + identifier: return.empty count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Shipment/Packaging.php - - message: "#^Return type \\(Mage_Sales_Model_Order_Shipment\\) of method Mage_Adminhtml_Block_Sales_Order_Shipment_View_Items\\:\\:getSource\\(\\) should be compatible with return type \\(Mage_Sales_Model_Order_Invoice\\) of method Mage_Adminhtml_Block_Sales_Items_Abstract\\:\\:getSource\\(\\)$#" + message: '#^Return type \(Mage_Sales_Model_Order_Shipment\) of method Mage_Adminhtml_Block_Sales_Order_Shipment_View_Items\:\:getSource\(\) should be compatible with return type \(Mage_Sales_Model_Order_Invoice\) of method Mage_Adminhtml_Block_Sales_Items_Abstract\:\:getSource\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Shipment/View/Items.php - - message: "#^Parameter \\#1 \\$renderer of method Varien_Data_Form_Element_Abstract\\:\\:setRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of method Varien_Data_Form_Element_Abstract\:\:setRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Status/New/Form.php - - message: "#^Parameter \\#1 \\$entity of method Mage_Adminhtml_Block_Sales_Order_View_Giftmessage\\:\\:setEntity\\(\\) expects Mage_Sales_Model_Order, Mage_Eav_Model_Entity_Abstract given\\.$#" + message: '#^Parameter \#1 \$entity of method Mage_Adminhtml_Block_Sales_Order_View_Giftmessage\:\:setEntity\(\) expects Mage_Sales_Model_Order, Mage_Eav_Model_Entity_Abstract given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Giftmessage.php - - message: "#^Parameter \\#1 \\$entityType of method Mage_Eav_Model_Config\\:\\:getEntityAttributeCodes\\(\\) expects Mage_Eav_Model_Entity_Type, string given\\.$#" + message: '#^Parameter \#1 \$entityType of method Mage_Eav_Model_Config\:\:getEntityAttributeCodes\(\) expects Mage_Eav_Model_Entity_Type, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Info.php - - message: "#^Parameter \\#2 \\$array of function implode expects array\\, array\\\\|string\\|null\\> given\\.$#" + message: '#^Parameter \#2 \$array of function implode expects array\, array\\|string\|null\> given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Info.php - - message: "#^Parameter \\#1 \\$item of method Mage_Checkout_Helper_Data\\:\\:getBasePriceInclTax\\(\\) expects Mage_Core_Model_Abstract, Varien_Object given\\.$#" + message: '#^Parameter \#1 \$item of method Mage_Checkout_Helper_Data\:\:getBasePriceInclTax\(\) expects Mage_Core_Model_Abstract, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Items/Renderer/Default.php - - message: "#^Parameter \\#1 \\$item of method Mage_Checkout_Helper_Data\\:\\:getPriceInclTax\\(\\) expects Mage_Core_Model_Abstract, Varien_Object given\\.$#" + message: '#^Parameter \#1 \$item of method Mage_Checkout_Helper_Data\:\:getPriceInclTax\(\) expects Mage_Core_Model_Abstract, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Items/Renderer/Default.php - - message: "#^Property Mage_Adminhtml_Block_Sales_Order_View_Items_Renderer_Default\\:\\:\\$_giftMessage \\(Mage_GiftMessage_Model_Message\\) does not accept default value of type array\\.$#" + message: '#^Property Mage_Adminhtml_Block_Sales_Order_View_Items_Renderer_Default\:\:\$_giftMessage \(Mage_GiftMessage_Model_Message\) does not accept default value of type array\.$#' + identifier: property.defaultValue count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Items/Renderer/Default.php - - message: "#^Call to an undefined method Mage_Core_Model_Resource_Db_Collection_Abstract\\:\\:setOrderFilter\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Core_Model_Resource_Db_Collection_Abstract\:\:setOrderFilter\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Tab/Creditmemos.php - - message: "#^Call to an undefined method Mage_Core_Model_Resource_Db_Collection_Abstract\\:\\:setOrderFilter\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Core_Model_Resource_Db_Collection_Abstract\:\:setOrderFilter\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Tab/Invoices.php - - message: "#^Call to an undefined method Mage_Core_Model_Resource_Db_Collection_Abstract\\:\\:setOrderFilter\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Core_Model_Resource_Db_Collection_Abstract\:\:setOrderFilter\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Tab/Shipments.php - - message: "#^Parameter \\#1 \\$order of method Mage_Sales_Helper_Reorder\\:\\:canReorder\\(\\) expects Mage_Sales_Model_Order, Varien_Object given\\.$#" + message: '#^Parameter \#1 \$order of method Mage_Sales_Helper_Reorder\:\:canReorder\(\) expects Mage_Sales_Model_Order, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Reorder/Renderer/Action.php - - message: "#^Parameter \\#1 \\$collection of method Mage_Adminhtml_Block_Widget_Grid\\:\\:setCollection\\(\\) expects Varien_Data_Collection_Db, Varien_Data_Collection given\\.$#" + message: '#^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 - - message: "#^Property Mage_Adminhtml_Block_Shipping_Carrier_Tablerate_Grid\\:\\:\\$_conditionName \\(string\\) does not accept int\\.$#" + message: '#^Property Mage_Adminhtml_Block_Shipping_Carrier_Tablerate_Grid\:\:\$_conditionName \(string\) does not accept int\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Adminhtml/Block/Shipping/Carrier/Tablerate/Grid.php - - message: "#^Property Mage_Adminhtml_Block_Store_Switcher_Form_Renderer_Fieldset\\:\\:\\$_element \\(Varien_Data_Form_Element_Fieldset\\) does not accept Varien_Data_Form_Element_Abstract\\.$#" + message: '#^Property Mage_Adminhtml_Block_Store_Switcher_Form_Renderer_Fieldset\:\:\$_element \(Varien_Data_Form_Element_Fieldset\) does not accept Varien_Data_Form_Element_Abstract\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Adminhtml/Block/Store/Switcher/Form/Renderer/Fieldset.php - - message: "#^Property Mage_Adminhtml_Block_Store_Switcher_Form_Renderer_Fieldset_Element\\:\\:\\$_element \\(Varien_Data_Form_Element_Fieldset\\) does not accept Varien_Data_Form_Element_Abstract\\.$#" + message: '#^Property Mage_Adminhtml_Block_Store_Switcher_Form_Renderer_Fieldset_Element\:\:\$_element \(Varien_Data_Form_Element_Fieldset\) does not accept Varien_Data_Form_Element_Abstract\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Adminhtml/Block/Store/Switcher/Form/Renderer/Fieldset/Element.php - - message: "#^Cannot call method initForm\\(\\) on Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$array \\(array\\{non\\-empty\\-string, non\\-empty\\-string\\}\\) of array_values is already a list, call has no effect\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$element of method Mage_Adminhtml_Block_System_Config_Form\\:\\:_prepareFieldComment\\(\\) expects Mage_Core_Model_Config_Element, Varien_Simplexml_Element given\\.$#" + message: '#^Parameter \#1 \$element of method Mage_Adminhtml_Block_System_Config_Form\:\:_prepareFieldComment\(\) expects Mage_Core_Model_Config_Element, Varien_Simplexml_Element given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/System/Config/Form.php - - message: "#^Parameter \\#1 \\$element of method Mage_Adminhtml_Block_System_Config_Form\\:\\:_prepareFieldTooltip\\(\\) expects Mage_Core_Model_Config_Element, Varien_Simplexml_Element given\\.$#" + message: '#^Parameter \#1 \$element of method Mage_Adminhtml_Block_System_Config_Form\:\:_prepareFieldTooltip\(\) expects Mage_Core_Model_Config_Element, Varien_Simplexml_Element given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/System/Config/Form.php - - message: "#^Parameter \\#1 \\$element of method Mage_Adminhtml_Block_System_Config_Form\\:\\:_prepareGroupComment\\(\\) expects Mage_Core_Model_Config_Element, Varien_Simplexml_Element given\\.$#" + message: '#^Parameter \#1 \$element of method Mage_Adminhtml_Block_System_Config_Form\:\:_prepareGroupComment\(\) expects Mage_Core_Model_Config_Element, Varien_Simplexml_Element given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/System/Config/Form.php - - message: "#^Parameter \\#1 \\$element of method Mage_Adminhtml_Block_System_Config_Form\\:\\:getScopeLabel\\(\\) expects Mage_Core_Model_Config_Element, Varien_Simplexml_Element given\\.$#" + message: '#^Parameter \#1 \$element of method Mage_Adminhtml_Block_System_Config_Form\:\:getScopeLabel\(\) expects Mage_Core_Model_Config_Element, Varien_Simplexml_Element given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/System/Config/Form.php - - message: "#^Parameter \\#1 \\$field of method Mage_Adminhtml_Block_System_Config_Form\\:\\:canUseDefaultValue\\(\\) expects Varien_Simplexml_Element, int given\\.$#" + message: '#^Parameter \#1 \$field of method Mage_Adminhtml_Block_System_Config_Form\:\:canUseDefaultValue\(\) expects Varien_Simplexml_Element, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/System/Config/Form.php - - message: "#^Parameter \\#1 \\$field of method Mage_Adminhtml_Block_System_Config_Form\\:\\:canUseWebsiteValue\\(\\) expects Varien_Simplexml_Element, int given\\.$#" + message: '#^Parameter \#1 \$field of method Mage_Adminhtml_Block_System_Config_Form\:\:canUseWebsiteValue\(\) expects Varien_Simplexml_Element, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/System/Config/Form.php - - message: "#^Parameter \\#1 \\$emptyLabel of method Mage_Directory_Model_Resource_Country_Collection\\:\\:toOptionArray\\(\\) expects string, false given\\.$#" + message: '#^Parameter \#1 \$emptyLabel of method Mage_Directory_Model_Resource_Country_Collection\:\:toOptionArray\(\) expects string, false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/System/Convert/Gui/Edit/Tab/Wizard.php - - message: "#^Parameter \\#2 \\$character_mask of function rtrim expects string, int given\\.$#" + message: '#^Parameter \#2 \$character_mask of function rtrim expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/System/Currency/Rate/Matrix.php - - message: "#^Method Mage_Core_Model_Email_Template\\:\\:getProcessedTemplate\\(\\) invoked with 2 parameters, 0\\-1 required\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Tag_Model_Resource_Tag_Collection\\:\\:addAttributeToFilter\\(\\)\\.$#" + message: '#^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 - - message: "#^Binary operation \"\\*\" between string and 1 results in an error\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$classTypeId of method Mage_Tax_Model_Resource_Class_Collection\\:\\:setClassTypeFilter\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#1 \$classTypeId of method Mage_Tax_Model_Resource_Class_Collection\:\:setClassTypeFilter\(\) expects int, string given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Adminhtml/Block/Tax/Rule/Edit/Form.php - - message: "#^Parameter \\#1 \\$classTypeId of method Mage_Tax_Model_Resource_Class_Collection\\:\\:setClassTypeFilter\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#1 \$classTypeId of method Mage_Tax_Model_Resource_Class_Collection\:\:setClassTypeFilter\(\) expects int, string given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Adminhtml/Block/Tax/Rule/Grid.php - - message: "#^Method Mage_Adminhtml_Block_Widget_Container\\:\\:_addButtonChildBlock\\(\\) should return Mage_Adminhtml_Block_Widget_Button but returns Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^Method Mage_Adminhtml_Block_Widget_Container\:\:_addButtonChildBlock\(\) should return Mage_Adminhtml_Block_Widget_Button but returns Mage_Core_Block_Abstract\|false\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Widget/Container.php - - message: "#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\\:\\:getAllOptions\\(\\) invoked with 2 parameters, 0 required\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$renderer of static method Varien_Data_Form\\:\\:setElementRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of static method Varien_Data_Form\:\:setElementRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Widget/Form.php - - message: "#^Parameter \\#1 \\$renderer of static method Varien_Data_Form\\:\\:setFieldsetElementRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of static method Varien_Data_Form\:\:setFieldsetElementRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Widget/Form.php - - message: "#^Parameter \\#1 \\$renderer of static method Varien_Data_Form\\:\\:setFieldsetRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of static method Varien_Data_Form\:\:setFieldsetRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Widget/Form.php - - message: "#^Parameter \\#1 \\$emptyLabel of method Mage_Directory_Model_Resource_Country_Collection\\:\\:toOptionArray\\(\\) expects string, false given\\.$#" + message: '#^Parameter \#1 \$emptyLabel of method Mage_Directory_Model_Resource_Country_Collection\:\:toOptionArray\(\) expects string, false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Country.php - - message: "#^Parameter \\#2 \\$checked of method Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Checkbox\\:\\:_getCheckboxHtml\\(\\) expects bool, string given\\.$#" + message: '#^Parameter \#2 \$checked of method Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Checkbox\:\:_getCheckboxHtml\(\) expects bool, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Checkbox.php - - message: "#^Parameter \\#1 \\$value of method Zend_Currency\\:\\:toCurrency\\(\\) expects float\\|int\\|null, string given\\.$#" + message: '#^Parameter \#1 \$value of method Zend_Currency\:\:toCurrency\(\) expects float\|int\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Currency.php - - message: "#^Binary operation \"\\*\" between string and 1 results in an error\\.$#" + message: '#^Binary operation "\*" between string and 1 results in an error\.$#' + identifier: binaryOp.invalid count: 1 path: app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Number.php - - message: "#^Parameter \\#2 \\$array of function implode expects array\\, array\\\\|string\\|null\\> given\\.$#" + message: '#^Parameter \#2 \$array of function implode expects array\, list\\|string\|null\> given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Options.php - - message: "#^Parameter \\#1 \\$value of method Zend_Currency\\:\\:toCurrency\\(\\) expects float\\|int\\|null, string given\\.$#" + message: '#^Parameter \#1 \$value of method Zend_Currency\:\:toCurrency\(\) expects float\|int\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Price.php - - message: "#^Call to an undefined method Mage_Adminhtml_Block_Widget_Tab_Interface\\:\\:getSkipGenerateContent\\(\\)\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Adminhtml_Block_Widget_Tab_Interface\\:\\:getTabId\\(\\)\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Adminhtml_Block_Widget_Tab_Interface\\:\\:toHtml\\(\\)\\.$#" + message: '#^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 - - message: "#^PHPDoc tag @param references unknown parameter\\: \\$tabNId$#" + message: '#^PHPDoc tag @param references unknown parameter\: \$tabNId$#' + identifier: parameter.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php - - message: "#^Parameter \\#1 \\$ids of method Mage_Adminhtml_Controller_Action\\:\\:loadLayout\\(\\) expects bool\\|string\\|null, array\\ given\\.$#" + message: '#^Parameter \#1 \$ids of method Mage_Adminhtml_Controller_Action\:\:loadLayout\(\) expects bool\|string\|null, array\ given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Adminhtml/Controller/Action.php - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$creditmemos of method Mage_Sales_Model_Order_Pdf_Creditmemo\\:\\:getPdf\\(\\) expects array\\, Mage_Sales_Model_Resource_Order_Creditmemo_Collection given\\.$#" + message: '#^Parameter \#1 \$creditmemos of method Mage_Sales_Model_Order_Pdf_Creditmemo\:\:getPdf\(\) expects array\, Mage_Sales_Model_Resource_Order_Creditmemo_Collection given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Controller/Sales/Creditmemo.php - - message: "#^Parameter \\#1 \\$invoices of method Mage_Sales_Model_Order_Pdf_Invoice\\:\\:getPdf\\(\\) expects array\\, Mage_Sales_Model_Resource_Order_Invoice_Collection given\\.$#" + message: '#^Parameter \#1 \$invoices of method Mage_Sales_Model_Order_Pdf_Invoice\:\:getPdf\(\) expects array\, Mage_Sales_Model_Resource_Order_Invoice_Collection given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Controller/Sales/Invoice.php - - message: "#^Parameter \\#1 \\$shipments of method Mage_Sales_Model_Order_Pdf_Shipment\\:\\:getPdf\\(\\) expects array\\, Mage_Sales_Model_Resource_Order_Shipment_Collection given\\.$#" + message: '#^Parameter \#1 \$shipments of method Mage_Sales_Model_Order_Pdf_Shipment\:\:getPdf\(\) expects array\, Mage_Sales_Model_Resource_Order_Shipment_Collection given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Controller/Sales/Shipment.php - - message: "#^Parameter \\#1 \\$cache of method Varien_Simplexml_Config\\:\\:setCache\\(\\) expects Varien_Simplexml_Config_Cache_Abstract, Zend_Cache_Core given\\.$#" + message: '#^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 - - message: "#^Property Mage_Adminhtml_Model_Config\\:\\:\\$_config \\(Mage_Core_Model_Config_Base\\) does not accept Varien_Simplexml_Config\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Adminhtml_Model_Config_Data\\:\\:__\\(\\)\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$field of method Mage_Adminhtml_Model_Config_Data\\:\\:_isValidField\\(\\) expects Mage_Core_Model_Config_Element, Varien_Simplexml_Element\\|false given\\.$#" + message: '#^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 - - message: "#^Method Mage_Eav_Model_Entity_Abstract\\:\\:load\\(\\) invoked with 1 parameter, 2\\-3 required\\.$#" + message: '#^Method Mage_Eav_Model_Entity_Abstract\:\:load\(\) invoked with 1 parameter, 2\-3 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Adminhtml/Model/Giftmessage/Save.php - - message: "#^Parameter \\#1 \\$object of method Mage_Eav_Model_Entity_Abstract\\:\\:load\\(\\) expects Mage_Core_Model_Abstract, int given\\.$#" + message: '#^Parameter \#1 \$object of method Mage_Eav_Model_Entity_Abstract\:\:load\(\) expects Mage_Core_Model_Abstract, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Model/Giftmessage/Save.php - - message: "#^Variable \\$billingAddress might not be defined\\.$#" + message: '#^Variable \$billingAddress might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Adminhtml/Model/Sales/Order/Create.php - - message: "#^Call to an undefined method Mage_Sales_Model_Order\\:\\:createFromQuoteAddress\\(\\)\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Sales_Model_Order\\:\\:validate\\(\\)\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Sales_Model_Quote\\:\\:addCatalogProduct\\(\\)\\.$#" + message: '#^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 - - message: "#^Comparison operation \"\\=\\=\" between \\(Varien_Simplexml_Element\\|null\\) and 1 results in an error\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$emptyLabel of method Mage_Directory_Model_Resource_Country_Collection\\:\\:toOptionArray\\(\\) expects string, false given\\.$#" + message: '#^Parameter \#1 \$emptyLabel of method Mage_Directory_Model_Resource_Country_Collection\:\:toOptionArray\(\) expects string, false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Model/System/Config/Source/Allregion.php - - message: "#^Method Varien_Data_Collection\\:\\:toOptionArray\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^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 - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Ternary operator condition is always true\\.$#" + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue count: 1 path: app/code/core/Mage/Adminhtml/controllers/Catalog/Product/SetController.php - - message: "#^Parameter \\#1 \\$ids of method Mage_Adminhtml_Controller_Action\\:\\:loadLayout\\(\\) expects bool\\|string\\|null, array\\ given\\.$#" + message: '#^Parameter \#1 \$ids of method Mage_Adminhtml_Controller_Action\:\:loadLayout\(\) expects bool\|string\|null, array\ given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php - - message: "#^Method Mage_Adminhtml_Controller_Action\\:\\:_setForcedFormKeyActions\\(\\) invoked with 2 parameters, 1 required\\.$#" + message: '#^Method Mage_Adminhtml_Controller_Action\:\:_setForcedFormKeyActions\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Adminhtml/controllers/Catalog/SearchController.php - - message: "#^Parameter \\#1 \\$item of method Mage_Sales_Model_Resource_Quote_Item_Option_Collection\\:\\:addItemFilter\\(\\) expects array\\|int, Mage_Sales_Model_Quote_Item given\\.$#" + message: '#^Parameter \#1 \$item of method Mage_Sales_Model_Resource_Quote_Item_Option_Collection\:\:addItemFilter\(\) expects array\|int, Mage_Sales_Model_Quote_Item given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/controllers/Customer/Cart/Product/Composite/CartController.php - - message: "#^Parameter \\#1 \\$content of method Zend_Controller_Response_Abstract\\:\\:setBody\\(\\) expects string, int given\\.$#" + message: '#^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 - - message: "#^Property Mage_Adminhtml_Customer_Wishlist_Product_Composite_WishlistController\\:\\:\\$_wishlistItem \\(Mage_Wishlist_Model_Wishlist\\) does not accept Mage_Wishlist_Model_Item\\.$#" + message: '#^Property Mage_Adminhtml_Customer_Wishlist_Product_Composite_WishlistController\:\:\$_wishlistItem \(Mage_Wishlist_Model_Wishlist\) does not accept Mage_Wishlist_Model_Item\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Adminhtml/controllers/Customer/Wishlist/Product/Composite/WishlistController.php - - message: "#^Parameter \\#2 \\$timestamp of function date expects int, array\\|bool given\\.$#" + message: '#^Parameter \#2 \$timestamp of function date expects int, array\|bool given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/controllers/CustomerController.php - - message: "#^Parameter \\#2 \\$value of method Zend_Controller_Response_Abstract\\:\\:setHeader\\(\\) expects string, array\\|bool given\\.$#" + message: '#^Parameter \#2 \$value of method Zend_Controller_Response_Abstract\:\:setHeader\(\) expects string, array\|bool given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/controllers/CustomerController.php - - message: "#^Variable \\$id in isset\\(\\) always exists and is not nullable\\.$#" + message: '#^Variable \$id in isset\(\) always exists and is not nullable\.$#' + identifier: isset.variable count: 1 path: app/code/core/Mage/Adminhtml/controllers/Permissions/BlockController.php - - message: "#^Variable \\$id in isset\\(\\) always exists and is not nullable\\.$#" + message: '#^Variable \$id in isset\(\) always exists and is not nullable\.$#' + identifier: isset.variable count: 1 path: app/code/core/Mage/Adminhtml/controllers/Permissions/VariableController.php - - message: "#^Cannot call method aggregate\\(\\) on Mage_Core_Model_Resource_Db_Collection_Abstract\\|false\\.$#" + message: '#^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 - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Method Mage_Adminhtml_Model_Sales_Order_Create\\:\\:moveQuoteItem\\(\\) invoked with 2 parameters, 3 required\\.$#" + message: '#^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 - - message: "#^Method Mage_Adminhtml_Model_Sales_Order_Create\\:\\:resetShippingMethod\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Adminhtml_Model_Sales_Order_Create\:\:resetShippingMethod\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/CreateController.php - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Sales_Model_Order_Creditmemo\\:\\:void\\(\\)\\.$#" + message: '#^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 - - message: "#^Right side of && is always true\\.$#" + message: '#^Right side of && is always true\.$#' + identifier: booleanAnd.rightAlwaysTrue count: 1 path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/CreditmemoController.php - - message: "#^Result of && is always false\\.$#" + message: '#^Result of && is always false\.$#' + identifier: booleanAnd.alwaysFalse count: 1 path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/InvoiceController.php - - message: "#^Undefined variable\\: \\$shippingResponse$#" + message: '#^Undefined variable\: \$shippingResponse$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/InvoiceController.php - - message: "#^Variable \\$shippingResponse in isset\\(\\) is never defined\\.$#" + message: '#^Variable \$shippingResponse in isset\(\) is never defined\.$#' + identifier: isset.variable count: 1 path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/InvoiceController.php - - message: "#^Negated boolean expression is always false\\.$#" + message: '#^Negated boolean expression is always false\.$#' + identifier: booleanNot.alwaysFalse count: 1 path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php - - message: "#^Parameter \\#1 \\$order of method Mage_Sales_Model_Resource_Order_Collection_Abstract\\:\\:setOrderFilter\\(\\) expects int\\|Mage_Sales_Model_Order, array\\ given\\.$#" + message: '#^Parameter \#1 \$order of method Mage_Sales_Model_Resource_Order_Collection_Abstract\:\:setOrderFilter\(\) expects int\|Mage_Sales_Model_Order, array\ given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php - - message: "#^Parameter \\#1 \\$prefix of function uniqid expects string, int\\<0, max\\> given\\.$#" + message: '#^Parameter \#1 \$prefix of function uniqid expects string, int\<0, max\> given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php - - message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, '\\\\\\\\intval' given\\.$#" + message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, ''\\\\intval'' given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php - - message: "#^Method Mage_Adminhtml_Controller_Action\\:\\:_setForcedFormKeyActions\\(\\) invoked with 2 parameters, 1 required\\.$#" + message: '#^Method Mage_Adminhtml_Controller_Action\:\:_setForcedFormKeyActions\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php - - message: "#^Parameter \\#1 \\$creditmemos of method Mage_Sales_Model_Order_Pdf_Creditmemo\\:\\:getPdf\\(\\) expects array\\, Mage_Sales_Model_Resource_Order_Creditmemo_Collection given\\.$#" + message: '#^Parameter \#1 \$creditmemos of method Mage_Sales_Model_Order_Pdf_Creditmemo\:\:getPdf\(\) expects array\, Mage_Sales_Model_Resource_Order_Creditmemo_Collection given\.$#' + identifier: argument.type count: 4 path: app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php - - message: "#^Parameter \\#1 \\$invoices of method Mage_Sales_Model_Order_Pdf_Invoice\\:\\:getPdf\\(\\) expects array\\, Mage_Sales_Model_Resource_Order_Invoice_Collection given\\.$#" + message: '#^Parameter \#1 \$invoices of method Mage_Sales_Model_Order_Pdf_Invoice\:\:getPdf\(\) expects array\, Mage_Sales_Model_Resource_Order_Invoice_Collection given\.$#' + identifier: argument.type count: 4 path: app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php - - message: "#^Parameter \\#1 \\$shipments of method Mage_Sales_Model_Order_Pdf_Shipment\\:\\:getPdf\\(\\) expects array\\, Mage_Sales_Model_Resource_Order_Shipment_Collection given\\.$#" + message: '#^Parameter \#1 \$shipments of method Mage_Sales_Model_Order_Pdf_Shipment\:\:getPdf\(\) expects array\, Mage_Sales_Model_Resource_Order_Shipment_Collection given\.$#' + identifier: argument.type count: 4 path: app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php - - message: "#^Variable \\$data in isset\\(\\) always exists and is not nullable\\.$#" + message: '#^Variable \$data in isset\(\) always exists and is not nullable\.$#' + identifier: isset.variable count: 1 path: app/code/core/Mage/Adminhtml/controllers/System/Convert/ProfileController.php - - message: "#^Cannot call method fetchRates\\(\\) on Mage_Core_Model_Abstract\\|false\\.$#" + message: '#^Cannot call method fetchRates\(\) on Mage_Core_Model_Abstract\|false\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Adminhtml/controllers/System/CurrencyController.php - - message: "#^Parameter \\#1 \\$modelClass of static method Mage\\:\\:getModel\\(\\) expects string, array given\\.$#" + message: '#^Parameter \#1 \$modelClass of static method Mage\:\:getModel\(\) expects string, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/controllers/System/CurrencyController.php - - message: "#^Method Mage_Directory_Model_Country\\:\\:loadByCode\\(\\) invoked with 2 parameters, 1 required\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$ruleModel of method Mage_Adminhtml_Tax_RuleController\\:\\:_isValidRuleRequest\\(\\) expects Mage_Tax_Model_Calculation_Rule, Mage_Core_Model_Abstract given\\.$#" + message: '#^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 - - message: "#^Method Mage_Api_Model_Acl\\:\\:_getRoleRegistry\\(\\) should return Mage_Api_Model_Acl_Role_Registry but returns Zend_Acl_Role_Registry\\.$#" + message: '#^Method Mage_Api_Model_Acl\:\:_getRoleRegistry\(\) should return Mage_Api_Model_Acl_Role_Registry but returns Zend_Acl_Role_Registry\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Api/Model/Acl.php - - message: "#^Parameter \\#2 \\$resource of method Mage_Api_Model_Config\\:\\:loadAclResources\\(\\) expects Mage_Core_Model_Config_Element\\|null, Varien_Simplexml_Element given\\.$#" + message: '#^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 - - message: "#^Parameter \\#4 \\$lifeTime of method Mage_Core_Model_App\\:\\:saveCache\\(\\) expects int\\|false\\|null, bool given\\.$#" + message: '#^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 - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Cannot call method getClassName\\(\\) on bool\\|SimpleXMLElement\\.$#" + message: '#^Cannot call method getClassName\(\) on bool\|SimpleXMLElement\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Api/Model/Resource/Acl.php - - message: "#^Method Mage_Core_Model_Resource_Db_Abstract\\:\\:load\\(\\) invoked with 1 parameter, 2\\-3 required\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$role of method Mage_Api_Model_Resource_Roles\\:\\:_updateRoleUsersAcl\\(\\) expects Mage_Api_Model_Roles, Mage_Core_Model_Abstract given\\.$#" + message: '#^Parameter \#1 \$role of method Mage_Api_Model_Resource_Roles\:\:_updateRoleUsersAcl\(\) expects Mage_Api_Model_Roles, Mage_Core_Model_Abstract given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Api/Model/Resource/Roles.php - - message: "#^Parameter \\#1 \\$user of method Mage_Api_Model_Resource_User\\:\\:hasAssigned2Role\\(\\) expects int\\|Mage_Api_Model_User, Mage_Core_Model_Abstract given\\.$#" + message: '#^Parameter \#1 \$user of method Mage_Api_Model_Resource_User\:\:hasAssigned2Role\(\) expects int\|Mage_Api_Model_User, Mage_Core_Model_Abstract given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Api/Model/Resource/User.php - - message: "#^Call to an undefined method Mage_Api_Model_Resource_Roles\\:\\:update\\(\\)\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Api_Model_Resource_Rules\\:\\:update\\(\\)\\.$#" + message: '#^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 - - message: "#^Call to an undefined method SoapServer\\:\\:setReturnResponse\\(\\)\\.$#" + message: '#^Call to an undefined method SoapServer\:\:setReturnResponse\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Api/Model/Server/Adapter/Soap.php - - message: "#^Parameter \\#1 \\$code of class SoapFault constructor expects string, int given\\.$#" + message: '#^Parameter \#1 \$code of class SoapFault constructor expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Api/Model/Server/Adapter/Soap.php - - message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, null given\\.$#" + message: '#^Parameter \#3 \$subject of function preg_replace expects array\\|string, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Api/Model/Server/Adapter/Soap.php - - message: "#^Property Mage_Api_Model_Server_Adapter_Soap\\:\\:\\$_soap \\(SoapServer\\) does not accept Zend_Soap_Server\\.$#" + message: '#^Property Mage_Api_Model_Server_Adapter_Soap\:\:\$_soap \(SoapServer\) does not accept Zend_Soap_Server\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Api/Model/Server/Adapter/Soap.php - - message: "#^Result of method SoapServer\\:\\:handle\\(\\) \\(void\\) is used\\.$#" + message: '#^Result of method SoapServer\:\:handle\(\) \(void\) is used\.$#' + identifier: method.void count: 1 path: app/code/core/Mage/Api/Model/Server/Adapter/Soap.php - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, null given\\.$#" + message: '#^Parameter \#3 \$subject of function preg_replace expects array\\|string, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Api/Model/Server/V2/Adapter/Soap.php - - message: "#^Result of method SoapServer\\:\\:handle\\(\\) \\(void\\) is used\\.$#" + message: '#^Result of method SoapServer\:\:handle\(\) \(void\) is used\.$#' + identifier: method.void count: 1 path: app/code/core/Mage/Api/Model/Server/V2/Adapter/Soap.php - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$string of function strlen expects string, array given\\.$#" + message: '#^Parameter \#1 \$string of function strlen expects string, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Api/Model/Server/V2/Handler.php - - message: "#^Parameter \\#2 \\$needle of function str_contains expects string\\|null, array given\\.$#" + message: '#^Parameter \#2 \$needle of function str_contains expects string\|null, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Api/Model/Server/V2/Handler.php - - message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, null given\\.$#" + message: '#^Parameter \#3 \$subject of function preg_replace expects array\\|string, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Api/Model/Server/Wsi/Adapter/Soap.php - - message: "#^Result of method SoapServer\\:\\:handle\\(\\) \\(void\\) is used\\.$#" + message: '#^Result of method SoapServer\:\:handle\(\) \(void\) is used\.$#' + identifier: method.void count: 1 path: app/code/core/Mage/Api/Model/Server/Wsi/Adapter/Soap.php - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$string of function strlen expects string, array given\\.$#" + message: '#^Parameter \#1 \$string of function strlen expects string, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Api/Model/Server/Wsi/Handler.php - - message: "#^Parameter \\#2 \\$needle of function str_contains expects string\\|null, array given\\.$#" + message: '#^Parameter \#2 \$needle of function str_contains expects string\|null, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Api/Model/Server/Wsi/Handler.php - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Invalid array key type array\\.$#" + message: '#^Invalid array key type array\.$#' + identifier: offsetAccess.invalidOffset count: 1 path: app/code/core/Mage/Api/Model/Wsdl/Config.php - - message: "#^Call to an undefined method SimpleXMLElement\\:\\:extendChild\\(\\)\\.$#" + message: '#^Call to an undefined method SimpleXMLElement\:\:extendChild\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Api/Model/Wsdl/Config/Element.php - - message: "#^Parameter \\#1 \\$source of static method Mage_Api_Model_Wsdl_Config_Element\\:\\:_getChildren\\(\\) expects Varien_Simplexml_Element, SimpleXMLElement given\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$collection of method Mage_Adminhtml_Block_Widget_Grid\\:\\:setCollection\\(\\) expects Varien_Data_Collection_Db, Varien_Data_Collection given\\.$#" + message: '#^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 - - message: "#^Property Mage_Api2_Block_Adminhtml_Attribute_Tab_Resource\\:\\:\\$_treeModel \\(Mage_Api2_Model_Acl_Global_Rule_Tree\\) does not accept default value of type false\\.$#" + message: '#^Property Mage_Api2_Block_Adminhtml_Attribute_Tab_Resource\:\:\$_treeModel \(Mage_Api2_Model_Acl_Global_Rule_Tree\) does not accept default value of type false\.$#' + identifier: property.defaultValue count: 1 path: app/code/core/Mage/Api2/Block/Adminhtml/Attribute/Tab/Resource.php - - message: "#^Property Mage_Api2_Block_Adminhtml_Roles_Tab_Resources\\:\\:\\$_treeModel \\(Mage_Api2_Model_Acl_Global_Rule_Tree\\) does not accept default value of type false\\.$#" + message: '#^Property Mage_Api2_Block_Adminhtml_Roles_Tab_Resources\:\:\$_treeModel \(Mage_Api2_Model_Acl_Global_Rule_Tree\) does not accept default value of type false\.$#' + identifier: property.defaultValue count: 1 path: app/code/core/Mage/Api2/Block/Adminhtml/Roles/Tab/Resources.php - - message: "#^Variable \\$adapters might not be defined\\.$#" + message: '#^Variable \$adapters might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Api2/Helper/Data.php - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$role of method Zend_Acl\\:\\:hasRole\\(\\) expects string\\|Zend_Acl_Role_Interface, int given\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$role of method Zend_Acl\\:\\:isAllowed\\(\\) expects string\\|Zend_Acl_Role_Interface\\|null, int given\\.$#" + message: '#^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 - - message: "#^Variable \\$operationName might not be defined\\.$#" + message: '#^Variable \$operationName might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Api2/Model/Acl/Global/Rule/Tree.php - - message: "#^Method Mage_Api2_Model_Config\\:\\:getResourceGroup\\(\\) should return bool\\|Mage_Core_Model_Config_Element but returns Varien_Simplexml_Element\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$cache of method Varien_Simplexml_Config\\:\\:setCache\\(\\) expects Varien_Simplexml_Config_Cache_Abstract, Zend_Cache_Core given\\.$#" + message: '#^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 - - message: "#^Parameter \\#2 \\$lowerOrEqualsTo of method Mage_Api2_Model_Config\\:\\:getResourceLastVersion\\(\\) expects int\\|null, bool\\|string given\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Api2_Model_Config\\:\\:getMainRoute\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Api2_Model_Config\:\:getMainRoute\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Api2/Model/Multicall.php - - message: "#^Property Mage_Api2_Model_Request\\:\\:\\$_interpreter \\(Mage_Api2_Model_Request_Interpreter_Interface\\) does not accept Mage_Core_Model_Abstract\\|false\\.$#" + message: '#^Property Mage_Api2_Model_Request\:\:\$_interpreter \(Mage_Api2_Model_Request_Interpreter_Interface\) does not accept Mage_Core_Model_Abstract\|false\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Api2/Model/Request.php - - message: "#^Call to an undefined method Mage_Api2_Model_Resource\\:\\:_multiDelete\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Api2_Model_Resource\:\:_multiDelete\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Api2/Model/Resource.php - - message: "#^Method Mage_Api2_Model_Resource\\:\\:_create\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Api2_Model_Resource\:\:_create\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Api2/Model/Resource.php - - message: "#^Method Mage_Api2_Model_Resource\\:\\:_multiCreate\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Api2_Model_Resource\:\:_multiCreate\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Api2/Model/Resource.php - - message: "#^Method Mage_Api2_Model_Resource\\:\\:_multiUpdate\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Api2_Model_Resource\:\:_multiUpdate\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Api2/Model/Resource.php - - message: "#^Method Mage_Api2_Model_Resource\\:\\:_update\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Api2_Model_Resource\:\:_update\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Api2/Model/Resource.php - - message: "#^Parameter \\#1 \\$renderer of method Mage_Api2_Model_Resource\\:\\:setRenderer\\(\\) expects Mage_Api2_Model_Renderer_Interface, Mage_Core_Model_Abstract\\|false given\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$version of method Mage_Api2_Model_Resource\\:\\:setVersion\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#1 \$version of method Mage_Api2_Model_Resource\:\:setVersion\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Api2/Model/Resource.php - - message: "#^Parameter \\#2 \\$code of method Mage_Api2_Model_Response\\:\\:addMessage\\(\\) expects string, int given\\.$#" + message: '#^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 - - message: "#^Parameter \\#2 \\$value of method Varien_Data_Collection\\:\\:addFilter\\(\\) expects array\\|string, int given\\.$#" + message: '#^Parameter \#2 \$value of method Varien_Data_Collection\:\:addFilter\(\) expects array\|string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Api2/Model/Resource/Acl/Global/Rule/Collection.php - - message: "#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\\:\\:getAllOptions\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^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 - - message: "#^Parameter \\#2 \\.\\.\\.\\$args of function array_merge expects array, false given\\.$#" + message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Api2/Model/Resource/Validator/Eav.php - - message: "#^Property Mage_Api2_Model_Resource_Validator_Eav\\:\\:\\$_eavForm \\(Mage_Eav_Model_Form\\) does not accept Mage_Core_Model_Abstract\\|false\\.$#" + message: '#^Property Mage_Api2_Model_Resource_Validator_Eav\:\:\$_eavForm \(Mage_Eav_Model_Form\) does not accept Mage_Core_Model_Abstract\|false\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Api2/Model/Resource/Validator/Eav.php - - message: "#^Property Mage_Api2_Model_Resource_Validator_Eav\\:\\:\\$_eavForm \\(Mage_Eav_Model_Form\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Api2_Model_Resource_Validator_Eav\:\:\$_eavForm \(Mage_Eav_Model_Form\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Api2/Model/Resource/Validator/Eav.php - - message: "#^Property Mage_Api2_Model_Resource_Validator_Eav\\:\\:\\$_entity \\(Mage_Core_Model_Abstract\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Api2_Model_Resource_Validator_Eav\:\:\$_entity \(Mage_Core_Model_Abstract\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Api2/Model/Resource/Validator/Eav.php - - message: "#^Call to an undefined method Zend_Validate_Interface\\:\\:setMessage\\(\\)\\.$#" + message: '#^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 - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Constructor of class Mage_Api2_Model_Route_ApiType has an unused parameter \\$defaults\\.$#" + message: '#^Constructor of class Mage_Api2_Model_Route_ApiType has an unused parameter \$defaults\.$#' + identifier: constructor.unusedParameter count: 1 path: app/code/core/Mage/Api2/Model/Route/ApiType.php - - message: "#^Constructor of class Mage_Api2_Model_Route_ApiType has an unused parameter \\$locale\\.$#" + message: '#^Constructor of class Mage_Api2_Model_Route_ApiType has an unused parameter \$locale\.$#' + identifier: constructor.unusedParameter count: 1 path: app/code/core/Mage/Api2/Model/Route/ApiType.php - - message: "#^Constructor of class Mage_Api2_Model_Route_ApiType has an unused parameter \\$reqs\\.$#" + message: '#^Constructor of class Mage_Api2_Model_Route_ApiType has an unused parameter \$reqs\.$#' + identifier: constructor.unusedParameter count: 1 path: app/code/core/Mage/Api2/Model/Route/ApiType.php - - message: "#^Constructor of class Mage_Api2_Model_Route_ApiType has an unused parameter \\$route\\.$#" + message: '#^Constructor of class Mage_Api2_Model_Route_ApiType has an unused parameter \$route\.$#' + identifier: constructor.unusedParameter count: 1 path: app/code/core/Mage/Api2/Model/Route/ApiType.php - - message: "#^Constructor of class Mage_Api2_Model_Route_ApiType has an unused parameter \\$translator\\.$#" + message: '#^Constructor of class Mage_Api2_Model_Route_ApiType has an unused parameter \$translator\.$#' + identifier: constructor.unusedParameter count: 1 path: app/code/core/Mage/Api2/Model/Route/ApiType.php - - message: "#^Call to an undefined method Varien_Object\\:\\:encrypt\\(\\)\\.$#" + message: '#^Method Mage_Api2_Model_Server\:\:_setAuthUser\(\) has Exception in PHPDoc @throws tag but it''s not thrown\.$#' + identifier: throws.unusedType + count: 1 + path: app/code/core/Mage/Api2/Model/Server.php + + - + message: '#^Call to an undefined method Varien_Object\:\:encrypt\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Authorizenet/Model/Directpost.php - - message: "#^Parameter \\#2 \\$amount of method Mage_Authorizenet_Model_Directpost\\:\\:_refund\\(\\) expects string, float given\\.$#" + message: '#^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 - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Payment_Model_Method_Abstract\\:\\:generateRequestFromOrder\\(\\)\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$spec of method Zend_Controller_Response_Abstract\\:\\:getBody\\(\\) expects bool, string given\\.$#" + message: '#^Parameter \#1 \$spec of method Zend_Controller_Response_Abstract\:\:getBody\(\) expects bool, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Authorizenet/Model/Directpost/Observer.php - - message: "#^Call to an undefined method Mage_Payment_Model_Method_Abstract\\:\\:generateRequestFromOrder\\(\\)\\.$#" + message: '#^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 - - message: "#^Method Mage_Authorizenet_Directpost_PaymentController\\:\\:_getIframeBlock\\(\\) should return Mage_Authorizenet_Block_Directpost_Iframe but returns Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^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 - - message: "#^Variable \\$params might not be defined\\.$#" + message: '#^Variable \$params might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Authorizenet/controllers/Directpost/PaymentController.php - - message: "#^Call to an undefined method Mage_Catalog_Model_Product_Configuration_Item_Interface\\:\\:getQty\\(\\)\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Bundle_Model_CatalogIndex_Data_Bundle\\:\\:_addAttributeFilter\\(\\)\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Bundle_Model_CatalogIndex_Data_Bundle\\:\\:_getLinkSelect\\(\\)\\.$#" + message: '#^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 - - message: "#^PHPDoc type bool of property Mage_Bundle_Model_CatalogIndex_Data_Bundle\\:\\:\\$_haveChildren is not covariant with PHPDoc type array\\ of overridden property Mage_CatalogIndex_Model_Data_Simple\\:\\:\\$_haveChildren\\.$#" + message: '#^PHPDoc type bool of property Mage_Bundle_Model_CatalogIndex_Data_Bundle\:\:\$_haveChildren is not covariant with PHPDoc type array\ of overridden property Mage_CatalogIndex_Model_Data_Simple\:\:\$_haveChildren\.$#' + identifier: property.phpDocType count: 1 path: app/code/core/Mage/Bundle/Model/CatalogIndex/Data/Bundle.php - - message: "#^Property Mage_Bundle_Model_CatalogIndex_Data_Bundle\\:\\:\\$_haveChildren \\(bool\\) does not accept default value of type array\\\\.$#" + message: '#^Property Mage_Bundle_Model_CatalogIndex_Data_Bundle\:\:\$_haveChildren \(bool\) does not accept default value of type array\\.$#' + identifier: property.defaultValue count: 1 path: app/code/core/Mage/Bundle/Model/CatalogIndex/Data/Bundle.php - - message: "#^Call to an undefined method Mage_Bundle_Model_Resource_Price_Index\\:\\:reindexProduct\\(\\)\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Bundle_Model_Product_Price\\:\\:getPricesTierPrice\\(\\)\\.$#" + message: '#^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 - - message: "#^Method Mage_Bundle_Model_Product_Price\\:\\:getOptions\\(\\) should return Mage_Bundle_Model_Resource_Option_Collection but returns array\\.$#" + message: '#^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 - - message: "#^Offset 'option_id' does not exist on array\\{final_price\\: mixed\\}\\.$#" + message: '#^Offset ''option_id'' does not exist on array\{final_price\: mixed\}\.$#' + identifier: offsetAccess.notFound count: 2 path: app/code/core/Mage/Bundle/Model/Product/Price.php - - message: "#^Parameter \\#2 \\$qty of method Mage_Catalog_Model_Product_Type_Price\\:\\:_applyOptionsPrice\\(\\) expects int, float\\|null given\\.$#" + message: '#^Parameter \#2 \$qty of method Mage_Catalog_Model_Product_Type_Price\:\:_applyOptionsPrice\(\) expects int, float\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Bundle/Model/Product/Price.php - - message: "#^Parameter \\#2 \\$selectionProduct of method Mage_Bundle_Model_Product_Price\\:\\:getSelectionFinalTotalPrice\\(\\) expects Mage_Catalog_Model_Product, Mage_Bundle_Model_Selection given\\.$#" + message: '#^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 - - message: "#^Parameter \\#3 \\$bundleQty of method Mage_Bundle_Model_Product_Price\\:\\:getLowestPrice\\(\\) expects int, float given\\.$#" + message: '#^Parameter \#3 \$bundleQty of method Mage_Bundle_Model_Product_Price\:\:getLowestPrice\(\) expects int, float given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Bundle/Model/Product/Price.php - - message: "#^Parameter \\#4 \\$selectionQty of method Mage_Bundle_Model_Product_Price\\:\\:getSelectionFinalTotalPrice\\(\\) expects float, null given\\.$#" + message: '#^Parameter \#4 \$selectionQty of method Mage_Bundle_Model_Product_Price\:\:getSelectionFinalTotalPrice\(\) expects float, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Bundle/Model/Product/Price.php - - message: "#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#" + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType count: 1 path: app/code/core/Mage/Bundle/Model/Product/Type.php - - message: "#^Left side of && is always true\\.$#" + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue count: 1 path: app/code/core/Mage/Bundle/Model/Product/Type.php - - message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, '\\\\\\\\intval' given\\.$#" + message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, ''\\\\intval'' given\.$#' + identifier: argument.type count: 3 path: app/code/core/Mage/Bundle/Model/Product/Type.php - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Variable \\$selections in empty\\(\\) always exists and is not falsy\\.$#" + message: '#^Variable \$selections in empty\(\) always exists and is not falsy\.$#' + identifier: empty.variable count: 1 path: app/code/core/Mage/Bundle/Model/Product/Type.php - - message: "#^Parameter \\#1 \\$expression of class Zend_Db_Expr constructor expects string, int given\\.$#" + message: '#^Parameter \#1 \$expression of class Zend_Db_Expr constructor expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Bundle/Model/Resource/Indexer/Price.php - - message: "#^Parameter \\#5 \\$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\\:\\:_addAttributeToSelect\\(\\) expects Zend_Db_Expr\\|null, string given\\.$#" + message: '#^Parameter \#5 \$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\:\:_addAttributeToSelect\(\) expects Zend_Db_Expr\|null, string given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Bundle/Model/Resource/Indexer/Price.php - - message: "#^Parameter \\#5 \\$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\\:\\:_addAttributeToSelect\\(\\) expects Zend_Db_Expr\\|null, string given\\.$#" + message: '#^Parameter \#5 \$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\:\:_addAttributeToSelect\(\) expects Zend_Db_Expr\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Bundle/Model/Resource/Indexer/Stock.php - - message: "#^Parameter \\#1 \\$selection of method Mage_Bundle_Model_Option\\:\\:addSelection\\(\\) expects Mage_Bundle_Model_Selection, Mage_Catalog_Model_Product given\\.$#" + message: '#^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 - - message: "#^Variable \\$basePrice might not be defined\\.$#" + message: '#^Variable \$basePrice might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Bundle/Model/Resource/Price/Index.php - - message: "#^Variable \\$customOptions might not be defined\\.$#" + message: '#^Variable \$customOptions might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Bundle/Model/Resource/Price/Index.php - - message: "#^Property Mage_Captcha_Model_Zend\\:\\:\\$_helper \\(Mage_Captcha_Helper_Data\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Captcha_Model_Zend\:\:\$_helper \(Mage_Captcha_Helper_Data\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Captcha/Model/Zend.php - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Argument of an invalid type string supplied for foreach, only iterables are supported\\.$#" + message: '#^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 - - message: "#^Cannot call method count\\(\\) on string\\.$#" + message: '#^Cannot call method count\(\) on string\.$#' + identifier: method.nonObject count: 2 path: app/code/core/Mage/Catalog/Block/Navigation.php - - message: "#^If condition is always true\\.$#" + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue count: 1 path: app/code/core/Mage/Catalog/Block/Product.php - - message: "#^Variable \\$productId might not be defined\\.$#" + message: '#^Variable \$productId might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Catalog/Block/Product.php - - message: "#^Method Mage_Catalog_Model_Resource_Product_Compare_Item_Collection\\:\\:useProductItem\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Catalog_Model_Resource_Product_Compare_Item_Collection\:\:useProductItem\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Catalog/Block/Product/Compare/List.php - - message: "#^Property Mage_Catalog_Block_Product_List_Crosssell\\:\\:\\$_itemCollection \\(Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Link_Product_Collection\\) does not accept Mage_Catalog_Model_Resource_Product_Link_Product_Collection\\.$#" + message: '#^Property Mage_Catalog_Block_Product_List_Crosssell\:\:\$_itemCollection \(Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Link_Product_Collection\) does not accept Mage_Catalog_Model_Resource_Product_Link_Product_Collection\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Catalog/Block/Product/List/Crosssell.php - - message: "#^Property Mage_Catalog_Block_Product_List_Toolbar\\:\\:\\$_collection \\(Mage_Core_Model_Resource_Db_Collection_Abstract\\) does not accept Varien_Data_Collection\\.$#" + message: '#^Property Mage_Catalog_Block_Product_List_Toolbar\:\:\$_collection \(Mage_Core_Model_Resource_Db_Collection_Abstract\) does not accept Varien_Data_Collection\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Catalog/Block/Product/List/Toolbar.php - - message: "#^Parameter \\#1 \\$price of method Mage_Core_Model_Store\\:\\:convertPrice\\(\\) expects float, string given\\.$#" + message: '#^Parameter \#1 \$price of method Mage_Core_Model_Store\:\:convertPrice\(\) expects float, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Block/Product/View/Attributes.php - - message: "#^Method Mage_Catalog_Block_Product_View_Options_Type_Date\\:\\:_getValueWithLeadingZeros\\(\\) should return string but returns int\\.$#" + message: '#^Method Mage_Catalog_Block_Product_View_Options_Type_Date\:\:_getValueWithLeadingZeros\(\) should return string but returns int\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Catalog/Block/Product/View/Options/Type/Date.php - - message: "#^Invalid array key type array\\.$#" + message: '#^Invalid array key type array\.$#' + identifier: offsetAccess.invalidOffset count: 1 path: app/code/core/Mage/Catalog/Block/Product/View/Type/Configurable.php - - message: "#^Variable \\$finish might not be defined\\.$#" + message: '#^Variable \$finish might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Catalog/Block/Product/Widget/Html/Pager.php - - message: "#^Variable \\$start might not be defined\\.$#" + message: '#^Variable \$start might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Catalog/Block/Product/Widget/Html/Pager.php - - message: "#^Property Mage_Catalog_Block_Product_Widget_New\\:\\:\\$_pager \\(Mage_Catalog_Block_Product_Widget_Html_Pager\\) does not accept Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^Property Mage_Catalog_Block_Product_Widget_New\:\:\$_pager \(Mage_Catalog_Block_Product_Widget_Html_Pager\) does not accept Mage_Core_Block_Abstract\|false\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Catalog/Block/Product/Widget/New.php - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Variable \\$finish might not be defined\\.$#" + message: '#^Variable \$finish might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Catalog/Block/Seo/Sitemap/Tree/Pager.php - - message: "#^Variable \\$start might not be defined\\.$#" + message: '#^Variable \$start might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Catalog/Block/Seo/Sitemap/Tree/Pager.php - - message: "#^Parameter \\#1 \\$entityId of method Mage_Catalog_Model_Resource_Abstract\\:\\:getAttributeRawValue\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#1 \$entityId of method Mage_Catalog_Model_Resource_Abstract\:\:getAttributeRawValue\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Block/Widget/Link.php - - message: "#^Parameter \\#1 \\$productId of method Mage_Catalog_Helper_Product\\:\\:getFullProductUrl\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#1 \$productId of method Mage_Catalog_Helper_Product\:\:getFullProductUrl\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Block/Widget/Link.php - - message: "#^Parameter \\#2 \\$categoryId of method Mage_Catalog_Helper_Product\\:\\:getFullProductUrl\\(\\) expects int\\|null, string\\|null given\\.$#" + message: '#^Parameter \#2 \$categoryId of method Mage_Catalog_Helper_Product\:\:getFullProductUrl\(\) expects int\|null, string\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Block/Widget/Link.php - - message: "#^Variable \\$store might not be defined\\.$#" + message: '#^Variable \$store might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Catalog/Block/Widget/Link.php - - message: "#^Parameter \\#1 \\$categoryId of method Mage_Catalog_Helper_Data\\:\\:_isCategoryLink\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#1 \$categoryId of method Mage_Catalog_Helper_Data\:\:_isCategoryLink\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Helper/Data.php - - message: "#^Parameter \\#2 \\$visibility of method Mage_Catalog_Helper_Data\\:\\:canApplyMsrp\\(\\) expects int\\|null, string given\\.$#" + message: '#^Parameter \#2 \$visibility of method Mage_Catalog_Helper_Data\:\:canApplyMsrp\(\) expects int\|null, string given\.$#' + identifier: argument.type count: 3 path: app/code/core/Mage/Catalog/Helper/Data.php - - message: "#^Property Mage_Catalog_Helper_Output\\:\\:\\$_templateProcessor \\(Varien_Filter_Template\\) does not accept Mage_Core_Model_Abstract\\|false\\.$#" + message: '#^Property Mage_Catalog_Helper_Output\:\:\$_templateProcessor \(Varien_Filter_Template\) does not accept Mage_Core_Model_Abstract\|false\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Catalog/Helper/Output.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Attribute_Frontend_Abstract\\:\\:getUrl\\(\\)\\.$#" + message: '#^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 - - message: "#^Ternary operator condition is always true\\.$#" + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue count: 1 path: app/code/core/Mage/Catalog/Helper/Product.php - - message: "#^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\\.$#" + message: '#^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 - - message: "#^Property Mage_Catalog_Helper_Product_Compare\\:\\:\\$_itemCollection \\(Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Compare_Item_Collection\\) does not accept Mage_Catalog_Model_Resource_Product_Compare_Item_Collection\\.$#" + message: '#^Property Mage_Catalog_Helper_Product_Compare\:\:\$_itemCollection \(Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Compare_Item_Collection\) does not accept Mage_Catalog_Model_Resource_Product_Compare_Item_Collection\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Catalog/Helper/Product/Compare.php - - message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, float given\\.$#" + message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, float given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Helper/Product/Type/Composite.php - - message: "#^Call to an undefined method Mage_Core_Model_Resource_Db_Collection_Abstract\\:\\:setStoreId\\(\\)\\.$#" + message: '#^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 - - message: "#^Method Mage_Core_Model_Website\\:\\:getStoreIds\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^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 - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Catalog_Model_Api_Resource\\:\\:_checkAttributeAcl\\(\\)\\.$#" + message: '#^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 - - message: "#^If condition is always false\\.$#" + message: '#^If condition is always false\.$#' + identifier: if.alwaysFalse count: 2 path: app/code/core/Mage/Catalog/Model/Api2/Product/Rest.php - - message: "#^Parameter \\#1 \\$shippingAddress of method Mage_Tax_Model_Calculation\\:\\:getRateRequest\\(\\) expects Mage_Sales_Model_Quote_Address\\|false\\|null, Mage_Customer_Model_Address\\|null given\\.$#" + message: '#^Parameter \#1 \$shippingAddress of method Mage_Tax_Model_Calculation\:\:getRateRequest\(\) expects Mage_Sales_Model_Quote_Address\|false\|null, Mage_Customer_Model_Address\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Api2/Product/Rest.php - - message: "#^Parameter \\#2 \\$billingAddress of method Mage_Tax_Model_Calculation\\:\\:getRateRequest\\(\\) expects Mage_Sales_Model_Quote_Address\\|false\\|null, Mage_Customer_Model_Address\\|null given\\.$#" + message: '#^Parameter \#2 \$billingAddress of method Mage_Tax_Model_Calculation\:\:getRateRequest\(\) expects Mage_Sales_Model_Quote_Address\|false\|null, Mage_Customer_Model_Address\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Api2/Product/Rest.php - - message: "#^Call to an undefined method Mage_Core_Model_Abstract\\:\\:toOptionArray\\(\\)\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Attribute_Backend_Abstract\\:\\:formatDate\\(\\)\\.$#" + message: '#^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 - - message: "#^Strict comparison using \\!\\=\\= between mixed and 0 will always evaluate to true\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Varien_Object\\:\\:formatUrlKey\\(\\)\\.$#" + message: '#^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 - - message: "#^If condition is always true\\.$#" + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue count: 1 path: app/code/core/Mage/Catalog/Model/Category.php - - message: "#^Left side of && is always true\\.$#" + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue count: 1 path: app/code/core/Mage/Catalog/Model/Category.php - - message: "#^Cannot call method getRootCategoryId\\(\\) on int\\|string\\.$#" + message: '#^Cannot call method getRootCategoryId\(\) on int\|string\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Catalog/Model/Category/Api.php - - message: "#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\\:\\:getAllOptions\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Catalog_Model_Config\\:\\:_init\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Catalog_Model_Config\:\:_init\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Config.php - - message: "#^Method Mage_Catalog_Model_Config\\:\\:getAttributeSetId\\(\\) invoked with 1 parameter, 2 required\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\\:\\:getStoreId\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:getStoreId\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php - - message: "#^Cannot call method setStoreId\\(\\) on Mage_Eav_Model_Entity_Collection\\|false\\.$#" + message: '#^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 - - message: "#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\\:\\:getAllOptions\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^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 - - message: "#^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\\.$#" + message: '#^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 - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\\:\\:setStore\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:setStore\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Convert/Parser/Product.php - - message: "#^Method Mage_Catalog_Model_Category\\:\\:getParentDesignCategory\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^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 - - message: "#^Variable \\$_category might not be defined\\.$#" + message: '#^Variable \$_category might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Catalog/Model/Design.php - - message: "#^Property Mage_Catalog_Model_Entity_Product_Attribute_Design_Options_Container\\:\\:\\$_configNodePath \\(Mage_Core_Model_Config_Element\\) does not accept string\\.$#" + message: '#^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 - - message: "#^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\\.$#" + message: '#^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 - - message: "#^Parameter \\#2 \\$filterBlock \\(Varien_Object\\) of method Mage_Catalog_Model_Layer_Filter_Attribute\\:\\:apply\\(\\) should be compatible with parameter \\$filterBlock \\(null\\) of method Mage_Catalog_Model_Layer_Filter_Abstract\\:\\:apply\\(\\)$#" + message: '#^Parameter \#2 \$filterBlock \(Varien_Object\) of method Mage_Catalog_Model_Layer_Filter_Attribute\:\:apply\(\) should be compatible with parameter \$filterBlock \(null\) of method Mage_Catalog_Model_Layer_Filter_Abstract\:\:apply\(\)$#' + identifier: method.childParameterType count: 1 path: app/code/core/Mage/Catalog/Model/Layer/Filter/Attribute.php - - message: "#^Parameter \\#1 \\$range of method Mage_Catalog_Model_Layer_Filter_Decimal\\:\\:_renderItemLabel\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#1 \$range of method Mage_Catalog_Model_Layer_Filter_Decimal\:\:_renderItemLabel\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Layer/Filter/Decimal.php - - message: "#^Parameter \\#1 \\$string of function strlen expects string, float given\\.$#" + message: '#^Parameter \#1 \$string of function strlen expects string, float given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Layer/Filter/Decimal.php - - message: "#^Parameter \\#2 \\$filterBlock \\(Mage_Catalog_Block_Layer_Filter_Decimal\\) of method Mage_Catalog_Model_Layer_Filter_Decimal\\:\\:apply\\(\\) should be compatible with parameter \\$filterBlock \\(null\\) of method Mage_Catalog_Model_Layer_Filter_Abstract\\:\\:apply\\(\\)$#" + message: '#^Parameter \#2 \$filterBlock \(Mage_Catalog_Block_Layer_Filter_Decimal\) of method Mage_Catalog_Model_Layer_Filter_Decimal\:\:apply\(\) should be compatible with parameter \$filterBlock \(null\) of method Mage_Catalog_Model_Layer_Filter_Abstract\:\:apply\(\)$#' + identifier: method.childParameterType count: 1 path: app/code/core/Mage/Catalog/Model/Layer/Filter/Decimal.php - - message: "#^Parameter \\#2 \\$filterBlock of method Mage_Catalog_Model_Layer_Filter_Abstract\\:\\:apply\\(\\) expects null, Mage_Catalog_Block_Layer_Filter_Decimal given\\.$#" + message: '#^Parameter \#2 \$filterBlock of method Mage_Catalog_Model_Layer_Filter_Abstract\:\:apply\(\) expects null, Mage_Catalog_Block_Layer_Filter_Decimal given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Layer/Filter/Decimal.php - - message: "#^Parameter \\#2 \\$range of method Mage_Catalog_Model_Resource_Layer_Filter_Decimal\\:\\:applyFilterToCollection\\(\\) expects float, string given\\.$#" + message: '#^Parameter \#2 \$range of method Mage_Catalog_Model_Resource_Layer_Filter_Decimal\:\:applyFilterToCollection\(\) expects float, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Layer/Filter/Decimal.php - - message: "#^Parameter \\#2 \\$value of method Mage_Catalog_Model_Layer_Filter_Decimal\\:\\:_renderItemLabel\\(\\) expects float, string given\\.$#" + message: '#^Parameter \#2 \$value of method Mage_Catalog_Model_Layer_Filter_Decimal\:\:_renderItemLabel\(\) expects float, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Layer/Filter/Decimal.php - - message: "#^Parameter \\#3 \\$index of method Mage_Catalog_Model_Resource_Layer_Filter_Decimal\\:\\:applyFilterToCollection\\(\\) expects int, string given\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$string of function strlen expects string, float given\\.$#" + message: '#^Parameter \#1 \$string of function strlen expects string, float given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php - - message: "#^Parameter \\#3 \\$lowerPrice of method Mage_Catalog_Model_Layer_Filter_Price\\:\\:loadPreviousPrices\\(\\) expects int\\|null, float\\|null given\\.$#" + message: '#^Parameter \#3 \$lowerPrice of method Mage_Catalog_Model_Layer_Filter_Price\:\:loadPreviousPrices\(\) expects int\|null, float\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Layer/Filter/Price/Algorithm.php - - message: "#^Parameter \\#3 \\$upperPrice of method Mage_Catalog_Model_Layer_Filter_Price\\:\\:loadNextPrices\\(\\) expects int\\|null, float\\|null given\\.$#" + message: '#^Parameter \#3 \$upperPrice of method Mage_Catalog_Model_Layer_Filter_Price\:\:loadNextPrices\(\) expects int\|null, float\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Layer/Filter/Price/Algorithm.php - - message: "#^Parameter \\#4 \\$upperPrice of method Mage_Catalog_Model_Layer_Filter_Price\\:\\:loadPrices\\(\\) expects int\\|null, float\\|null given\\.$#" + message: '#^Parameter \#4 \$upperPrice of method Mage_Catalog_Model_Layer_Filter_Price\:\:loadPrices\(\) expects int\|null, float\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Layer/Filter/Price/Algorithm.php - - message: "#^Method Mage_Catalog_Model_Resource_Category_Flat\\:\\:move\\(\\) invoked with 3 parameters, 1 required\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Attribute_Backend_Abstract\\:\\:addImage\\(\\)\\.$#" + message: '#^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 - - message: "#^Method Mage_Catalog_Model_Product\\:\\:getPriceModel\\(\\) should return Mage_Bundle_Model_Product_Price but returns Mage_Catalog_Model_Product_Type_Price\\.$#" + message: '#^Method Mage_Catalog_Model_Product\:\:getPriceModel\(\) should return Mage_Bundle_Model_Product_Price but returns Mage_Catalog_Model_Product_Type_Price\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Catalog/Model/Product.php - - message: "#^Parameter \\#1 \\$tags of method Mage_Core_Model_App\\:\\:cleanCache\\(\\) expects array, string given\\.$#" + message: '#^Parameter \#1 \$tags of method Mage_Core_Model_App\:\:cleanCache\(\) expects array, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Product.php - - message: "#^Parameter \\#2 \\$attributes of method Mage_Catalog_Model_Api_Resource\\:\\:_isAllowedAttribute\\(\\) expects array\\|null, stdClass\\|null given\\.$#" + message: '#^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 - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Cannot call method getBackend\\(\\) on bool\\|Mage_Catalog_Model_Resource_Attribute\\.$#" + message: '#^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 - - message: "#^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\\(\\)$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$skeletonId of method Mage_Eav_Model_Entity_Attribute_Set\\:\\:initFromSkeleton\\(\\) expects int, string given\\.$#" + message: '#^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 - - message: "#^Method Mage_Catalog_Model_Resource_Product_Compare_Item\\:\\:clean\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Catalog_Model_Resource_Product_Flat_Indexer\\:\\:prepareFlatTables\\(\\)\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$height of method Mage_Catalog_Model_Product_Image\\:\\:setHeight\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#1 \$height of method Mage_Catalog_Model_Product_Image\:\:setHeight\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Product/Image.php - - message: "#^Parameter \\#1 \\$heigth of method Varien_Image\\:\\:setWatermarkHeigth\\(\\) expects int, string given\\.$#" + message: '#^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 - - message: "#^Parameter \\#1 \\$size of method Mage_Catalog_Model_Product_Image\\:\\:setWatermarkSize\\(\\) expects array, string given\\.$#" + message: '#^Parameter \#1 \$size of method Mage_Catalog_Model_Product_Image\:\:setWatermarkSize\(\) expects array, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Product/Image.php - - message: "#^Parameter \\#1 \\$width of method Mage_Catalog_Model_Product_Image\\:\\:setWidth\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#1 \$width of method Mage_Catalog_Model_Product_Image\:\:setWidth\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Product/Image.php - - message: "#^Cannot call method isIndexable\\(\\) on Mage_Eav_Model_Entity_Attribute_Abstract\\|false\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Catalog_Model_Product_Configuration_Item_Option_Interface\\:\\:getId\\(\\)\\.$#" + message: '#^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 - - message: "#^Call to an undefined method Mage_Catalog_Model_Product_Configuration_Item_Option_Interface\\:\\:setValue\\(\\)\\.$#" + message: '#^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 - - message: "#^Elseif condition is always true\\.$#" + message: '#^Elseif condition is always true\.$#' + identifier: elseif.alwaysTrue count: 2 path: app/code/core/Mage/Catalog/Model/Product/Option/Type/Select.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Collection_Abstract\\:\\:getStoreId\\(\\)\\.$#" + message: '#^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 - - message: "#^Method Mage_Catalog_Model_Product_Type\\:\\:priceFactory\\(\\) should return Mage_Catalog_Model_Product_Type_Price but returns Mage_Core_Model_Abstract\\|false\\.$#" + message: '#^Method Mage_Catalog_Model_Product_Type\:\:priceFactory\(\) should return Mage_Catalog_Model_Product_Type_Price but returns Mage_Core_Model_Abstract\|false\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Catalog/Model/Product/Type.php - - message: "#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#" + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType count: 1 path: app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php - - message: "#^Method Mage_Catalog_Model_Product_Type_Configurable\\:\\:getProductByAttributes\\(\\) should return Mage_Catalog_Model_Product\\|null but returns Varien_Object\\.$#" + message: '#^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 - - message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, '\\\\\\\\intval' given\\.$#" + message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, ''\\\\intval'' given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php - - message: "#^Parameter \\#3 \\$product of method Mage_Catalog_Model_Product\\:\\:addCustomOption\\(\\) expects int\\|null, Mage_Catalog_Model_Product given\\.$#" + message: '#^Parameter \#3 \$product of method Mage_Catalog_Model_Product\:\:addCustomOption\(\) expects int\|null, Mage_Catalog_Model_Product given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php - - message: "#^Parameter \\#2 \\$qty of method Mage_Catalog_Model_Product_Type_Price\\:\\:_applyOptionsPrice\\(\\) expects int, float\\|null given\\.$#" + message: '#^Parameter \#2 \$qty of method Mage_Catalog_Model_Product_Type_Price\:\:_applyOptionsPrice\(\) expects int, float\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Product/Type/Configurable/Price.php - - message: "#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#" + message: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + identifier: function.impossibleType count: 1 path: app/code/core/Mage/Catalog/Model/Product/Type/Grouped.php - - message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, '\\\\\\\\intval' given\\.$#" + message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, ''\\\\intval'' given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Product/Type/Grouped.php - - message: "#^Parameter \\#3 \\$product of method Mage_Catalog_Model_Product\\:\\:addCustomOption\\(\\) expects int\\|null, Mage_Catalog_Model_Product given\\.$#" + message: '#^Parameter \#3 \$product of method Mage_Catalog_Model_Product\:\:addCustomOption\(\) expects int\|null, Mage_Catalog_Model_Product given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Product/Type/Grouped.php - - message: "#^Parameter \\#2 \\$qty of method Mage_Catalog_Model_Product_Type_Price\\:\\:_applyOptionsPrice\\(\\) expects int, float\\|null given\\.$#" + message: '#^Parameter \#2 \$qty of method Mage_Catalog_Model_Product_Type_Price\:\:_applyOptionsPrice\(\) expects int, float\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Product/Type/Price.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Attribute_Abstract\\:\\:isScopeStore\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Attribute_Abstract\:\:isScopeStore\(\)\.$#' + identifier: method.notFound count: 2 path: app/code/core/Mage/Catalog/Model/Resource/Abstract.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Attribute_Abstract\\:\\:isScopeWebsite\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Attribute_Abstract\:\:isScopeWebsite\(\)\.$#' + identifier: method.notFound count: 2 path: app/code/core/Mage/Catalog/Model/Resource/Abstract.php - - message: "#^Cannot call method isScopeStore\\(\\) on Mage_Eav_Model_Entity_Attribute_Abstract\\|false\\.$#" + message: '#^Cannot call method isScopeStore\(\) on Mage_Eav_Model_Entity_Attribute_Abstract\|false\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Abstract.php - - message: "#^Cannot call method isScopeWebsite\\(\\) on Mage_Eav_Model_Entity_Attribute_Abstract\\|false\\.$#" + message: '#^Cannot call method isScopeWebsite\(\) on Mage_Eav_Model_Entity_Attribute_Abstract\|false\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Abstract.php - - message: "#^Method Mage_Core_Model_Website\\:\\:getStoreIds\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Core_Model_Website\:\:getStoreIds\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Abstract.php - - message: "#^PHPDoc tag @var with type Mage_Catalog_Model_Entity_Attribute is not subtype of native type non\\-empty\\-array\\.$#" + message: '#^PHPDoc tag @var with type Mage_Catalog_Model_Entity_Attribute is not subtype of native type non\-empty\-array\\.$#' + identifier: varTag.nativeType count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Abstract.php - - message: "#^Parameter \\#1 \\$object of method Mage_Catalog_Model_Resource_Abstract\\:\\:load\\(\\) expects Mage_Core_Model_Abstract, Varien_Object given\\.$#" + message: '#^Parameter \#1 \$object of method Mage_Catalog_Model_Resource_Abstract\:\:load\(\) expects Mage_Core_Model_Abstract, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Abstract.php - - message: "#^Right side of \\|\\| is always true\\.$#" + message: '#^Right side of \|\| is always true\.$#' + identifier: booleanOr.rightAlwaysTrue count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Abstract.php - - message: "#^Parameter \\#1 \\$object of method Mage_Catalog_Model_Resource_Attribute\\:\\:_clearUselessAttributeValues\\(\\) expects Mage_Catalog_Model_Resource_Eav_Attribute, Mage_Eav_Model_Entity_Attribute given\\.$#" + message: '#^Parameter \#1 \$object of method Mage_Catalog_Model_Resource_Attribute\:\:_clearUselessAttributeValues\(\) expects Mage_Catalog_Model_Resource_Eav_Attribute, Mage_Eav_Model_Entity_Attribute given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Attribute.php - - message: "#^Parameter \\#3 \\$exclude of method Mage_Catalog_Model_Resource_Category_Tree\\:\\:addCollectionData\\(\\) expects array, int given\\.$#" + message: '#^Parameter \#3 \$exclude of method Mage_Catalog_Model_Resource_Category_Tree\:\:addCollectionData\(\) expects array, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category.php - - message: "#^Property Mage_Catalog_Model_Resource_Category\\:\\:\\$_storeId \\(int\\) on left side of \\?\\? is not nullable\\.$#" + message: '#^Property Mage_Catalog_Model_Resource_Category\:\:\$_storeId \(int\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category.php - - message: "#^Property Mage_Catalog_Model_Resource_Category\\:\\:\\$_tree \\(Varien_Data_Tree_Db\\) does not accept Varien_Data_Tree_Dbp\\.$#" + message: '#^Property Mage_Catalog_Model_Resource_Category\:\:\$_tree \(Varien_Data_Tree_Db\) does not accept Varien_Data_Tree_Dbp\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category.php - - message: "#^Variable \\$condition might not be defined\\.$#" + message: '#^Variable \$condition might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category/Collection.php - - message: "#^Call to an undefined method Mage_Catalog_Model_Resource_Category_Collection\\:\\:addSortedField\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Catalog_Model_Resource_Category_Collection\:\:addSortedField\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category/Flat.php - - message: "#^Variable \\$options might not be defined\\.$#" + message: '#^Variable \$options might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category/Flat.php - - message: "#^Call to an undefined method Mage_Core_Model_Resource_Db_Abstract\\:\\:getMainStoreTable\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Core_Model_Resource_Db_Abstract\:\:getMainStoreTable\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category/Flat/Collection.php - - message: "#^Parameter \\#1 \\$resource of method Mage_Core_Model_Resource_Db_Collection_Abstract\\:\\:__construct\\(\\) expects Mage_Core_Model_Resource_Db_Abstract\\|null, Mage_Core_Model_Resource_Abstract\\|null given\\.$#" + message: '#^Parameter \#1 \$resource of method Mage_Core_Model_Resource_Db_Collection_Abstract\:\:__construct\(\) expects Mage_Core_Model_Resource_Db_Abstract\|null, Mage_Core_Model_Resource_Abstract\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category/Flat/Collection.php - - message: "#^Variable \\$condition might not be defined\\.$#" + message: '#^Variable \$condition might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category/Flat/Collection.php - - message: "#^Call to an undefined method Zend_Db_Select\\:\\:insertFromSelect\\(\\)\\.$#" + message: '#^Call to an undefined method Zend_Db_Select\:\:insertFromSelect\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category/Indexer/Product.php - - message: "#^Variable \\$anchorProductsTable might not be defined\\.$#" + message: '#^Variable \$anchorProductsTable might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category/Indexer/Product.php - - message: "#^Variable \\$anchorTable might not be defined\\.$#" + message: '#^Variable \$anchorTable might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category/Indexer/Product.php - - message: "#^Variable \\$enabledTable might not be defined\\.$#" + message: '#^Variable \$enabledTable might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category/Indexer/Product.php - - message: "#^Call to an undefined method Zend_Db_Adapter_Abstract\\:\\:getCheckSql\\(\\)\\.$#" + message: '#^Call to an undefined method Zend_Db_Adapter_Abstract\:\:getCheckSql\(\)\.$#' + identifier: method.notFound count: 2 path: app/code/core/Mage/Catalog/Model/Resource/Category/Tree.php - - message: "#^Call to an undefined method Zend_Db_Adapter_Abstract\\:\\:getConcatSql\\(\\)\\.$#" + message: '#^Call to an undefined method Zend_Db_Adapter_Abstract\:\:getConcatSql\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category/Tree.php - - message: "#^Call to an undefined method Zend_Db_Adapter_Abstract\\:\\:getLengthSql\\(\\)\\.$#" + message: '#^Call to an undefined method Zend_Db_Adapter_Abstract\:\:getLengthSql\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category/Tree.php - - message: "#^Method Mage_Catalog_Model_Resource_Category_Tree\\:\\:_getItemIsActive\\(\\) invoked with 2 parameters, 1 required\\.$#" + message: '#^Method Mage_Catalog_Model_Resource_Category_Tree\:\:_getItemIsActive\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category/Tree.php - - message: "#^Parameter \\#1 \\$connection of method Varien_Data_Tree_Dbp\\:\\:__construct\\(\\) expects Zend_Db_Adapter_Abstract, Varien_Db_Adapter_Interface\\|false given\\.$#" + message: '#^Parameter \#1 \$connection of method Varien_Data_Tree_Dbp\:\:__construct\(\) expects Zend_Db_Adapter_Abstract, Varien_Db_Adapter_Interface\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category/Tree.php - - message: "#^Parameter \\#2 \\$cols of method Zend_Db_Select\\:\\:from\\(\\) expects array\\|string\\|Zend_Db_Expr, null given\\.$#" + message: '#^Parameter \#2 \$cols of method Zend_Db_Select\:\:from\(\) expects array\|string\|Zend_Db_Expr, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Category/Tree.php - - message: "#^Parameter \\#2 \\$alias of method Varien_Db_Adapter_Interface\\:\\:quoteColumnAs\\(\\) expects string, null given\\.$#" + message: '#^Parameter \#2 \$alias of method Varien_Db_Adapter_Interface\:\:quoteColumnAs\(\) expects string, null given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Catalog/Model/Resource/Collection/Abstract.php - - message: "#^Property Mage_Catalog_Model_Resource_Config\\:\\:\\$_storeId \\(int\\) on left side of \\?\\? is not nullable\\.$#" + message: '#^Property Mage_Catalog_Model_Resource_Config\:\:\$_storeId \(int\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Config.php - - message: "#^Binary operation \"\\-\" between int and non\\-falsy\\-string results in an error\\.$#" + message: '#^Binary operation "\-" between int and non\-falsy\-string results in an error\.$#' + identifier: binaryOp.invalid count: 2 path: app/code/core/Mage/Catalog/Model/Resource/Layer/Filter/Price.php - - message: "#^Binary operation \"\\-\" between non\\-falsy\\-string and 1 results in an error\\.$#" + message: '#^Binary operation "\-" between non\-falsy\-string and 1 results in an error\.$#' + identifier: binaryOp.invalid count: 2 path: app/code/core/Mage/Catalog/Model/Resource/Layer/Filter/Price.php - - message: "#^Call to an undefined method Mage_Catalog_Model_Resource_Category\\:\\:refreshProductIndex\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Catalog_Model_Resource_Category\:\:refreshProductIndex\(\)\.$#' + identifier: method.notFound count: 2 path: app/code/core/Mage/Catalog/Model/Resource/Product.php - - message: "#^Call to function is_array\\(\\) with non\\-empty\\-array will always evaluate to true\\.$#" + message: '#^Call to function is_array\(\) with non\-empty\-array will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product.php - - message: "#^Method Mage_Catalog_Model_Url\\:\\:refreshProductRewrites\\(\\) invoked with 3 parameters, 1 required\\.$#" + message: '#^Method Mage_Catalog_Model_Url\:\:refreshProductRewrites\(\) invoked with 3 parameters, 1 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Urlkey.php - - message: "#^Parameter \\#2 \\$resourceModel of method Mage_Core_Model_Resource_Db_Collection_Abstract\\:\\:_init\\(\\) expects Mage_Core_Model_Resource_Db_Abstract\\|null, string given\\.$#" + message: '#^Parameter \#2 \$resourceModel of method Mage_Core_Model_Resource_Db_Collection_Abstract\:\:_init\(\) expects Mage_Core_Model_Resource_Db_Abstract\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Collection.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\\:\\:getAllTableColumns\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:getAllTableColumns\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\\:\\:getAttributeForSelect\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:getAttributeForSelect\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\\:\\:getAttributeSortColumn\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:getAttributeSortColumn\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\\:\\:getFlatTableName\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:getFlatTableName\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\\:\\:setStoreId\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:setStoreId\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php - - message: "#^Method Mage_Catalog_Model_Resource_Product_Collection\\:\\:_addUrlRewrite\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Catalog_Model_Resource_Product_Collection\:\:_addUrlRewrite\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php - - message: "#^Method Mage_Catalog_Model_Resource_Product_Collection\\:\\:getProductCountSelect\\(\\) should return Varien_Db_Select but returns Zend_Db_Select\\.$#" + message: '#^Method Mage_Catalog_Model_Resource_Product_Collection\:\:getProductCountSelect\(\) should return Varien_Db_Select but returns Zend_Db_Select\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php - - message: "#^Parameter \\#1 \\$expression of class Zend_Db_Expr constructor expects string, int given\\.$#" + message: '#^Parameter \#1 \$expression of class Zend_Db_Expr constructor expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php - - message: "#^Property Mage_Catalog_Model_Resource_Product_Collection\\:\\:\\$_urlRewriteCategory \\(int\\) does not accept default value of type string\\.$#" + message: '#^Property Mage_Catalog_Model_Resource_Product_Collection\:\:\$_urlRewriteCategory \(int\) does not accept default value of type string\.$#' + identifier: property.defaultValue count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php - - message: "#^Variable \\$websiteId might not be defined\\.$#" + message: '#^Variable \$websiteId might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php - - message: "#^Parameter \\#1 \\$object of method Mage_Eav_Model_Entity_Collection_Abstract\\:\\:setObject\\(\\) expects Varien_Object\\|null, string given\\.$#" + message: '#^Parameter \#1 \$object of method Mage_Eav_Model_Entity_Collection_Abstract\:\:setObject\(\) expects Varien_Object\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Compare/Item/Collection.php - - message: "#^Method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\\:\\:_getAttribute\\(\\) should return Mage_Catalog_Model_Resource_Eav_Attribute but returns Mage_Eav_Model_Entity_Attribute_Abstract\\|false\\.$#" + message: '#^Method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\:\:_getAttribute\(\) should return Mage_Catalog_Model_Resource_Eav_Attribute but returns Mage_Eav_Model_Entity_Attribute_Abstract\|false\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Abstract.php - - message: "#^Parameter \\#5 \\$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\\:\\:_addAttributeToSelect\\(\\) expects Zend_Db_Expr\\|null, string given\\.$#" + message: '#^Parameter \#5 \$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\:\:_addAttributeToSelect\(\) expects Zend_Db_Expr\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Eav/Abstract.php - - message: "#^Parameter \\#5 \\$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\\:\\:_addAttributeToSelect\\(\\) expects Zend_Db_Expr\\|null, string given\\.$#" + message: '#^Parameter \#5 \$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\:\:_addAttributeToSelect\(\) expects Zend_Db_Expr\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Eav/Decimal.php - - message: "#^Parameter \\#5 \\$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\\:\\:_addAttributeToSelect\\(\\) expects Zend_Db_Expr\\|null, string given\\.$#" + message: '#^Parameter \#5 \$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\:\:_addAttributeToSelect\(\) expects Zend_Db_Expr\|null, string given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Eav/Source.php - - message: "#^Call to an undefined method Mage_Catalog_Model_Resource_Product_Indexer_Price_Interface\\:\\:getIsComposite\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Catalog_Model_Resource_Product_Indexer_Price_Interface\:\:getIsComposite\(\)\.$#' + identifier: method.notFound count: 2 path: app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price.php - - message: "#^Cannot call method setTypeId\\(\\) on Mage_Core_Model_Resource_Db_Collection_Abstract\\|false\\.$#" + message: '#^Cannot call method setTypeId\(\) on Mage_Core_Model_Resource_Db_Collection_Abstract\|false\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price.php - - message: "#^Parameter \\#5 \\$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\\:\\:_addAttributeToSelect\\(\\) expects Zend_Db_Expr\\|null, string given\\.$#" + message: '#^Parameter \#5 \$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\:\:_addAttributeToSelect\(\) expects Zend_Db_Expr\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price/Configurable.php - - message: "#^Parameter \\#5 \\$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\\:\\:_addAttributeToSelect\\(\\) expects Zend_Db_Expr\\|null, string given\\.$#" + message: '#^Parameter \#5 \$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\:\:_addAttributeToSelect\(\) expects Zend_Db_Expr\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price/Default.php - - message: "#^Parameter \\#5 \\$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\\:\\:_addAttributeToSelect\\(\\) expects Zend_Db_Expr\\|null, string given\\.$#" + message: '#^Parameter \#5 \$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\:\:_addAttributeToSelect\(\) expects Zend_Db_Expr\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price/Grouped.php - - message: "#^Parameter \\#2 \\$alias of method Varien_Db_Adapter_Interface\\:\\:quoteColumnAs\\(\\) expects string, null given\\.$#" + message: '#^Parameter \#2 \$alias of method Varien_Db_Adapter_Interface\:\:quoteColumnAs\(\) expects string, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Link/Collection.php - - message: "#^Left side of && is always true\\.$#" + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Link/Product/Collection.php - - message: "#^Parameter \\#2 \\$newOptionId of method Mage_Catalog_Model_Product_Option_Value\\:\\:duplicate\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#2 \$newOptionId of method Mage_Catalog_Model_Product_Option_Value\:\:duplicate\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Product/Option.php - - message: "#^Parameter \\#3 \\$default of method Mage_Eav_Model_Entity_Setup\\:\\:_getValue\\(\\) expects string\\|null, int given\\.$#" + message: '#^Parameter \#3 \$default of method Mage_Eav_Model_Entity_Setup\:\:_getValue\(\) expects string\|null, int given\.$#' + identifier: argument.type count: 15 path: app/code/core/Mage/Catalog/Model/Resource/Setup.php - - message: "#^Variable \\$category might not be defined\\.$#" + message: '#^Variable \$category might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Url.php - - message: "#^Loose comparison using \\=\\= between true and true will always evaluate to true\\.$#" + message: '#^Loose comparison using \=\= between true and true will always evaluate to true\.$#' + identifier: equal.alwaysTrue count: 2 path: app/code/core/Mage/Catalog/Model/Url.php - - message: "#^Property Mage_Catalog_Model_Url\\:\\:\\$_saveRewritesHistory \\(bool\\) on left side of \\?\\? is not nullable\\.$#" + message: '#^Property Mage_Catalog_Model_Url\:\:\$_saveRewritesHistory \(bool\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property count: 1 path: app/code/core/Mage/Catalog/Model/Url.php - - message: "#^Call to an undefined method Mage_CatalogIndex_Model_Resource_Attribute\\:\\:checkCount\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_CatalogIndex_Model_Resource_Attribute\:\:checkCount\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/CatalogIndex/Model/Attribute.php - - message: "#^Parameter \\#8 \\$productId of method Mage_Catalog_Model_Product_Type_Price\\:\\:calculatePrice\\(\\) expects int\\|null, array given\\.$#" + message: '#^Parameter \#8 \$productId of method Mage_Catalog_Model_Product_Type_Price\:\:calculatePrice\(\) expects int\|null, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/CatalogIndex/Model/Data/Abstract.php - - message: "#^Variable \\$idField might not be defined\\.$#" + message: '#^Variable \$idField might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/CatalogIndex/Model/Data/Abstract.php - - message: "#^Variable \\$whereField might not be defined\\.$#" + message: '#^Variable \$whereField might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/CatalogIndex/Model/Data/Abstract.php - - message: "#^Return type \\(false\\) of method Mage_CatalogIndex_Model_Data_Grouped\\:\\:getFinalPrice\\(\\) should be compatible with return type \\(float\\) of method Mage_CatalogIndex_Model_Data_Abstract\\:\\:getFinalPrice\\(\\)$#" + message: '#^Return type \(false\) of method Mage_CatalogIndex_Model_Data_Grouped\:\:getFinalPrice\(\) should be compatible with return type \(float\) of method Mage_CatalogIndex_Model_Data_Abstract\:\:getFinalPrice\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/CatalogIndex/Model/Data/Grouped.php - - message: "#^Property Mage_CatalogIndex_Model_Data_Simple\\:\\:\\$_haveChildren \\(array\\\\) does not accept default value of type false\\.$#" + message: '#^Property Mage_CatalogIndex_Model_Data_Simple\:\:\$_haveChildren \(array\\) does not accept default value of type false\.$#' + identifier: property.defaultValue count: 1 path: app/code/core/Mage/CatalogIndex/Model/Data/Simple.php - - message: "#^Property Mage_CatalogIndex_Model_Data_Virtual\\:\\:\\$_haveChildren \\(array\\\\) does not accept default value of type false\\.$#" + message: '#^Property Mage_CatalogIndex_Model_Data_Virtual\:\:\$_haveChildren \(array\\) does not accept default value of type false\.$#' + identifier: property.defaultValue count: 1 path: app/code/core/Mage/CatalogIndex/Model/Data/Virtual.php - - message: "#^Call to function is_array\\(\\) with mixed will always evaluate to false\\.$#" + message: '#^Call to function is_array\(\) with mixed will always evaluate to false\.$#' + identifier: function.impossibleType count: 1 path: app/code/core/Mage/CatalogIndex/Model/Indexer.php - - message: "#^Variable \\$storeObject might not be defined\\.$#" + message: '#^Variable \$storeObject might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/CatalogIndex/Model/Indexer.php - - message: "#^Return type \\(string\\) of method Mage_CatalogIndex_Model_Indexer_Eav\\:\\:_getIndexableAttributeConditions\\(\\) should be compatible with return type \\(array\\) of method Mage_CatalogIndex_Model_Indexer_Abstract\\:\\:_getIndexableAttributeConditions\\(\\)$#" + message: '#^Return type \(string\) of method Mage_CatalogIndex_Model_Indexer_Eav\:\:_getIndexableAttributeConditions\(\) should be compatible with return type \(array\) of method Mage_CatalogIndex_Model_Indexer_Abstract\:\:_getIndexableAttributeConditions\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/CatalogIndex/Model/Indexer/Eav.php - - message: "#^Return type \\(string\\) of method Mage_CatalogIndex_Model_Indexer_Price\\:\\:_getIndexableAttributeConditions\\(\\) should be compatible with return type \\(array\\) of method Mage_CatalogIndex_Model_Indexer_Abstract\\:\\:_getIndexableAttributeConditions\\(\\)$#" + message: '#^Return type \(string\) of method Mage_CatalogIndex_Model_Indexer_Price\:\:_getIndexableAttributeConditions\(\) should be compatible with return type \(array\) of method Mage_CatalogIndex_Model_Indexer_Abstract\:\:_getIndexableAttributeConditions\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/CatalogIndex/Model/Indexer/Price.php - - message: "#^Parameter \\#1 \\$aggregationId of method Mage_CatalogIndex_Model_Resource_Aggregation\\:\\:_saveTagRelations\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#1 \$aggregationId of method Mage_CatalogIndex_Model_Resource_Aggregation\:\:_saveTagRelations\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/CatalogIndex/Model/Resource/Aggregation.php - - message: "#^Parameter \\#1 \\$select of method Mage_CatalogIndex_Model_Resource_Data_Abstract\\:\\:_addAttributeFilter\\(\\) expects Varien_Db_Select, Zend_Db_Select given\\.$#" + message: '#^Parameter \#1 \$select of method Mage_CatalogIndex_Model_Resource_Data_Abstract\:\:_addAttributeFilter\(\) expects Varien_Db_Select, Zend_Db_Select given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/CatalogIndex/Model/Resource/Data/Configurable.php - - message: "#^Parameter \\#1 \\$select of method Mage_CatalogIndex_Model_Resource_Data_Abstract\\:\\:_addAttributeFilter\\(\\) expects Varien_Db_Select, Zend_Db_Select given\\.$#" + message: '#^Parameter \#1 \$select of method Mage_CatalogIndex_Model_Resource_Data_Abstract\:\:_addAttributeFilter\(\) expects Varien_Db_Select, Zend_Db_Select given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/CatalogIndex/Model/Resource/Data/Grouped.php - - message: "#^Parameter \\#3 \\$storeIds of method Mage_CatalogIndex_Model_Resource_Setup\\:\\:_setWebsiteInfo\\(\\) expects array, Mage_Core_Model_Website given\\.$#" + message: '#^Parameter \#3 \$storeIds of method Mage_CatalogIndex_Model_Resource_Setup\:\:_setWebsiteInfo\(\) expects array, Mage_Core_Model_Website given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/CatalogIndex/Model/Resource/Setup.php - - message: "#^Parameter \\#1 \\$value of method Mage_Core_Block_Html_Select\\:\\:addOption\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#1 \$value of method Mage_Core_Block_Html_Select\:\:addOption\(\) expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/CatalogInventory/Block/Adminhtml/Form/Field/Customergroup.php - - message: "#^Method Mage_CatalogInventory_Block_Adminhtml_Form_Field_Minsaleqty\\:\\:_getGroupRenderer\\(\\) should return Mage_CatalogInventory_Block_Adminhtml_Form_Field_Customergroup but returns Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^Method Mage_CatalogInventory_Block_Adminhtml_Form_Field_Minsaleqty\:\:_getGroupRenderer\(\) should return Mage_CatalogInventory_Block_Adminhtml_Form_Field_Customergroup but returns Mage_Core_Block_Abstract\|false\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/CatalogInventory/Block/Adminhtml/Form/Field/Minsaleqty.php - - message: "#^Property Mage_CatalogInventory_Block_Adminhtml_Form_Field_Minsaleqty\\:\\:\\$_groupRenderer \\(Mage_CatalogInventory_Block_Adminhtml_Form_Field_Customergroup\\) does not accept Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^Property Mage_CatalogInventory_Block_Adminhtml_Form_Field_Minsaleqty\:\:\$_groupRenderer \(Mage_CatalogInventory_Block_Adminhtml_Form_Field_Customergroup\) does not accept Mage_Core_Block_Abstract\|false\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/CatalogInventory/Block/Adminhtml/Form/Field/Minsaleqty.php - - message: "#^Method Mage_CatalogInventory_Model_Observer\\:\\:_getQuoteItemQtyForCheck\\(\\) should return int but returns float\\.$#" + message: '#^Method Mage_CatalogInventory_Model_Observer\:\:_getQuoteItemQtyForCheck\(\) should return int but returns float\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/CatalogInventory/Model/Observer.php - - message: "#^Cannot call method setTypeId\\(\\) on Mage_Core_Model_Resource_Db_Collection_Abstract\\|false\\.$#" + message: '#^Cannot call method setTypeId\(\) on Mage_Core_Model_Resource_Db_Collection_Abstract\|false\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/CatalogInventory/Model/Resource/Indexer/Stock.php - - message: "#^Method Mage_CatalogInventory_Model_Resource_Stock_Item_Collection\\:\\:_initSelect\\(\\) should return \\$this\\(Mage_CatalogInventory_Model_Resource_Stock_Item_Collection\\) but returns Varien_Db_Select\\.$#" + message: '#^Method Mage_CatalogInventory_Model_Resource_Stock_Item_Collection\:\:_initSelect\(\) should return \$this\(Mage_CatalogInventory_Model_Resource_Stock_Item_Collection\) but returns Varien_Db_Select\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/CatalogInventory/Model/Resource/Stock/Item/Collection.php - - message: "#^Parameter \\#1 \\$products of method Mage_CatalogInventory_Model_Resource_Stock_Item_Collection\\:\\:addProductsFilter\\(\\) expects array\\, Mage_Catalog_Model_Resource_Product_Collection given\\.$#" + message: '#^Parameter \#1 \$products of method Mage_CatalogInventory_Model_Resource_Stock_Item_Collection\:\:addProductsFilter\(\) expects array\, Mage_Catalog_Model_Resource_Product_Collection given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/CatalogInventory/Model/Stock.php - - message: "#^Call to function is_numeric\\(\\) with int will always evaluate to true\\.$#" + message: '#^Call to function is_numeric\(\) with int will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType count: 1 path: app/code/core/Mage/CatalogInventory/Model/Stock/Item.php - - message: "#^Return type \\(int\\) of method Mage_CatalogRule_Model_Action_Index_Refresh_Row\\:\\:_getProduct\\(\\) should be compatible with return type \\(null\\) of method Mage_CatalogRule_Model_Action_Index_Refresh\\:\\:_getProduct\\(\\)$#" + message: '#^Return type \(int\) of method Mage_CatalogRule_Model_Action_Index_Refresh_Row\:\:_getProduct\(\) should be compatible with return type \(null\) of method Mage_CatalogRule_Model_Action_Index_Refresh\:\:_getProduct\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/CatalogRule/Model/Action/Index/Refresh/Row.php - - message: "#^Parameter \\#1 \\$combine of method Mage_CatalogRule_Model_Observer\\:\\:_removeAttributeFromConditions\\(\\) expects Mage_CatalogRule_Model_Rule_Condition_Combine, Mage_Rule_Model_Condition_Combine given\\.$#" + message: '#^Parameter \#1 \$combine of method Mage_CatalogRule_Model_Observer\:\:_removeAttributeFromConditions\(\) expects Mage_CatalogRule_Model_Rule_Condition_Combine, Mage_Rule_Model_Condition_Combine given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/CatalogRule/Model/Observer.php - - message: "#^Variable \\$gId might not be defined\\.$#" + message: '#^Variable \$gId might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/CatalogRule/Model/Observer.php - - message: "#^Variable \\$pId might not be defined\\.$#" + message: '#^Variable \$pId might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/CatalogRule/Model/Observer.php - - message: "#^Variable \\$wId might not be defined\\.$#" + message: '#^Variable \$wId might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/CatalogRule/Model/Observer.php - - message: "#^Parameter \\#1 \\$expression of class Zend_Db_Expr constructor expects string, float given\\.$#" + message: '#^Parameter \#1 \$expression of class Zend_Db_Expr constructor expects string, float given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/CatalogRule/Model/Resource/Rule.php - - message: "#^Parameter \\#1 \\$expression of class Zend_Db_Expr constructor expects string, int given\\.$#" + message: '#^Parameter \#1 \$expression of class Zend_Db_Expr constructor expects string, int given\.$#' + identifier: argument.type count: 3 path: app/code/core/Mage/CatalogRule/Model/Resource/Rule.php - - message: "#^Parameter \\#1 \\$expression of class Zend_Db_Expr constructor expects string, int\\<0, 86398\\>\\|int\\<86400, max\\> given\\.$#" + message: '#^Parameter \#1 \$expression of class Zend_Db_Expr constructor expects string, int\<0, 86398\>\|int\<86400, max\> given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/CatalogRule/Model/Resource/Rule.php - - message: "#^Variable \\$indexAlias might not be defined\\.$#" + message: '#^Variable \$indexAlias might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/CatalogRule/Model/Resource/Rule/Product/Price.php - - message: "#^Call to an undefined method Mage_Rule_Model_Condition_Combine\\:\\:collectValidatedAttributes\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Rule_Model_Condition_Combine\:\:collectValidatedAttributes\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/CatalogRule/Model/Rule.php - - message: "#^Parameter \\#1 \\$product of method Mage_CatalogRule_Model_Resource_Rule\\:\\:applyAllRules\\(\\) expects int\\|Mage_Catalog_Model_Product\\|null, Mage_Core_Model_Abstract given\\.$#" + message: '#^Parameter \#1 \$product of method Mage_CatalogRule_Model_Resource_Rule\:\:applyAllRules\(\) expects int\|Mage_Catalog_Model_Product\|null, Mage_Core_Model_Abstract given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/CatalogRule/Model/Rule.php - - message: "#^Parameter \\#2 \\$product of method Mage_CatalogRule_Model_Resource_Rule\\:\\:applyToProduct\\(\\) expects Mage_Catalog_Model_Product, Mage_Core_Model_Abstract given\\.$#" + message: '#^Parameter \#2 \$product of method Mage_CatalogRule_Model_Resource_Rule\:\:applyToProduct\(\) expects Mage_Catalog_Model_Product, Mage_Core_Model_Abstract given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/CatalogRule/Model/Rule.php - - message: "#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\\:\\:getAllOptions\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^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/CatalogSearch/Block/Advanced/Form.php - - message: "#^Variable \\$temp might not be defined\\.$#" + message: '#^Variable \$temp might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/CatalogSearch/Block/Term.php - - message: "#^Parameter \\#2 \\$array of function implode expects array\\, array\\\\|string\\|null\\> given\\.$#" + message: '#^Parameter \#2 \$array of function implode expects array\, array\\|string\|null\> given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/CatalogSearch/Helper/Data.php - - message: "#^Property Mage_CatalogSearch_Helper_Data\\:\\:\\$_queryText \\(string\\) in isset\\(\\) is not nullable\\.$#" + message: '#^Property Mage_CatalogSearch_Helper_Data\:\:\$_queryText \(string\) in isset\(\) is not nullable\.$#' + identifier: isset.property count: 1 path: app/code/core/Mage/CatalogSearch/Helper/Data.php - - message: "#^Method Mage_CatalogSearch_Model_Advanced\\:\\:getProductCollection\\(\\) should return Mage_CatalogSearch_Model_Resource_Advanced_Collection but returns array\\|float\\|int\\|string\\|false\\|null\\.$#" + message: '#^Method Mage_CatalogSearch_Model_Advanced\:\:getProductCollection\(\) should return Mage_CatalogSearch_Model_Resource_Advanced_Collection but returns array\|float\|int\|string\|false\|null\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/CatalogSearch/Model/Advanced.php - - message: "#^Variable \\$select might not be defined\\.$#" + message: '#^Variable \$select might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/CatalogSearch/Model/Resource/Advanced/Collection.php - - message: "#^Parameter \\#1 \\$expression of class Zend_Db_Expr constructor expects string, int given\\.$#" + message: '#^Parameter \#1 \$expression of class Zend_Db_Expr constructor expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext.php - - message: "#^Parameter \\#1 \\$typeId of method Mage_CatalogSearch_Model_Resource_Fulltext\\:\\:_getProductTypeInstance\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#1 \$typeId of method Mage_CatalogSearch_Model_Resource_Fulltext\:\:_getProductTypeInstance\(\) expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext.php - - message: "#^Parameter \\#2 \\$typeId of method Mage_CatalogSearch_Model_Resource_Fulltext\\:\\:_getProductChildrenIds\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#2 \$typeId of method Mage_CatalogSearch_Model_Resource_Fulltext\:\:_getProductChildrenIds\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext.php - - message: "#^If condition is always true\\.$#" + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue count: 1 path: app/code/core/Mage/CatalogSearch/Model/Resource/Search/Collection.php - - message: "#^Cannot call method setMethod\\(\\) on object\\|false\\.$#" + message: '#^Cannot call method setMethod\(\) on object\|false\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Centinel/Helper/Data.php - - message: "#^Cannot call method setItem\\(\\) on array\\.$#" + message: '#^Cannot call method setItem\(\) on array\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Checkout/Block/Cart/Abstract.php - - message: "#^Variable \\$ninProductIds in empty\\(\\) always exists and is not falsy\\.$#" + message: '#^Variable \$ninProductIds in empty\(\) always exists and is not falsy\.$#' + identifier: empty.variable count: 1 path: app/code/core/Mage/Checkout/Block/Cart/Crosssell.php - - message: "#^Parameter \\#1 \\$productThumbnail of method Mage_Checkout_Block_Cart_Item_Renderer\\:\\:overrideProductThumbnail\\(\\) expects Mage_Catalog_Helper_Image, null given\\.$#" + message: '#^Parameter \#1 \$productThumbnail of method Mage_Checkout_Block_Cart_Item_Renderer\:\:overrideProductThumbnail\(\) expects Mage_Catalog_Helper_Image, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Checkout/Block/Cart/Item/Renderer/Grouped.php - - message: "#^Property Mage_Checkout_Block_Cart_Shipping\\:\\:\\$_address \\(array\\) does not accept Mage_Sales_Model_Quote_Address\\.$#" + message: '#^Property Mage_Checkout_Block_Cart_Shipping\:\:\$_address \(array\) does not accept Mage_Sales_Model_Quote_Address\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Checkout/Block/Cart/Shipping.php - - message: "#^Method Mage_Checkout_Block_Onepage_Billing\\:\\:_getTaxvat\\(\\) should return Mage_Customer_Block_Widget_Taxvat but returns Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^Method Mage_Checkout_Block_Onepage_Billing\:\:_getTaxvat\(\) should return Mage_Customer_Block_Widget_Taxvat but returns Mage_Core_Block_Abstract\|false\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Checkout/Block/Onepage/Billing.php - - message: "#^Property Mage_Checkout_Block_Onepage_Billing\\:\\:\\$_taxvat \\(Mage_Customer_Block_Widget_Taxvat\\) does not accept Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^Property Mage_Checkout_Block_Onepage_Billing\:\:\$_taxvat \(Mage_Customer_Block_Widget_Taxvat\) does not accept Mage_Core_Block_Abstract\|false\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Checkout/Block/Onepage/Billing.php - - message: "#^Method Mage_Checkout_Block_Onepage_Progress\\:\\:getShippingPriceInclTax\\(\\) should return float but returns string\\.$#" + message: '#^Method Mage_Checkout_Block_Onepage_Progress\:\:getShippingPriceInclTax\(\) should return float but returns string\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Checkout/Block/Onepage/Progress.php - - message: "#^PHPDoc tag @var with type Mage_Sales_Model_Quote_Item is not subtype of native type null\\.$#" + message: '#^PHPDoc tag @var with type Mage_Sales_Model_Quote_Item is not subtype of native type null\.$#' + identifier: varTag.nativeType count: 1 path: app/code/core/Mage/Checkout/Model/Api/Resource/Product.php - - message: "#^Parameter \\#2 \\$message of method Mage_Checkout_Model_Session\\:\\:addQuoteItemMessage\\(\\) expects Mage_Core_Model_Message, Mage_Core_Model_Message_Error\\|Mage_Core_Model_Message_Notice\\|Mage_Core_Model_Message_Success\\|Mage_Core_Model_Message_Warning given\\.$#" + message: '#^Parameter \#2 \$message of method Mage_Checkout_Model_Session\:\:addQuoteItemMessage\(\) expects Mage_Core_Model_Message, Mage_Core_Model_Message_Error\|Mage_Core_Model_Message_Notice\|Mage_Core_Model_Message_Success\|Mage_Core_Model_Message_Warning given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Checkout/Model/Cart.php - - message: "#^Negated boolean expression is always false\\.$#" + message: '#^Negated boolean expression is always false\.$#' + identifier: booleanNot.alwaysFalse count: 1 path: app/code/core/Mage/Checkout/Model/Cart/Coupon/Api.php - - message: "#^Variable \\$customer might not be defined\\.$#" + message: '#^Variable \$customer might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/code/core/Mage/Checkout/Model/Cart/Customer/Api.php - - message: "#^Parameter \\#1 \\$data \\(object\\) of method Mage_Checkout_Model_Cart_Customer_Api_V2\\:\\:_prepareCustomerAddressData\\(\\) should be compatible with parameter \\$data \\(array\\) of method Mage_Checkout_Model_Cart_Customer_Api\\:\\:_prepareCustomerAddressData\\(\\)$#" + message: '#^Parameter \#1 \$data \(object\) of method Mage_Checkout_Model_Cart_Customer_Api_V2\:\:_prepareCustomerAddressData\(\) should be compatible with parameter \$data \(array\) of method Mage_Checkout_Model_Cart_Customer_Api\:\:_prepareCustomerAddressData\(\)$#' + identifier: method.childParameterType count: 1 path: app/code/core/Mage/Checkout/Model/Cart/Customer/Api/V2.php - - message: "#^Parameter \\#1 \\$data \\(object\\) of method Mage_Checkout_Model_Cart_Customer_Api_V2\\:\\:_prepareCustomerData\\(\\) should be compatible with parameter \\$data \\(array\\) of method Mage_Checkout_Model_Cart_Customer_Api\\:\\:_prepareCustomerData\\(\\)$#" + message: '#^Parameter \#1 \$data \(object\) of method Mage_Checkout_Model_Cart_Customer_Api_V2\:\:_prepareCustomerData\(\) should be compatible with parameter \$data \(array\) of method Mage_Checkout_Model_Cart_Customer_Api\:\:_prepareCustomerData\(\)$#' + identifier: method.childParameterType count: 1 path: app/code/core/Mage/Checkout/Model/Cart/Customer/Api/V2.php - - message: "#^Strict comparison using \\!\\=\\= between array\\ and null will always evaluate to true\\.$#" + message: '#^Strict comparison using \!\=\= between array\ and null will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue count: 2 path: app/code/core/Mage/Checkout/Model/Cart/Customer/Api/V2.php - - message: "#^Unreachable statement \\- code above always terminates\\.$#" + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable count: 1 path: app/code/core/Mage/Checkout/Model/Cart/Customer/Api/V2.php - - message: "#^Parameter \\#1 \\$data \\(object\\) of method Mage_Checkout_Model_Cart_Payment_Api_V2\\:\\:_preparePaymentData\\(\\) should be compatible with parameter \\$data \\(array\\) of method Mage_Checkout_Model_Cart_Payment_Api\\:\\:_preparePaymentData\\(\\)$#" + message: '#^Parameter \#1 \$data \(object\) of method Mage_Checkout_Model_Cart_Payment_Api_V2\:\:_preparePaymentData\(\) should be compatible with parameter \$data \(array\) of method Mage_Checkout_Model_Cart_Payment_Api\:\:_preparePaymentData\(\)$#' + identifier: method.childParameterType count: 1 path: app/code/core/Mage/Checkout/Model/Cart/Payment/Api/V2.php - - message: "#^Strict comparison using \\!\\=\\= between array\\ and null will always evaluate to true\\.$#" + message: '#^Strict comparison using \!\=\= between array\ and null will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue count: 1 path: app/code/core/Mage/Checkout/Model/Cart/Payment/Api/V2.php - - message: "#^Unreachable statement \\- code above always terminates\\.$#" + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable count: 1 path: app/code/core/Mage/Checkout/Model/Cart/Payment/Api/V2.php - - message: "#^Method Mage_Checkout_Model_Session\\:\\:getQuoteId\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Checkout_Model_Session\:\:getQuoteId\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Checkout/Model/Observer.php - - message: "#^Call to an undefined method Mage_Sales_Model_Order\\:\\:createFromQuoteAddress\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Sales_Model_Order\:\:createFromQuoteAddress\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Checkout/Model/Type/Abstract.php - - message: "#^Method Mage_Sales_Model_Quote\\:\\:getBillingAddress\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Sales_Model_Quote\:\:getBillingAddress\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Checkout/Model/Type/Multishipping.php - - message: "#^Negated boolean expression is always true\\.$#" + message: '#^Negated boolean expression is always true\.$#' + identifier: booleanNot.alwaysTrue count: 1 path: app/code/core/Mage/Checkout/Model/Type/Onepage.php - - message: "#^Property Mage_Checkout_Model_Type_Onepage\\:\\:\\$_quote \\(Mage_Sales_Model_Quote\\) on left side of \\?\\? is not nullable\\.$#" + message: '#^Property Mage_Checkout_Model_Type_Onepage\:\:\$_quote \(Mage_Sales_Model_Quote\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property count: 1 path: app/code/core/Mage/Checkout/Model/Type/Onepage.php - - message: "#^Parameter \\#1 \\$qty of method Mage_Sales_Model_Quote_Item\\:\\:setQty\\(\\) expects float, array\\|string\\|null given\\.$#" + message: '#^Parameter \#1 \$qty of method Mage_Sales_Model_Quote_Item\:\:setQty\(\) expects float, array\|string\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Checkout/controllers/CartController.php - - message: "#^Parameter \\#2 \\$loginUrl of method Mage_Customer_Model_Session\\:\\:authenticate\\(\\) expects bool\\|null, string given\\.$#" + message: '#^Parameter \#2 \$loginUrl of method Mage_Customer_Model_Session\:\:authenticate\(\) expects bool\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Checkout/controllers/MultishippingController.php - - message: "#^Call to an undefined method Mage_Sales_Model_Service_Order\\:\\:register\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Sales_Model_Service_Order\:\:register\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Checkout/controllers/OnepageController.php - - message: "#^Parameter \\#1 \\$attr of method Mage_ConfigurableSwatches_Helper_Data\\:\\:attrIsSwatchType\\(\\) expects int\\|Mage_Eav_Model_Attribute, Mage_Catalog_Model_Resource_Eav_Attribute given\\.$#" + message: '#^Parameter \#1 \$attr of method Mage_ConfigurableSwatches_Helper_Data\:\:attrIsSwatchType\(\) expects int\|Mage_Eav_Model_Attribute, Mage_Catalog_Model_Resource_Eav_Attribute given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/ConfigurableSwatches/Block/Catalog/Layer/State/Swatch.php - - message: "#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\\:\\:getAllOptions\\(\\) invoked with 2 parameters, 0 required\\.$#" + message: '#^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/ConfigurableSwatches/Helper/Productimg.php - - message: "#^Parameter \\#1 \\$attr of method Mage_ConfigurableSwatches_Helper_Data\\:\\:attrIsSwatchType\\(\\) expects int\\|Mage_Eav_Model_Attribute, Mage_Catalog_Model_Resource_Eav_Attribute given\\.$#" + message: '#^Parameter \#1 \$attr of method Mage_ConfigurableSwatches_Helper_Data\:\:attrIsSwatchType\(\) expects int\|Mage_Eav_Model_Attribute, Mage_Catalog_Model_Resource_Eav_Attribute given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/ConfigurableSwatches/Helper/Productlist.php - - message: "#^Variable \\$query might not be defined\\.$#" + message: '#^Variable \$query might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/ConfigurableSwatches/Model/Resource/Catalog/Product/Type/Configurable/Product/Collection.php - - message: "#^Parameter \\#1 \\$stack of function array_unshift expects array, null given\\.$#" + message: '#^Parameter \#1 \$stack of function array_unshift expects array, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/ConfigurableSwatches/Model/System/Config/Source/Catalog/Product/Configattribute/Select.php - - message: "#^Method Mage_Core_Block_Abstract\\:\\:getParentBlock\\(\\) should return \\$this\\(Mage_Core_Block_Abstract\\) but returns Mage_Core_Block_Abstract\\.$#" + message: '#^Method Mage_Core_Block_Abstract\:\:getParentBlock\(\) should return \$this\(Mage_Core_Block_Abstract\) but returns Mage_Core_Block_Abstract\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Core/Block/Abstract.php - - message: "#^Parameter \\#3 \\$value of static method Zend_Locale_Data\\:\\:getContent\\(\\) expects array\\|bool\\|string, int given\\.$#" + message: '#^Parameter \#3 \$value of static method Zend_Locale_Data\:\:getContent\(\) expects array\|bool\|string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Block/Html/Calendar.php - - message: "#^Ternary operator condition is always true\\.$#" + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue count: 1 path: app/code/core/Mage/Core/Block/Messages.php - - message: "#^Parameter \\#2 \\$value of method Zend_Controller_Response_Abstract\\:\\:setHeader\\(\\) expects string, int\\|false given\\.$#" + message: '#^Parameter \#2 \$value of method Zend_Controller_Response_Abstract\:\:setHeader\(\) expects string, int\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Controller/Front/Action.php - - message: "#^Constructor of class Mage_Core_Controller_Varien_Action has an unused parameter \\$invokeArgs\\.$#" + message: '#^Constructor of class Mage_Core_Controller_Varien_Action has an unused parameter \$invokeArgs\.$#' + identifier: constructor.unusedParameter count: 1 path: app/code/core/Mage/Core/Controller/Varien/Action.php - - message: "#^Parameter \\#1 \\$handles of method Mage_Core_Controller_Varien_Action\\:\\:loadLayout\\(\\) expects bool\\|string\\|null, array\\ given\\.$#" + message: '#^Parameter \#1 \$handles of method Mage_Core_Controller_Varien_Action\:\:loadLayout\(\) expects bool\|string\|null, array\ given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Core/Controller/Varien/Action.php - - message: "#^Parameter \\#2 \\$value of method Zend_Controller_Response_Abstract\\:\\:setHeader\\(\\) expects string, int\\|false given\\.$#" + message: '#^Parameter \#2 \$value of method Zend_Controller_Response_Abstract\:\:setHeader\(\) expects string, int\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Controller/Varien/Action.php - - message: "#^Property Mage_Core_Controller_Varien_Action\\:\\:\\$_request \\(Mage_Core_Controller_Request_Http\\) does not accept Zend_Controller_Request_Abstract\\.$#" + message: '#^Property Mage_Core_Controller_Varien_Action\:\:\$_request \(Mage_Core_Controller_Request_Http\) does not accept Zend_Controller_Request_Abstract\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Core/Controller/Varien/Action.php - - message: "#^Property Mage_Core_Controller_Varien_Action\\:\\:\\$_response \\(Mage_Core_Controller_Response_Http\\) does not accept Zend_Controller_Response_Abstract\\.$#" + message: '#^Property Mage_Core_Controller_Varien_Action\:\:\$_response \(Mage_Core_Controller_Response_Http\) does not accept Zend_Controller_Response_Abstract\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Core/Controller/Varien/Action.php - - message: "#^Argument of an invalid type string supplied for foreach, only iterables are supported\\.$#" + message: '#^Argument of an invalid type string supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable count: 1 path: app/code/core/Mage/Core/Controller/Varien/Front.php - - message: "#^Comparison operation \"\\>\" between int\\<0, 100\\> and 100 is always false\\.$#" + message: '#^Comparison operation "\>" between int\<0, 100\> and 100 is always false\.$#' + identifier: greater.alwaysFalse count: 1 path: app/code/core/Mage/Core/Controller/Varien/Front.php - - message: "#^Method Mage_Core_Controller_Varien_Front\\:\\:_getRequestRewriteController\\(\\) should return Mage_Core_Model_Url_Rewrite_Request but returns bool\\|Mage_Core_Model_Abstract\\.$#" + message: '#^Method Mage_Core_Controller_Varien_Front\:\:_getRequestRewriteController\(\) should return Mage_Core_Model_Url_Rewrite_Request but returns bool\|Mage_Core_Model_Abstract\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Core/Controller/Varien/Front.php - - message: "#^Parameter \\#2 \\$useRouterName \\(bool\\) of method Mage_Core_Controller_Varien_Router_Admin\\:\\:collectRoutes\\(\\) should be compatible with parameter \\$useRouterName \\(string\\) of method Mage_Core_Controller_Varien_Router_Standard\\:\\:collectRoutes\\(\\)$#" + message: '#^Parameter \#2 \$useRouterName \(bool\) of method Mage_Core_Controller_Varien_Router_Admin\:\:collectRoutes\(\) should be compatible with parameter \$useRouterName \(string\) of method Mage_Core_Controller_Varien_Router_Standard\:\:collectRoutes\(\)$#' + identifier: method.childParameterType count: 1 path: app/code/core/Mage/Core/Controller/Varien/Router/Admin.php - - message: "#^Parameter \\#2 \\$useRouterName of method Mage_Core_Controller_Varien_Router_Standard\\:\\:collectRoutes\\(\\) expects string, bool given\\.$#" + message: '#^Parameter \#2 \$useRouterName of method Mage_Core_Controller_Varien_Router_Standard\:\:collectRoutes\(\) expects string, bool given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Controller/Varien/Router/Admin.php - - message: "#^Negated boolean expression is always true\\.$#" + message: '#^Negated boolean expression is always true\.$#' + identifier: booleanNot.alwaysTrue count: 1 path: app/code/core/Mage/Core/Controller/Varien/Router/Standard.php - - message: "#^Variable \\$action might not be defined\\.$#" + message: '#^Variable \$action might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Core/Controller/Varien/Router/Standard.php - - message: "#^Variable \\$controller might not be defined\\.$#" + message: '#^Variable \$controller might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Core/Controller/Varien/Router/Standard.php - - message: "#^Variable \\$controllerInstance might not be defined\\.$#" + message: '#^Variable \$controllerInstance might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Core/Controller/Varien/Router/Standard.php - - message: "#^Variable \\$realModule might not be defined\\.$#" + message: '#^Variable \$realModule might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Core/Controller/Varien/Router/Standard.php - - message: "#^Method Mage_Core_Helper_Abstract\\:\\:_getRequest\\(\\) should return Mage_Core_Controller_Request_Http but returns Zend_Controller_Request_Http\\.$#" - count: 1 - path: app/code/core/Mage/Core/Helper/Abstract.php - - - - message: "#^Parameter \\#3 \\$encoding of function htmlspecialchars expects string, null given\\.$#" + message: '#^Method Mage_Core_Helper_Abstract\:\:_getRequest\(\) should return Mage_Core_Controller_Request_Http but returns Zend_Controller_Request_Http\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Core/Helper/Abstract.php - - message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(string\\)\\: bool\\)\\|null, 'trim' given\\.$#" + message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''trim'' given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Helper/EnvironmentConfigLoader.php - - message: "#^Parameter \\#2 \\$arguments of static method Mage\\:\\:getResourceModel\\(\\) expects array, object given\\.$#" + message: '#^Parameter \#2 \$arguments of static method Mage\:\:getResourceModel\(\) expects array, object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Abstract.php - - message: "#^Property Mage_Core_Model_Abstract\\:\\:\\$_cacheTag \\(string\\|true\\) does not accept default value of type false\\.$#" + message: '#^Property Mage_Core_Model_Abstract\:\:\$_cacheTag \(string\|true\) does not accept default value of type false\.$#' + identifier: property.defaultValue count: 1 path: app/code/core/Mage/Core/Model/Abstract.php - - message: "#^Property Mage_Core_Model_Abstract\\:\\:\\$_isObjectNew \\(bool\\) on left side of \\?\\? is not nullable\\.$#" + message: '#^Property Mage_Core_Model_Abstract\:\:\$_isObjectNew \(bool\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property count: 1 path: app/code/core/Mage/Core/Model/Abstract.php - - message: "#^Method Mage_Core_Model_App\\:\\:getResponse\\(\\) should return Mage_Core_Controller_Response_Http but returns Zend_Controller_Response_Http\\.$#" + message: '#^Method Mage_Core_Model_App\:\:getResponse\(\) should return Mage_Core_Controller_Response_Http but returns Zend_Controller_Response_Http\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Core/Model/App.php - - message: "#^Parameter \\#1 \\$group of method Mage_Core_Model_App\\:\\:_getStoreByGroup\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#1 \$group of method Mage_Core_Model_App\:\:_getStoreByGroup\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/App.php - - message: "#^Parameter \\#3 \\$period of method Mage_Core_Model_Cookie\\:\\:set\\(\\) expects int\\|null, true given\\.$#" + message: '#^Parameter \#3 \$period of method Mage_Core_Model_Cookie\:\:set\(\) expects int\|null, true given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/App.php - - message: "#^Property Mage_Core_Model_App\\:\\:\\$_request \\(Mage_Core_Controller_Request_Http\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Core_Model_App\:\:\$_request \(Mage_Core_Controller_Request_Http\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Core/Model/App.php - - message: "#^Property Mage_Core_Model_App\\:\\:\\$_response \\(Zend_Controller_Response_Http\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Core_Model_App\:\:\$_response \(Zend_Controller_Response_Http\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Core/Model/App.php - - message: "#^Property Mage_Core_Model_App\\:\\:\\$_useSessionInUrl \\(bool\\) does not accept string\\|null\\.$#" + message: '#^Property Mage_Core_Model_App\:\:\$_useSessionInUrl \(bool\) does not accept string\|null\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Core/Model/App.php - - message: "#^Method Mage_Core_Model_Cache\\:\\:getDbAdapter\\(\\) should return Zend_Db_Adapter_Abstract but returns Varien_Db_Adapter_Interface\\|false\\.$#" + message: '#^Method Mage_Core_Model_Cache\:\:getDbAdapter\(\) should return Zend_Db_Adapter_Abstract but returns Varien_Db_Adapter_Interface\|false\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Core/Model/Cache.php - - message: "#^Parameter \\#1 \\$options of method Mage_Core_Model_Config\\:\\:reinit\\(\\) expects array, Mage_Core_Model_Config_Options given\\.$#" + message: '#^Parameter \#1 \$options of method Mage_Core_Model_Config\:\:reinit\(\) expects array, Mage_Core_Model_Config_Options given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Config.php - - message: "#^Parameter \\#2 \\$constructArguments of method Mage_Core_Model_Config\\:\\:getModelInstance\\(\\) expects array\\|object, string given\\.$#" + message: '#^Parameter \#2 \$constructArguments of method Mage_Core_Model_Config\:\:getModelInstance\(\) expects array\|object, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Config.php - - message: "#^Return type \\(Mage_Core_Model_App\\) of method Mage_Core_Model_Config\\:\\:_saveCache\\(\\) should be compatible with return type \\(bool\\) of method Varien_Simplexml_Config\\:\\:_saveCache\\(\\)$#" + message: '#^Return type \(Mage_Core_Model_App\) of method Mage_Core_Model_Config\:\:_saveCache\(\) should be compatible with return type \(bool\) of method Varien_Simplexml_Config\:\:_saveCache\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/Core/Model/Config.php - - message: "#^Return type \\(Zend_Cache_Core\\) of method Mage_Core_Model_Config\\:\\:getCache\\(\\) should be compatible with return type \\(Varien_Simplexml_Config_Cache_Abstract\\) of method Varien_Simplexml_Config\\:\\:getCache\\(\\)$#" + message: '#^Return type \(Zend_Cache_Core\) of method Mage_Core_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/Core/Model/Config.php - - message: "#^Return type \\(string\\) of method Mage_Core_Model_Config\\:\\:_loadCache\\(\\) should be compatible with return type \\(bool\\) of method Varien_Simplexml_Config\\:\\:_loadCache\\(\\)$#" + message: '#^Return type \(string\) of method Mage_Core_Model_Config\:\:_loadCache\(\) should be compatible with return type \(bool\) of method Varien_Simplexml_Config\:\:_loadCache\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/Core/Model/Config.php - - message: "#^Variable \\$key might not be defined\\.$#" + message: '#^Variable \$key might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Core/Model/Config.php - - message: "#^Binary operation \"\\+\" between string and string results in an error\\.$#" + message: '#^Comparison operation "\>\=" between int\<70400, 80499\> and 70300 is always true\.$#' + identifier: greaterOrEqual.alwaysTrue + count: 1 + path: app/code/core/Mage/Core/Model/Cookie.php + + - + message: '#^Binary operation "\+" between string and string results in an error\.$#' + identifier: binaryOp.invalid count: 1 path: app/code/core/Mage/Core/Model/Date.php - - message: "#^Binary operation \"\\-\" between string and string results in an error\\.$#" + message: '#^Binary operation "\-" between string and string results in an error\.$#' + identifier: binaryOp.invalid count: 1 path: app/code/core/Mage/Core/Model/Date.php - - message: "#^Property Mage_Core_Model_Date\\:\\:\\$_systemOffset is never read, only written\\.$#" + message: '#^Property Mage_Core_Model_Date\:\:\$_systemOffset is never read, only written\.$#' + identifier: property.onlyWritten count: 1 path: app/code/core/Mage/Core/Model/Date.php - - message: "#^Call to an undefined method Mage_Core_Model_Resource_Design\\:\\:validate\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Core_Model_Resource_Design\:\:validate\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Core/Model/Design.php - - message: "#^Parameter \\#1 \\$cache of method Varien_Simplexml_Config\\:\\:setCache\\(\\) expects Varien_Simplexml_Config_Cache_Abstract, Zend_Cache_Core given\\.$#" + message: '#^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/Core/Model/Design/Config.php - - message: "#^Parameter \\#2 \\$value of method Varien_Simplexml_Config\\:\\:setNode\\(\\) expects string, null given\\.$#" + message: '#^Parameter \#2 \$value of method Varien_Simplexml_Config\:\:setNode\(\) expects string, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Design/Config.php - - message: "#^Property Mage_Core_Model_Design_Fallback\\:\\:\\$_store \\(Mage_Core_Model_Store\\) on left side of \\?\\? is not nullable\\.$#" + message: '#^Property Mage_Core_Model_Design_Fallback\:\:\$_store \(Mage_Core_Model_Store\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property count: 1 path: app/code/core/Mage/Core/Model/Design/Fallback.php - - message: "#^Property Mage_Core_Model_Design_Package\\:\\:\\$_store \\(int\\|Mage_Core_Model_Store\\|string\\) on left side of \\?\\? is not nullable\\.$#" + message: '#^Property Mage_Core_Model_Design_Package\:\:\$_store \(int\|Mage_Core_Model_Store\|string\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property count: 1 path: app/code/core/Mage/Core/Model/Design/Package.php - - message: "#^Parameter \\#1 \\$policyCode of method Mage_Core_Model_Domainpolicy\\:\\:_getDomainPolicyByCode\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#1 \$policyCode of method Mage_Core_Model_Domainpolicy\:\:_getDomainPolicyByCode\(\) expects string, int given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Core/Model/Domainpolicy.php - - message: "#^Method Zend_Mail\\:\\:addBcc\\(\\) invoked with 2 parameters, 1 required\\.$#" + message: '#^Method Zend_Mail\:\:addBcc\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Core/Model/Email/Queue.php - - message: "#^Method Mage_Core_Model_Email_Template\\:\\:getProcessedTemplate\\(\\) invoked with 2 parameters, 0\\-1 required\\.$#" + message: '#^Method Mage_Core_Model_Email_Template\:\:getProcessedTemplate\(\) invoked with 2 parameters, 0\-1 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Core/Model/Email/Template.php - - message: "#^Parameter \\#1 \\$value of method Mage_Core_Model_Email_Template\\:\\:setId\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#1 \$value of method Mage_Core_Model_Email_Template\:\:setId\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Email/Template.php - - message: "#^Method Mage_Core_Model_Email_Template_Abstract\\:\\:loadByConfigPath\\(\\) invoked with 2 parameters, 1 required\\.$#" + message: '#^Method Mage_Core_Model_Email_Template_Abstract\:\:loadByConfigPath\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Core/Model/Email/Template/Abstract.php - - message: "#^Parameter \\#1 \\$id of method Mage_Core_Model_App\\:\\:getStore\\(\\) expects bool\\|int\\|Mage_Core_Model_Store\\|string\\|null, Varien_Object\\|null given\\.$#" + message: '#^Parameter \#1 \$id of method Mage_Core_Model_App\:\:getStore\(\) expects bool\|int\|Mage_Core_Model_Store\|string\|null, Varien_Object\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Email/Template/Filter.php - - message: "#^Call to an undefined method Varien_Crypt_Abstract\\:\\:init\\(\\)\\.$#" + message: '#^Call to an undefined method Varien_Crypt_Abstract\:\:init\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Core/Model/Encryption.php - - message: "#^Method Mage_Core_Model_Factory\\:\\:getUrlRewriteInstance\\(\\) should return Mage_Core_Model_Url_Rewrite but returns bool\\|Mage_Core_Model_Abstract\\.$#" + message: '#^Method Mage_Core_Model_Factory\:\:getUrlRewriteInstance\(\) should return Mage_Core_Model_Url_Rewrite but returns bool\|Mage_Core_Model_Abstract\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Core/Model/Factory.php - - message: "#^Negated boolean expression is always false\\.$#" + message: '#^Negated boolean expression is always false\.$#' + identifier: booleanNot.alwaysFalse count: 2 path: app/code/core/Mage/Core/Model/File/Storage.php - - message: "#^Result of \\|\\| is always false\\.$#" + message: '#^Result of \|\| is always false\.$#' + identifier: booleanOr.alwaysFalse count: 1 path: app/code/core/Mage/Core/Model/File/Storage.php - - message: "#^Parameter \\#1 \\$params of method Mage_Core_Model_File_Storage_Database_Abstract\\:\\:__construct\\(\\) expects array, string\\|null given\\.$#" + message: '#^Parameter \#1 \$params of method Mage_Core_Model_File_Storage_Database_Abstract\:\:__construct\(\) expects array, string\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/File/Storage/Database.php - - message: "#^Parameter \\#1 \\$params of method Mage_Core_Model_File_Storage_Database_Abstract\\:\\:__construct\\(\\) expects array, string\\|null given\\.$#" + message: '#^Parameter \#1 \$params of method Mage_Core_Model_File_Storage_Database_Abstract\:\:__construct\(\) expects array, string\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/File/Storage/Directory/Database.php - - message: "#^Variable \\$parentId might not be defined\\.$#" + message: '#^Variable \$parentId might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Core/Model/File/Storage/Directory/Database.php - - message: "#^PHPDoc tag @param for parameter \\$filter with type array\\|Zend_Filter_Interface is not subtype of native type Zend_Filter_Interface\\.$#" + message: '#^PHPDoc tag @param for parameter \$filter with type array\|Zend_Filter_Interface is not subtype of native type Zend_Filter_Interface\.$#' + identifier: parameter.phpDocType count: 1 path: app/code/core/Mage/Core/Model/Input/Filter.php - - message: "#^Parameter \\#1 \\$name of method Mage_Core_Model_Input_Filter\\:\\:addFilter\\(\\) expects string, Zend_Filter_Interface given\\.$#" + message: '#^Parameter \#1 \$name of method Mage_Core_Model_Input_Filter\:\:addFilter\(\) expects string, Zend_Filter_Interface given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Input/Filter.php - - message: "#^Parameter \\#1 \\$name of method Mage_Core_Model_Input_Filter\\:\\:addFilter\\(\\) expects string, array\\|Zend_Filter_Interface given\\.$#" + message: '#^Parameter \#1 \$name of method Mage_Core_Model_Input_Filter\:\:addFilter\(\) expects string, array\|Zend_Filter_Interface given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Input/Filter.php - - message: "#^Parameter \\#2 \\$filter of method Mage_Core_Model_Input_Filter\\:\\:addFilter\\(\\) expects array\\|Zend_Filter_Interface, string given\\.$#" + message: '#^Parameter \#2 \$filter of method Mage_Core_Model_Input_Filter\:\:addFilter\(\) expects array\|Zend_Filter_Interface, string given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Core/Model/Input/Filter.php - - message: "#^Call to an undefined method SimpleXMLElement\\:\\:getAttribute\\(\\)\\.$#" + message: '#^Call to an undefined method SimpleXMLElement\:\:getAttribute\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Core/Model/Layout.php - - message: "#^Call to an undefined method Varien_Simplexml_Element\\:\\:getBlockName\\(\\)\\.$#" + message: '#^Call to an undefined method Varien_Simplexml_Element\:\:getBlockName\(\)\.$#' + identifier: method.notFound count: 2 path: app/code/core/Mage/Core/Model/Layout.php - - message: "#^Cannot unset offset '@attributes' on \\(array\\{\\}\\|array\\{\\000\\*\\000_parent\\: Varien_Simplexml_Element\\}\\)\\.$#" + message: '#^Cannot unset offset ''@attributes'' on \(array\{\}\|array\{\000\*\000_parent\: Varien_Simplexml_Element\}\)\.$#' + identifier: unset.offset count: 1 path: app/code/core/Mage/Core/Model/Layout.php - - message: "#^If condition is always true\\.$#" + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue count: 1 path: app/code/core/Mage/Core/Model/Layout.php - - message: "#^Method Mage_Core_Model_Layout\\:\\:getMessagesBlock\\(\\) should return Mage_Core_Block_Messages but returns Mage_Core_Block_Abstract\\.$#" + message: '#^Method Mage_Core_Model_Layout\:\:getMessagesBlock\(\) should return Mage_Core_Block_Messages but returns Mage_Core_Block_Abstract\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Core/Model/Layout.php - - message: "#^Method Mage_Core_Model_Layout\\:\\:getMessagesBlock\\(\\) should return Mage_Core_Block_Messages but returns Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^Method Mage_Core_Model_Layout\:\:getMessagesBlock\(\) should return Mage_Core_Block_Messages but returns Mage_Core_Block_Abstract\|false\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Core/Model/Layout.php - - message: "#^Parameter \\#1 \\$node of method Varien_Simplexml_Config\\:\\:setXml\\(\\) expects Varien_Simplexml_Element, SimpleXMLElement given\\.$#" + message: '#^Parameter \#1 \$node of method Varien_Simplexml_Config\:\:setXml\(\) expects Varien_Simplexml_Element, SimpleXMLElement given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Layout.php - - message: "#^Parameter \\#1 \\$node of method Varien_Simplexml_Config\\:\\:setXml\\(\\) expects Varien_Simplexml_Element, SimpleXMLElement\\|false given\\.$#" + message: '#^Parameter \#1 \$node of method Varien_Simplexml_Config\:\:setXml\(\) expects Varien_Simplexml_Element, SimpleXMLElement\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Layout.php - - message: "#^Parameter \\#1 \\$sourceData of method Varien_Simplexml_Config\\:\\:__construct\\(\\) expects string\\|Varien_Simplexml_Element\\|null, array given\\.$#" + message: '#^Parameter \#1 \$sourceData of method Varien_Simplexml_Config\:\:__construct\(\) expects string\|Varien_Simplexml_Element\|null, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Layout.php - - message: "#^Parameter \\#3 \\$value of method Zend_Locale\\:\\:getTranslationList\\(\\) expects string\\|null, int given\\.$#" + message: '#^Parameter \#3 \$value of method Zend_Locale\:\:getTranslationList\(\) expects string\|null, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Locale.php - - message: "#^Call to an undefined method Mage_Core_Model_Resource_Type_Abstract\\:\\:getConnection\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Core_Model_Resource_Type_Abstract\:\:getConnection\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Core/Model/Resource.php - - message: "#^Call to an undefined method SimpleXMLElement\\:\\:getClassName\\(\\)\\.$#" + message: '#^Call to an undefined method SimpleXMLElement\:\:getClassName\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Core/Model/Resource.php - - message: "#^Method Mage_Core_Model_Resource\\:\\:_getDefaultConnection\\(\\) should return string but returns Varien_Db_Adapter_Interface\\|false\\.$#" + message: '#^Method Mage_Core_Model_Resource\:\:_getDefaultConnection\(\) should return string but returns Varien_Db_Adapter_Interface\|false\.$#' + identifier: return.type count: 2 path: app/code/core/Mage/Core/Model/Resource.php - - message: "#^Method Mage_Core_Model_Resource\\:\\:getConnection\\(\\) should return Varien_Db_Adapter_Interface\\|false but returns string\\.$#" + message: '#^Method Mage_Core_Model_Resource\:\:getConnection\(\) should return Varien_Db_Adapter_Interface\|false but returns string\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Core/Model/Resource.php - - message: "#^Parameter \\#1 \\$adapter of method Varien_Db_Adapter_Interface\\:\\:setCacheAdapter\\(\\) expects Zend_Cache_Backend_Interface, Zend_Cache_Core given\\.$#" + message: '#^Parameter \#1 \$adapter of method Varien_Db_Adapter_Interface\:\:setCacheAdapter\(\) expects Zend_Cache_Backend_Interface, Zend_Cache_Core given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Core/Model/Resource.php - - message: "#^Parameter \\#2 \\$value of method Mage_Core_Model_Config_Element\\:\\:is\\(\\) expects string\\|true, 1 given\\.$#" + message: '#^Parameter \#2 \$value of method Mage_Core_Model_Config_Element\:\:is\(\) expects string\|true, 1 given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Resource.php - - message: "#^Method Mage_Core_Model_Resource_Db_Abstract\\:\\:_getConnection\\(\\) should return Magento_Db_Adapter_Pdo_Mysql but returns Varien_Db_Adapter_Interface\\|false\\.$#" + message: '#^Method Mage_Core_Model_Resource_Db_Abstract\:\:_getConnection\(\) should return Magento_Db_Adapter_Pdo_Mysql but returns Varien_Db_Adapter_Interface\|false\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Core/Model/Resource/Db/Abstract.php - - message: "#^Property Mage_Core_Model_Resource_Db_Collection_Abstract\\:\\:\\$_resource \\(Mage_Core_Model_Resource_Db_Abstract\\) does not accept Mage_Core_Model_Resource_Db_Collection_Abstract\\|false\\.$#" + message: '#^Property Mage_Core_Model_Resource_Db_Collection_Abstract\:\:\$_resource \(Mage_Core_Model_Resource_Db_Abstract\) does not accept Mage_Core_Model_Resource_Db_Collection_Abstract\|false\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php - - message: "#^Property Mage_Core_Model_Resource_Db_Collection_Abstract\\:\\:\\$_resource \\(Mage_Core_Model_Resource_Db_Abstract\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Core_Model_Resource_Db_Collection_Abstract\:\:\$_resource \(Mage_Core_Model_Resource_Db_Abstract\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php - - message: "#^Result of && is always false\\.$#" + message: '#^Result of && is always false\.$#' + identifier: booleanAnd.alwaysFalse count: 1 path: app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php - - message: "#^Variable \\$alias in isset\\(\\) always exists and is always null\\.$#" + message: '#^Variable \$alias in isset\(\) always exists and is always null\.$#' + identifier: isset.variable count: 1 path: app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php - - message: "#^Variable \\$alias might not be defined\\.$#" + message: '#^Variable \$alias might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php - - message: "#^Variable \\$columnsToSelect in isset\\(\\) always exists and is not nullable\\.$#" + message: '#^Variable \$columnsToSelect in isset\(\) always exists and is not nullable\.$#' + identifier: isset.variable count: 1 path: app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php - - message: "#^Parameter \\#1 \\$date of method Mage_Core_Model_Resource_Db_Collection_Abstract\\:\\:formatDate\\(\\) expects int\\|string\\|Zend_Date, true given\\.$#" + message: '#^Parameter \#1 \$date of method Mage_Core_Model_Resource_Db_Collection_Abstract\:\:formatDate\(\) expects int\|string\|Zend_Date, true given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Resource/Design/Collection.php - - message: "#^Method Mage_Core_Model_Resource_Entity_Abstract\\:\\:getConfig\\(\\) should return bool\\|string but returns Varien_Simplexml_Config\\.$#" + message: '#^Method Mage_Core_Model_Resource_Entity_Abstract\:\:getConfig\(\) should return bool\|string but returns Varien_Simplexml_Config\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Core/Model/Resource/Entity/Abstract.php - - message: "#^Property Mage_Core_Model_Resource_Entity_Abstract\\:\\:\\$_config \\(Varien_Simplexml_Config\\) does not accept default value of type array\\.$#" + message: '#^Property Mage_Core_Model_Resource_Entity_Abstract\:\:\$_config \(Varien_Simplexml_Config\) does not accept default value of type array\.$#' + identifier: property.defaultValue count: 1 path: app/code/core/Mage/Core/Model/Resource/Entity/Abstract.php - - message: "#^Method Mage_Core_Model_Resource_File_Storage_Directory_Database\\:\\:getParentId\\(\\) should return int but returns string\\.$#" + message: '#^Method Mage_Core_Model_Resource_File_Storage_Directory_Database\:\:getParentId\(\) should return int but returns string\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Core/Model/Resource/File/Storage/Directory/Database.php - - message: "#^PHPDoc tag @param for parameter \\$callbacks with type array\\|string is not subtype of native type array\\.$#" + message: '#^PHPDoc tag @param for parameter \$callbacks with type array\|string is not subtype of native type array\.$#' + identifier: parameter.phpDocType count: 1 path: app/code/core/Mage/Core/Model/Resource/Iterator.php - - message: "#^Parameter \\#2 \\$conn of method Mage_Core_Model_Resource_Iterator\\:\\:_getStatement\\(\\) expects Zend_Db_Adapter_Abstract\\|null, Varien_Db_Adapter_Interface\\|null given\\.$#" + message: '#^Parameter \#2 \$conn of method Mage_Core_Model_Resource_Iterator\:\:_getStatement\(\) expects Zend_Db_Adapter_Abstract\|null, Varien_Db_Adapter_Interface\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Resource/Iterator.php - - message: "#^Parameter \\#6 \\$gc of function session_set_save_handler expects callable\\(string\\)\\: bool, array\\{\\$this\\(Mage_Core_Model_Resource_Session\\), 'gc'\\} given\\.$#" + message: '#^Parameter \#6 \$gc of function session_set_save_handler expects callable\(string\)\: bool, array\{\$this\(Mage_Core_Model_Resource_Session\), ''gc''\} given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Resource/Session.php - - message: "#^Parameter \\#1 \\$hook of method Varien_Db_Adapter_Pdo_Mysql\\:\\:setQueryHook\\(\\) expects array, null given\\.$#" + message: '#^Parameter \#1 \$hook of method Varien_Db_Adapter_Pdo_Mysql\:\:setQueryHook\(\) expects array, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Resource/Setup.php - - message: "#^Property Mage_Core_Model_Resource_Setup\\:\\:\\$_conn \\(Varien_Db_Adapter_Pdo_Mysql\\) does not accept Varien_Db_Adapter_Interface\\|false\\.$#" + message: '#^Property Mage_Core_Model_Resource_Setup\:\:\$_conn \(Varien_Db_Adapter_Pdo_Mysql\) does not accept Varien_Db_Adapter_Interface\|false\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Core/Model/Resource/Setup.php - - message: "#^Property Mage_Core_Model_Resource_Setup\\:\\:\\$_resourceConfig \\(Mage_Core_Model_Config_Element\\) does not accept SimpleXMLElement\\.$#" + message: '#^Property Mage_Core_Model_Resource_Setup\:\:\$_resourceConfig \(Mage_Core_Model_Config_Element\) does not accept SimpleXMLElement\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Core/Model/Resource/Setup.php - - message: "#^Negated boolean expression is always false\\.$#" + message: '#^Negated boolean expression is always false\.$#' + identifier: booleanNot.alwaysFalse count: 1 path: app/code/core/Mage/Core/Model/Resource/Setup/Query/Modifier.php - - message: "#^Right side of && is always true\\.$#" + message: '#^Right side of && is always true\.$#' + identifier: booleanAnd.rightAlwaysTrue count: 1 path: app/code/core/Mage/Core/Model/Resource/Type/Db/Mysqli.php - - message: "#^Parameter \\#1 \\$host of method Mage_Core_Model_Session_Abstract\\:\\:addHost\\(\\) expects string, true given\\.$#" + message: '#^Parameter \#1 \$host of method Mage_Core_Model_Session_Abstract\:\:addHost\(\) expects string, true given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Core/Model/Session/Abstract.php - - message: "#^Parameter \\#2 \\$clear \\(bool\\) of method Mage_Core_Model_Session_Abstract_Varien\\:\\:getData\\(\\) should be compatible with parameter \\$index \\(int\\|string\\) of method Varien_Object\\:\\:getData\\(\\)$#" + message: '#^Parameter \#2 \$clear \(bool\) of method Mage_Core_Model_Session_Abstract_Varien\:\:getData\(\) should be compatible with parameter \$index \(int\|string\) of method Varien_Object\:\:getData\(\)$#' + identifier: method.childParameterType count: 1 path: app/code/core/Mage/Core/Model/Session/Abstract/Varien.php - - message: "#^Access to an undefined property Zend_Session_Namespace\\:\\:\\$data\\.$#" + message: '#^Access to an undefined property Zend_Session_Namespace\:\:\$data\.$#' + identifier: property.notFound count: 2 path: app/code/core/Mage/Core/Model/Session/Abstract/Zend.php - - message: "#^Parameter \\#2 \\$clear \\(bool\\) of method Mage_Core_Model_Session_Abstract_Zend\\:\\:getData\\(\\) should be compatible with parameter \\$index \\(int\\|string\\) of method Varien_Object\\:\\:getData\\(\\)$#" + message: '#^Parameter \#2 \$clear \(bool\) of method Mage_Core_Model_Session_Abstract_Zend\:\:getData\(\) should be compatible with parameter \$index \(int\|string\) of method Varien_Object\:\:getData\(\)$#' + identifier: method.childParameterType count: 1 path: app/code/core/Mage/Core/Model/Session/Abstract/Zend.php - - message: "#^Method Mage_Core_Model_Store\\:\\:_getSession\\(\\) should return Mage_Core_Model_Session but returns Mage_Core_Model_Session_Abstract\\.$#" + message: '#^Method Mage_Core_Model_Store\:\:_getSession\(\) should return Mage_Core_Model_Session but returns Mage_Core_Model_Session_Abstract\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Core/Model/Store.php - - message: "#^PHPDoc type bool of property Mage_Core_Model_Store\\:\\:\\$_cacheTag is not covariant with PHPDoc type string\\|true of overridden property Mage_Core_Model_Abstract\\:\\:\\$_cacheTag\\.$#" + message: '#^PHPDoc type bool of property Mage_Core_Model_Store\:\:\$_cacheTag is not covariant with PHPDoc type string\|true of overridden property Mage_Core_Model_Abstract\:\:\$_cacheTag\.$#' + identifier: property.phpDocType count: 1 path: app/code/core/Mage/Core/Model/Store.php - - message: "#^Property Mage_Core_Model_Store\\:\\:\\$_priceFilter \\(Mage_Directory_Model_Currency_Filter\\) does not accept Varien_Filter_Sprintf\\.$#" + message: '#^Property Mage_Core_Model_Store\:\:\$_priceFilter \(Mage_Directory_Model_Currency_Filter\) does not accept Varien_Filter_Sprintf\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Core/Model/Store.php - - message: "#^Parameter \\#1 \\$options of class Zend_Translate constructor expects array\\|Zend_Config\\|Zend_Translate_Adapter, string given\\.$#" + message: '#^Parameter \#1 \$options of class Zend_Translate constructor expects array\|Zend_Config\|Zend_Translate_Adapter, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Translate.php - - message: "#^Parameter \\#2 \\$scope of method Mage_Core_Model_Translate\\:\\:_addData\\(\\) expects string, false given\\.$#" + message: '#^Parameter \#2 \$scope of method Mage_Core_Model_Translate\:\:_addData\(\) expects string, false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Translate.php - - message: "#^Parameter \\#3 \\$storeId of method Mage_Core_Model_Resource_Translate_String\\:\\:deleteTranslate\\(\\) expects int\\|null, false given\\.$#" + message: '#^Parameter \#3 \$storeId of method Mage_Core_Model_Resource_Translate_String\:\:deleteTranslate\(\) expects int\|null, false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Translate/Inline.php - - message: "#^Method Mage_Core_Model_Url\\:\\:getRequest\\(\\) should return Mage_Core_Controller_Request_Http but returns Zend_Controller_Request_Http\\.$#" + message: '#^Method Mage_Core_Model_Url\:\:getRequest\(\) should return Mage_Core_Controller_Request_Http but returns Zend_Controller_Request_Http\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Core/Model/Url.php - - message: "#^Negated boolean expression is always true\\.$#" + message: '#^Negated boolean expression is always true\.$#' + identifier: booleanNot.alwaysTrue count: 1 path: app/code/core/Mage/Core/Model/Url/Rewrite.php - - message: "#^PHPDoc type mixed of property Mage_Core_Model_Url_Rewrite\\:\\:\\$_cacheTag is not covariant with PHPDoc type string\\|true of overridden property Mage_Core_Model_Abstract\\:\\:\\$_cacheTag\\.$#" + message: '#^PHPDoc type mixed of property Mage_Core_Model_Url_Rewrite\:\:\$_cacheTag is not covariant with PHPDoc type string\|true of overridden property Mage_Core_Model_Abstract\:\:\$_cacheTag\.$#' + identifier: property.phpDocType count: 1 path: app/code/core/Mage/Core/Model/Url/Rewrite.php - - message: "#^Parameter \\#3 \\$period of method Mage_Core_Model_Cookie\\:\\:set\\(\\) expects int\\|null, true given\\.$#" + message: '#^Parameter \#3 \$period of method Mage_Core_Model_Cookie\:\:set\(\) expects int\|null, true given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Url/Rewrite.php - - message: "#^Unreachable statement \\- code above always terminates\\.$#" + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable count: 1 path: app/code/core/Mage/Core/Model/Url/Rewrite.php - - message: "#^Variable \\$targetUrl might not be defined\\.$#" + message: '#^Variable \$targetUrl might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/code/core/Mage/Core/Model/Url/Rewrite.php - - message: "#^Negated boolean expression is always true\\.$#" + message: '#^Negated boolean expression is always true\.$#' + identifier: booleanNot.alwaysTrue count: 1 path: app/code/core/Mage/Core/Model/Url/Rewrite/Request.php - - message: "#^Parameter \\#3 \\$period of method Mage_Core_Model_Cookie\\:\\:set\\(\\) expects int\\|null, true given\\.$#" + message: '#^Parameter \#3 \$period of method Mage_Core_Model_Cookie\:\:set\(\) expects int\|null, true given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Url/Rewrite/Request.php - - message: "#^Unreachable statement \\- code above always terminates\\.$#" + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable count: 1 path: app/code/core/Mage/Core/Model/Url/Rewrite/Request.php - - message: "#^Parameter \\#1 \\$prefix of function uniqid expects string, int\\<0, max\\> given\\.$#" + message: '#^Parameter \#1 \$prefix of function uniqid expects string, int\<0, max\> given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Core/functions.php - - message: "#^Variable \\$arguments might not be defined\\.$#" + message: '#^Variable \$arguments might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Cron/Model/Observer.php - - message: "#^Property Mage_CurrencySymbol_Model_System_Currencysymbol\\:\\:\\$_storeId \\(string\\|null\\) does not accept int\\|null\\.$#" + message: '#^Property Mage_CurrencySymbol_Model_System_Currencysymbol\:\:\$_storeId \(string\|null\) does not accept int\|null\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/CurrencySymbol/Model/System/Currencysymbol.php - - message: "#^Property Mage_CurrencySymbol_Model_System_Currencysymbol\\:\\:\\$_websiteId \\(string\\|null\\) does not accept int\\|null\\.$#" + message: '#^Property Mage_CurrencySymbol_Model_System_Currencysymbol\:\:\$_websiteId \(string\|null\) does not accept int\|null\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/CurrencySymbol/Model/System/Currencysymbol.php - - message: "#^Call to an undefined method Mage_Wishlist_Model_Resource_Item_Collection\\:\\:addAttributeToSelect\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Wishlist_Model_Resource_Item_Collection\:\:addAttributeToSelect\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Customer/Block/Account/Dashboard/Sidebar.php - - message: "#^Property Mage_Customer_Block_Account_Navigation\\:\\:\\$_activeLink \\(bool\\) does not accept string\\.$#" + message: '#^Property Mage_Customer_Block_Account_Navigation\:\:\$_activeLink \(bool\) does not accept string\.$#' + identifier: assign.propertyType count: 2 path: app/code/core/Mage/Customer/Block/Account/Navigation.php - - message: "#^Method Mage_Customer_Block_Address_Edit\\:\\:getCountryId\\(\\) should return int but returns string\\.$#" + message: '#^Method Mage_Customer_Block_Address_Edit\:\:getCountryId\(\) should return int but returns string\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Customer/Block/Address/Edit.php - - message: "#^Return type \\(int\\) of method Mage_Customer_Block_Address_Edit\\:\\:getCountryId\\(\\) should be compatible with return type \\(string\\) of method Mage_Directory_Block_Data\\:\\:getCountryId\\(\\)$#" + message: '#^Return type \(int\) of method Mage_Customer_Block_Address_Edit\:\:getCountryId\(\) should be compatible with return type \(string\) of method Mage_Directory_Block_Data\:\:getCountryId\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/Customer/Block/Address/Edit.php - - message: "#^Method Mage_Customer_Block_Form_Register\\:\\:getCountryId\\(\\) should return int but returns string\\.$#" + message: '#^Method Mage_Customer_Block_Form_Register\:\:getCountryId\(\) should return int but returns string\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Customer/Block/Form/Register.php - - message: "#^Return type \\(int\\) of method Mage_Customer_Block_Form_Register\\:\\:getCountryId\\(\\) should be compatible with return type \\(string\\) of method Mage_Directory_Block_Data\\:\\:getCountryId\\(\\)$#" + message: '#^Return type \(int\) of method Mage_Customer_Block_Form_Register\:\:getCountryId\(\) should be compatible with return type \(string\) of method Mage_Directory_Block_Data\:\:getCountryId\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/Customer/Block/Form/Register.php - - message: "#^Method Mage_Customer_Block_Newsletter\\:\\:getAction\\(\\) should return Mage_Core_Controller_Varien_Action but returns string\\.$#" + message: '#^Method Mage_Customer_Block_Newsletter\:\:getAction\(\) should return Mage_Core_Controller_Varien_Action but returns string\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Customer/Block/Newsletter.php - - message: "#^Parameter \\#1 \\$entityType of method Mage_Eav_Model_Config\\:\\:getEntityAttributeCodes\\(\\) expects Mage_Eav_Model_Entity_Type, string given\\.$#" + message: '#^Parameter \#1 \$entityType of method Mage_Eav_Model_Config\:\:getEntityAttributeCodes\(\) expects Mage_Eav_Model_Entity_Type, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Customer/Helper/Address.php - - message: "#^Property Mage_Customer_Helper_Data\\:\\:\\$_customer \\(Mage_Customer_Model_Customer\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Customer_Helper_Data\:\:\$_customer \(Mage_Customer_Model_Customer\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Customer/Helper/Data.php - - message: "#^Property Mage_Customer_Helper_Data\\:\\:\\$_groups \\(Mage_Customer_Model_Entity_Group_Collection\\) does not accept Mage_Customer_Model_Resource_Group_Collection\\.$#" + message: '#^Property Mage_Customer_Helper_Data\:\:\$_groups \(Mage_Customer_Model_Entity_Group_Collection\) does not accept Mage_Customer_Model_Resource_Group_Collection\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Customer/Helper/Data.php - - message: "#^Property Mage_Customer_Helper_Data\\:\\:\\$_groups \\(Mage_Customer_Model_Entity_Group_Collection\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Customer_Helper_Data\:\:\$_groups \(Mage_Customer_Model_Entity_Group_Collection\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Customer/Helper/Data.php - - message: "#^Parameter \\#1 \\$entity of method Mage_Customer_Model_Api_Resource\\:\\:getAllowedAttributes\\(\\) expects Mage_Eav_Model_Entity_Abstract, Mage_Customer_Model_Address given\\.$#" + message: '#^Parameter \#1 \$entity of method Mage_Customer_Model_Api_Resource\:\:getAllowedAttributes\(\) expects Mage_Eav_Model_Entity_Abstract, Mage_Customer_Model_Address given\.$#' + identifier: argument.type count: 4 path: app/code/core/Mage/Customer/Model/Address/Api.php - - message: "#^Cannot access property \\$is_default_billing on array\\.$#" + message: '#^Cannot access property \$is_default_billing on array\.$#' + identifier: property.nonObject count: 2 path: app/code/core/Mage/Customer/Model/Address/Api/V2.php - - message: "#^Cannot access property \\$is_default_shipping on array\\.$#" + message: '#^Cannot access property \$is_default_shipping on array\.$#' + identifier: property.nonObject count: 2 path: app/code/core/Mage/Customer/Model/Address/Api/V2.php - - message: "#^Parameter \\#1 \\$entity of method Mage_Customer_Model_Api_Resource\\:\\:getAllowedAttributes\\(\\) expects Mage_Eav_Model_Entity_Abstract, Mage_Customer_Model_Address given\\.$#" + message: '#^Parameter \#1 \$entity of method Mage_Customer_Model_Api_Resource\:\:getAllowedAttributes\(\) expects Mage_Eav_Model_Entity_Abstract, Mage_Customer_Model_Address given\.$#' + identifier: argument.type count: 3 path: app/code/core/Mage/Customer/Model/Address/Api/V2.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\\:\\:getResource\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:getResource\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Customer/Model/Api/Resource.php - - message: "#^Call to an undefined method Mage_Customer_Model_Api2_Customer_Address\\:\\:_getDefaultAddressesInfo\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Customer_Model_Api2_Customer_Address\:\:_getDefaultAddressesInfo\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Customer/Model/Api2/Customer/Address.php - - message: "#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\\:\\:getAllOptions\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^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/Customer/Model/Convert/Adapter/Customer.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\\:\\:setStore\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:setStore\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Customer/Model/Convert/Parser/Customer.php - - message: "#^Variable \\$regionId might not be defined\\.$#" + message: '#^Variable \$regionId might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Customer/Model/Convert/Parser/Customer.php - - message: "#^Parameter \\#1 \\$entity of method Mage_Customer_Model_Api_Resource\\:\\:getAllowedAttributes\\(\\) expects Mage_Eav_Model_Entity_Abstract, Mage_Customer_Model_Customer given\\.$#" + message: '#^Parameter \#1 \$entity of method Mage_Customer_Model_Api_Resource\:\:getAllowedAttributes\(\) expects Mage_Eav_Model_Entity_Abstract, Mage_Customer_Model_Customer given\.$#' + identifier: argument.type count: 3 path: app/code/core/Mage/Customer/Model/Customer/Api.php - - message: "#^Parameter \\#1 \\$data \\(stdClass\\) of method Mage_Customer_Model_Customer_Api_V2\\:\\:_prepareData\\(\\) should be compatible with parameter \\$data \\(array\\) of method Mage_Customer_Model_Customer_Api\\:\\:_prepareData\\(\\)$#" + message: '#^Parameter \#1 \$data \(stdClass\) of method Mage_Customer_Model_Customer_Api_V2\:\:_prepareData\(\) should be compatible with parameter \$data \(array\) of method Mage_Customer_Model_Customer_Api\:\:_prepareData\(\)$#' + identifier: method.childParameterType count: 1 path: app/code/core/Mage/Customer/Model/Customer/Api/V2.php - - message: "#^Strict comparison using \\!\\=\\= between array\\ and null will always evaluate to true\\.$#" + message: '#^Strict comparison using \!\=\= between array\ and null will always evaluate to true\.$#' + identifier: notIdentical.alwaysTrue count: 1 path: app/code/core/Mage/Customer/Model/Customer/Api/V2.php - - message: "#^Unreachable statement \\- code above always terminates\\.$#" + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable count: 1 path: app/code/core/Mage/Customer/Model/Customer/Api/V2.php - - message: "#^Parameter \\#1 \\$customer of method Mage_Customer_Model_Resource_Customer\\:\\:_saveAddresses\\(\\) expects Mage_Customer_Model_Customer, Varien_Object given\\.$#" + message: '#^Parameter \#1 \$customer of method Mage_Customer_Model_Resource_Customer\:\:_saveAddresses\(\) expects Mage_Customer_Model_Customer, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Customer/Model/Resource/Customer.php - - message: "#^Parameter \\#2 \\$entityId of method Mage_Eav_Model_Entity_Abstract\\:\\:load\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#2 \$entityId of method Mage_Eav_Model_Entity_Abstract\:\:load\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Customer/Model/Resource/Customer.php - - message: "#^Parameter \\#2 \\$resourceModel of method Mage_Core_Model_Resource_Db_Collection_Abstract\\:\\:_init\\(\\) expects Mage_Core_Model_Resource_Db_Abstract\\|null, string given\\.$#" + message: '#^Parameter \#2 \$resourceModel of method Mage_Core_Model_Resource_Db_Collection_Abstract\:\:_init\(\) expects Mage_Core_Model_Resource_Db_Abstract\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Customer/Model/Resource/Form/Attribute/Collection.php - - message: "#^Parameter \\#3 \\$default of method Mage_Eav_Model_Entity_Setup\\:\\:_getValue\\(\\) expects string\\|null, int given\\.$#" + message: '#^Parameter \#3 \$default of method Mage_Eav_Model_Entity_Setup\:\:_getValue\(\) expects string\|null, int given\.$#' + identifier: argument.type count: 4 path: app/code/core/Mage/Customer/Model/Resource/Setup.php - - message: "#^Parameter \\#1 \\$url of method Mage_Core_Controller_Response_Http\\:\\:setRedirect\\(\\) expects string, bool given\\.$#" + message: '#^Parameter \#1 \$url of method Mage_Core_Controller_Response_Http\:\:setRedirect\(\) expects string, bool given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Customer/Model/Session.php - - message: "#^Method Mage_Dataflow_Model_Batch\\:\\:setParams\\(\\) should return Mage_Dataflow_Model_Batch_Abstract but returns \\$this\\(Mage_Dataflow_Model_Batch\\)\\.$#" + message: '#^Method Mage_Dataflow_Model_Batch\:\:setParams\(\) should return Mage_Dataflow_Model_Batch_Abstract but returns \$this\(Mage_Dataflow_Model_Batch\)\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Dataflow/Model/Batch.php - - message: "#^Property Mage_Dataflow_Model_Batch\\:\\:\\$_batchExport \\(Mage_Dataflow_Model_Batch_Export\\|null\\) does not accept string\\|false\\.$#" + message: '#^Property Mage_Dataflow_Model_Batch\:\:\$_batchExport \(Mage_Dataflow_Model_Batch_Export\|null\) does not accept string\|false\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Dataflow/Model/Batch.php - - message: "#^Property Mage_Dataflow_Model_Batch\\:\\:\\$_batchImport \\(Mage_Dataflow_Model_Batch_Import\\|null\\) does not accept string\\|false\\.$#" + message: '#^Property Mage_Dataflow_Model_Batch\:\:\$_batchImport \(Mage_Dataflow_Model_Batch_Import\|null\) does not accept string\|false\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Dataflow/Model/Batch.php - - message: "#^Call to an undefined method Mage_Core_Model_Resource_Db_Abstract\\:\\:deleteCollection\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Core_Model_Resource_Db_Abstract\:\:deleteCollection\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Dataflow/Model/Batch/Abstract.php - - message: "#^Call to an undefined method Mage_Core_Model_Resource_Db_Abstract\\:\\:getIdCollection\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Core_Model_Resource_Db_Abstract\:\:getIdCollection\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Dataflow/Model/Batch/Abstract.php - - message: "#^Call to an undefined method Mage_Dataflow_Model_Convert_Action\\:\\:getData\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Dataflow_Model_Convert_Action\:\:getData\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Dataflow/Model/Convert.php - - message: "#^Call to an undefined method Mage_Dataflow_Model_Convert_Action_Abstract\\:\\:getClassNameByType\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Dataflow_Model_Convert_Action_Abstract\:\:getClassNameByType\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Dataflow/Model/Convert/Action/Abstract.php - - message: "#^Call to an undefined method Mage_Dataflow_Model_Convert_Container_Interface\\:\\:setAction\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Dataflow_Model_Convert_Container_Interface\:\:setAction\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Dataflow/Model/Convert/Action/Abstract.php - - message: "#^Call to an undefined method Mage_Dataflow_Model_Convert_Container_Interface\\:\\:setProfile\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Dataflow_Model_Convert_Container_Interface\:\:setProfile\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Dataflow/Model/Convert/Action/Abstract.php - - message: "#^Property Mage_Dataflow_Model_Convert_Action_Abstract\\:\\:\\$_container \\(Mage_Dataflow_Model_Convert_Container_Abstract\\) does not accept Mage_Dataflow_Model_Convert_Container_Interface\\.$#" + message: '#^Property Mage_Dataflow_Model_Convert_Action_Abstract\:\:\$_container \(Mage_Dataflow_Model_Convert_Container_Abstract\) does not accept Mage_Dataflow_Model_Convert_Container_Interface\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Dataflow/Model/Convert/Action/Abstract.php - - message: "#^Undefined variable\\: \\$action$#" + message: '#^Undefined variable\: \$action$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Dataflow/Model/Convert/Action/Abstract.php - - message: "#^If condition is always false\\.$#" + message: '#^If condition is always false\.$#' + identifier: if.alwaysFalse count: 1 path: app/code/core/Mage/Dataflow/Model/Convert/Adapter/Io.php - - message: "#^Negated boolean expression is always true\\.$#" + message: '#^Negated boolean expression is always true\.$#' + identifier: booleanNot.alwaysTrue count: 2 path: app/code/core/Mage/Dataflow/Model/Convert/Adapter/Io.php - - message: "#^Call to an undefined method Mage_Dataflow_Model_Convert_Container_Interface\\:\\:getName\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Dataflow_Model_Convert_Container_Interface\:\:getName\(\)\.$#' + identifier: method.notFound count: 2 path: app/code/core/Mage/Dataflow/Model/Convert/Container/Collection.php - - message: "#^Method Mage_Dataflow_Model_Convert_Mapper_Column\\:\\:getBatchImportModel\\(\\) has invalid return type Mage_Dataflow_Model_Import_Export\\.$#" + message: '#^Method Mage_Dataflow_Model_Convert_Mapper_Column\:\:getBatchImportModel\(\) has invalid return type Mage_Dataflow_Model_Import_Export\.$#' + identifier: class.notFound count: 1 path: app/code/core/Mage/Dataflow/Model/Convert/Mapper/Column.php - - message: "#^Method Mage_Dataflow_Model_Convert_Profile_Abstract\\:\\:run\\(\\) should return Mage_Dataflow_Model_Convert_Profile_Abstract but empty return statement found\\.$#" + message: '#^Method Mage_Dataflow_Model_Convert_Profile_Abstract\:\:run\(\) should return Mage_Dataflow_Model_Convert_Profile_Abstract but empty return statement found\.$#' + identifier: return.empty count: 2 path: app/code/core/Mage/Dataflow/Model/Convert/Profile/Abstract.php - - message: "#^Undefined variable\\: \\$profile$#" + message: '#^Undefined variable\: \$profile$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Dataflow/Model/Convert/Profile/Abstract.php - - message: "#^Parameter \\#2 \\$class_name of function simplexml_load_string expects string, null given\\.$#" + message: '#^Parameter \#2 \$class_name of function simplexml_load_string expects string, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Dataflow/Model/Profile.php - - message: "#^Right side of && is always true\\.$#" + message: '#^Right side of && is always true\.$#' + identifier: booleanAnd.rightAlwaysTrue count: 1 path: app/code/core/Mage/Dataflow/Model/Profile.php - - message: "#^Variable \\$parseFileXml might not be defined\\.$#" + message: '#^Variable \$parseFileXml might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Dataflow/Model/Profile.php - - message: "#^Variable \\$path might not be defined\\.$#" + message: '#^Variable \$path might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Dataflow/Model/Profile.php - - message: "#^Method Mage_Directory_Helper_Data\\:\\:getCountryCollection\\(\\) should return Mage_Directory_Model_Resource_Country_Collection but returns Mage_Core_Model_Resource_Db_Collection_Abstract\\.$#" + message: '#^Method Mage_Directory_Helper_Data\:\:getCountryCollection\(\) should return Mage_Directory_Model_Resource_Country_Collection but returns Mage_Core_Model_Resource_Db_Collection_Abstract\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Directory/Helper/Data.php - - message: "#^Property Mage_Directory_Helper_Data\\:\\:\\$_countryCollection \\(Mage_Directory_Model_Resource_Country_Collection\\) does not accept Mage_Core_Model_Resource_Db_Collection_Abstract\\.$#" + message: '#^Property Mage_Directory_Helper_Data\:\:\$_countryCollection \(Mage_Directory_Model_Resource_Country_Collection\) does not accept Mage_Core_Model_Resource_Db_Collection_Abstract\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Directory/Helper/Data.php - - message: "#^Method Mage_Directory_Model_Country\\:\\:getFormat\\(\\) should return Mage_Directory_Model_Country_Format but returns null\\.$#" + message: '#^Method Mage_Directory_Model_Country\:\:getFormat\(\) should return Mage_Directory_Model_Country_Format but returns null\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Directory/Model/Country.php - - message: "#^Parameter \\#1 \\$value of method Zend_Currency\\:\\:toCurrency\\(\\) expects float\\|int\\|null, string given\\.$#" + message: '#^Parameter \#1 \$value of method Zend_Currency\:\:toCurrency\(\) expects float\|int\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Directory/Model/Currency/Filter.php - - message: "#^Variable \\$response might not be defined\\.$#" + message: '#^Variable \$response might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Directory/Model/Currency/Import/Fixerio.php - - message: "#^Method Mage_Directory_Model_Currency_Import_Webservicex\\:\\:_convert\\(\\) should return float\\|null but return statement is missing\\.$#" + message: '#^Method Mage_Directory_Model_Currency_Import_Webservicex\:\:_convert\(\) should return float\|null but return statement is missing\.$#' + identifier: return.missing count: 1 path: app/code/core/Mage/Directory/Model/Currency/Import/Webservicex.php - - message: "#^Parameter \\#2 \\$class_name of function simplexml_load_string expects string, null given\\.$#" + message: '#^Parameter \#2 \$class_name of function simplexml_load_string expects string, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Directory/Model/Currency/Import/Webservicex.php - - message: "#^Parameter \\#1 \\$modelClass of static method Mage\\:\\:getModel\\(\\) expects string, array given\\.$#" + message: '#^Parameter \#1 \$modelClass of static method Mage\:\:getModel\(\) expects string, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Directory/Model/Observer.php - - message: "#^Variable \\$importModel might not be defined\\.$#" + message: '#^Variable \$importModel might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Directory/Model/Observer.php - - message: "#^Left side of && is always true\\.$#" + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue count: 1 path: app/code/core/Mage/Downloadable/Block/Catalog/Product/Links.php - - message: "#^Cannot call method streamRead\\(\\) on resource\\.$#" + message: '#^Cannot call method streamRead\(\) on resource\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Downloadable/Helper/Download.php - - message: "#^Cannot call method streamStat\\(\\) on resource\\.$#" + message: '#^Cannot call method streamStat\(\) on resource\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Downloadable/Helper/Download.php - - message: "#^Parameter \\#1 \\$str of function strtolower expects string, bool given\\.$#" + message: '#^Parameter \#1 \$str of function strtolower expects string, bool given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Downloadable/Helper/Download.php - - message: "#^Variable \\$downloadableModel might not be defined\\.$#" + message: '#^Variable \$downloadableModel might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/code/core/Mage/Downloadable/Model/Link/Api.php - - message: "#^Parameter \\#2 \\$code of class Exception constructor expects int, string given\\.$#" + message: '#^Parameter \#2 \$code of class Exception constructor expects int, string given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Downloadable/Model/Link/Api/Uploader.php - - message: "#^Parameter \\#2 \\$resource \\(object\\) of method Mage_Downloadable_Model_Link_Api_V2\\:\\:add\\(\\) should be compatible with parameter \\$resource \\(array\\) of method Mage_Downloadable_Model_Link_Api\\:\\:add\\(\\)$#" + message: '#^Parameter \#2 \$resource \(object\) of method Mage_Downloadable_Model_Link_Api_V2\:\:add\(\) should be compatible with parameter \$resource \(array\) of method Mage_Downloadable_Model_Link_Api\:\:add\(\)$#' + identifier: method.childParameterType count: 1 path: app/code/core/Mage/Downloadable/Model/Link/Api/V2.php - - message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, '\\\\\\\\intval' given\\.$#" + message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, ''\\\\intval'' given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Downloadable/Model/Product/Type.php - - message: "#^If condition is always true\\.$#" + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue count: 1 path: app/code/core/Mage/Downloadable/Model/Resource/Link.php - - message: "#^If condition is always true\\.$#" + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue count: 1 path: app/code/core/Mage/Downloadable/Model/Resource/Sample.php - - message: "#^Parameter \\#1 \\$item of method Mage_Sales_Model_Order_Pdf_Items_Abstract\\:\\:getSku\\(\\) expects Mage_Sales_Model_Order_Creditmemo_Item\\|Mage_Sales_Model_Order_Invoice_Item, Varien_Object given\\.$#" + message: '#^Parameter \#1 \$item of method Mage_Sales_Model_Order_Pdf_Items_Abstract\:\:getSku\(\) expects Mage_Sales_Model_Order_Creditmemo_Item\|Mage_Sales_Model_Order_Invoice_Item, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Downloadable/Model/Sales/Order/Pdf/Items/Creditmemo.php - - message: "#^Parameter \\#1 \\$item of method Mage_Sales_Model_Order_Pdf_Items_Abstract\\:\\:getSku\\(\\) expects Mage_Sales_Model_Order_Creditmemo_Item\\|Mage_Sales_Model_Order_Invoice_Item, Varien_Object given\\.$#" + message: '#^Parameter \#1 \$item of method Mage_Sales_Model_Order_Pdf_Items_Abstract\:\:getSku\(\) expects Mage_Sales_Model_Order_Creditmemo_Item\|Mage_Sales_Model_Order_Invoice_Item, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Downloadable/Model/Sales/Order/Pdf/Items/Invoice.php - - message: "#^Parameter \\#2 \\$loginUrl of method Mage_Customer_Model_Session\\:\\:authenticate\\(\\) expects bool\\|null, string given\\.$#" + message: '#^Parameter \#2 \$loginUrl of method Mage_Customer_Model_Session\:\:authenticate\(\) expects bool\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Downloadable/controllers/CustomerController.php - - message: "#^Dead catch \\- Mage_Core_Exception is never thrown in the try block\\.$#" + message: '#^Dead catch \- Mage_Core_Exception is never thrown in the try block\.$#' + identifier: catch.neverThrown count: 2 path: app/code/core/Mage/Downloadable/controllers/DownloadController.php - - message: "#^Method Mage_Customer_Model_Session\\:\\:setBeforeAuthUrl\\(\\) invoked with 2 parameters, 1 required\\.$#" + message: '#^Method Mage_Customer_Model_Session\:\:setBeforeAuthUrl\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Downloadable/controllers/DownloadController.php - - message: "#^Return type \\(void\\) of method Mage_Downloadable_Product_EditController\\:\\:preDispatch\\(\\) should be compatible with return type \\(Mage_Adminhtml_Controller_Action\\) of method Mage_Adminhtml_Catalog_ProductController\\:\\:preDispatch\\(\\)$#" + message: '#^Return type \(void\) of method Mage_Downloadable_Product_EditController\:\:preDispatch\(\) should be compatible with return type \(Mage_Adminhtml_Controller_Action\) of method Mage_Adminhtml_Catalog_ProductController\:\:preDispatch\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/Downloadable/controllers/Product/EditController.php - - message: "#^Parameter \\#1 \\$readonly of method Varien_Data_Form_Abstract\\:\\:setReadonly\\(\\) expects bool, int given\\.$#" + message: '#^Parameter \#1 \$readonly of method Varien_Data_Form_Abstract\:\:setReadonly\(\) expects bool, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Eav/Block/Adminhtml/Attribute/Edit/Main/Abstract.php - - message: "#^Parameter \\#1 \\$attr of method Mage_ConfigurableSwatches_Helper_Data\\:\\:attrIsSwatchType\\(\\) expects int\\|Mage_Eav_Model_Attribute, Mage_Eav_Model_Entity_Attribute_Abstract given\\.$#" + message: '#^Parameter \#1 \$attr of method Mage_ConfigurableSwatches_Helper_Data\:\:attrIsSwatchType\(\) expects int\|Mage_Eav_Model_Attribute, Mage_Eav_Model_Entity_Attribute_Abstract given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Eav/Block/Adminhtml/Attribute/Edit/Options/Abstract.php - - message: "#^Call to an undefined method Mage_Eav_Model_Resource_Entity_Attribute\\:\\:getUsedInForms\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Resource_Entity_Attribute\:\:getUsedInForms\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Eav/Model/Attribute.php - - message: "#^Method Mage_Eav_Model_Attribute_Data_Abstract\\:\\:setRequestScope\\(\\) should return string but returns \\$this\\(Mage_Eav_Model_Attribute_Data_Abstract\\)\\.$#" + message: '#^Method Mage_Eav_Model_Attribute_Data_Abstract\:\:setRequestScope\(\) should return string but returns \$this\(Mage_Eav_Model_Attribute_Data_Abstract\)\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Eav/Model/Attribute/Data/Abstract.php - - message: "#^Property Mage_Eav_Model_Attribute_Data_Abstract\\:\\:\\$_attribite \\(Mage_Eav_Model_Attribute\\) does not accept Mage_Eav_Model_Entity_Attribute_Abstract\\.$#" + message: '#^Property Mage_Eav_Model_Attribute_Data_Abstract\:\:\$_attribite \(Mage_Eav_Model_Attribute\) does not accept Mage_Eav_Model_Entity_Attribute_Abstract\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Eav/Model/Attribute/Data/Abstract.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\\:\\:getEntityTypeCode\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:getEntityTypeCode\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Eav/Model/Attribute/Data/File.php - - message: "#^Method Mage_Eav_Model_Config\\:\\:getAttribute\\(\\) should return Mage_Eav_Model_Entity_Attribute_Abstract\\|false but returns Mage_Eav_Model_Entity_Attribute_Interface\\.$#" + message: '#^Method Mage_Eav_Model_Config\:\:getAttribute\(\) should return Mage_Eav_Model_Entity_Attribute_Abstract\|false but returns Mage_Eav_Model_Entity_Attribute_Interface\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Eav/Model/Config.php - - message: "#^Variable \\$defBind might not be defined\\.$#" + message: '#^Variable \$defBind might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Eav/Model/Convert/Adapter/Entity.php - - message: "#^Variable \\$entityIds might not be defined\\.$#" + message: '#^Variable \$entityIds might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Eav/Model/Convert/Adapter/Entity.php - - message: "#^Binary operation \"\\.\" between Mage_Eav_Model_Entity_Interface and '_collection' results in an error\\.$#" + message: '#^Binary operation "\." between Mage_Eav_Model_Entity_Interface and ''_collection'' results in an error\.$#' + identifier: binaryOp.invalid count: 1 path: app/code/core/Mage/Eav/Model/Convert/Adapter/Grid.php - - message: "#^Cannot call method addData\\(\\) on Mage_Core_Model_Resource_Db_Collection_Abstract\\|false\\.$#" + message: '#^Cannot call method addData\(\) on Mage_Core_Model_Resource_Db_Collection_Abstract\|false\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Eav/Model/Convert/Adapter/Grid.php - - message: "#^Cannot call method getId\\(\\) on Mage_Core_Model_Resource_Db_Collection_Abstract\\|false\\.$#" + message: '#^Cannot call method getId\(\) on Mage_Core_Model_Resource_Db_Collection_Abstract\|false\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Eav/Model/Convert/Adapter/Grid.php - - message: "#^Parameter \\#1 \\$modelClass of static method Mage\\:\\:getResourceModel\\(\\) expects string, Mage_Eav_Model_Entity_Interface given\\.$#" + message: '#^Parameter \#1 \$modelClass of static method Mage\:\:getResourceModel\(\) expects string, Mage_Eav_Model_Entity_Interface given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Eav/Model/Convert/Adapter/Grid.php - - message: "#^Variable \\$collection might not be defined\\.$#" + message: '#^Variable \$collection might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Eav/Model/Convert/Adapter/Grid.php - - message: "#^Variable \\$entity might not be defined\\.$#" + message: '#^Variable \$entity might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Eav/Model/Convert/Adapter/Grid.php - - message: "#^Parameter \\#2 \\$str of function explode expects string, array given\\.$#" + message: '#^Parameter \#2 \$str of function explode expects string, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Eav/Model/Convert/Parser/Abstract.php - - message: "#^Cannot call method lastInsertId\\(\\) on Varien_Db_Adapter_Interface\\|false\\.$#" + message: '#^Cannot call method lastInsertId\(\) on Varien_Db_Adapter_Interface\|false\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Eav/Model/Entity/Abstract.php - - message: "#^Parameter \\#1 \\$object of method Mage_Eav_Model_Entity_Abstract\\:\\:load\\(\\) expects Mage_Core_Model_Abstract, Varien_Object given\\.$#" + message: '#^Parameter \#1 \$object of method Mage_Eav_Model_Entity_Abstract\:\:load\(\) expects Mage_Core_Model_Abstract, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Eav/Model/Entity/Abstract.php - - message: "#^Property Mage_Eav_Model_Entity_Abstract\\:\\:\\$_type \\(Mage_Eav_Model_Entity_Type\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Eav_Model_Entity_Abstract\:\:\$_type \(Mage_Eav_Model_Entity_Type\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Eav/Model/Entity/Abstract.php - - message: "#^Variable \\$attributeCode might not be defined\\.$#" + message: '#^Variable \$attributeCode might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Eav/Model/Entity/Abstract.php - - message: "#^Variable \\$id might not be defined\\.$#" + message: '#^Variable \$id might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Eav/Model/Entity/Abstract.php - - message: "#^Variable \\$instance might not be defined\\.$#" + message: '#^Variable \$instance might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Eav/Model/Entity/Abstract.php - - message: "#^Variable \\$method might not be defined\\.$#" + message: '#^Variable \$method might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Eav/Model/Entity/Abstract.php - - message: "#^Variable \\$part might not be defined\\.$#" + message: '#^Variable \$part might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Eav/Model/Entity/Abstract.php - - message: "#^Call to an undefined method Mage_Core_Model_Resource_Db_Abstract\\:\\:getIdByCode\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Core_Model_Resource_Db_Abstract\:\:getIdByCode\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php - - message: "#^Property Mage_Eav_Model_Entity_Attribute_Abstract\\:\\:\\$_backend \\(Mage_Eav_Model_Entity_Attribute_Backend_Abstract\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Eav_Model_Entity_Attribute_Abstract\:\:\$_backend \(Mage_Eav_Model_Entity_Attribute_Backend_Abstract\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php - - message: "#^Property Mage_Eav_Model_Entity_Attribute_Abstract\\:\\:\\$_entity \\(Mage_Eav_Model_Entity_Abstract\\) does not accept Mage_Eav_Model_Entity_Type\\.$#" + message: '#^Property Mage_Eav_Model_Entity_Attribute_Abstract\:\:\$_entity \(Mage_Eav_Model_Entity_Abstract\) does not accept Mage_Eav_Model_Entity_Type\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php - - message: "#^Property Mage_Eav_Model_Entity_Attribute_Abstract\\:\\:\\$_frontend \\(Mage_Eav_Model_Entity_Attribute_Frontend_Abstract\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Eav_Model_Entity_Attribute_Abstract\:\:\$_frontend \(Mage_Eav_Model_Entity_Attribute_Frontend_Abstract\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php - - message: "#^Property Mage_Eav_Model_Entity_Attribute_Abstract\\:\\:\\$_source \\(Mage_Eav_Model_Entity_Attribute_Source_Abstract\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Eav_Model_Entity_Attribute_Abstract\:\:\$_source \(Mage_Eav_Model_Entity_Attribute_Source_Abstract\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php - - message: "#^Variable \\$out in empty\\(\\) always exists and is not falsy\\.$#" + message: '#^Variable \$out in empty\(\) always exists and is not falsy\.$#' + identifier: empty.variable count: 1 path: app/code/core/Mage/Eav/Model/Entity/Attribute/Frontend/Abstract.php - - message: "#^Call to an undefined method Mage_Eav_Model_Resource_Entity_Attribute_Group\\:\\:deleteGroups\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Resource_Entity_Attribute_Group\:\:deleteGroups\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Eav/Model/Entity/Attribute/Group.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Collection_Abstract\\:\\:getStoreId\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Collection_Abstract\:\:getStoreId\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Eav/Model/Entity/Attribute/Source/Table.php - - message: "#^Parameter \\#2 \\$attribute of method Mage_Eav_Model_Resource_Entity_Attribute_Option\\:\\:addOptionValueToCollection\\(\\) expects Mage_Eav_Model_Entity_Attribute, Mage_Eav_Model_Entity_Attribute_Abstract given\\.$#" + message: '#^Parameter \#2 \$attribute of method Mage_Eav_Model_Resource_Entity_Attribute_Option\:\:addOptionValueToCollection\(\) expects Mage_Eav_Model_Entity_Attribute, Mage_Eav_Model_Entity_Attribute_Abstract given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Eav/Model/Entity/Attribute/Source/Table.php - - message: "#^Parameter \\#1 \\$resource of method Mage_Eav_Model_Entity_Collection_Abstract\\:\\:__construct\\(\\) expects Mage_Core_Model_Resource_Abstract\\|null, Varien_Db_Adapter_Interface\\|false given\\.$#" + message: '#^Parameter \#1 \$resource of method Mage_Eav_Model_Entity_Collection_Abstract\:\:__construct\(\) expects Mage_Core_Model_Resource_Abstract\|null, Varien_Db_Adapter_Interface\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Eav/Model/Entity/Collection.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Attribute_Interface\\:\\:getAttributeCode\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Attribute_Interface\:\:getAttributeCode\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php - - message: "#^Constructor of class Mage_Eav_Model_Entity_Collection_Abstract has an unused parameter \\$resource\\.$#" + message: '#^Constructor of class Mage_Eav_Model_Entity_Collection_Abstract has an unused parameter \$resource\.$#' + identifier: constructor.unusedParameter count: 1 path: app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php - - message: "#^Parameter \\#1 \\$className of method Varien_Data_Collection\\:\\:setItemObjectClass\\(\\) expects string, null given\\.$#" + message: '#^Parameter \#1 \$className of method Varien_Data_Collection\:\:setItemObjectClass\(\) expects string, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php - - message: "#^Parameter \\#2 \\$alias of method Varien_Db_Adapter_Interface\\:\\:quoteColumnAs\\(\\) expects string, null given\\.$#" + message: '#^Parameter \#2 \$alias of method Varien_Db_Adapter_Interface\:\:quoteColumnAs\(\) expects string, null given\.$#' + identifier: argument.type count: 4 path: app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php - - message: "#^Property Mage_Eav_Model_Entity_Collection_Abstract\\:\\:\\$_entity \\(Mage_Eav_Model_Entity_Abstract\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Eav_Model_Entity_Collection_Abstract\:\:\$_entity \(Mage_Eav_Model_Entity_Abstract\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php - - message: "#^Variable \\$attrArr might not be defined\\.$#" + message: '#^Variable \$attrArr might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php - - message: "#^Variable \\$bindAttribute might not be defined\\.$#" + message: '#^Variable \$bindAttribute might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php - - message: "#^Variable \\$entity might not be defined\\.$#" + message: '#^Variable \$entity might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php - - message: "#^Variable \\$query might not be defined\\.$#" + message: '#^Variable \$query might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php - - message: "#^Variable \\$select might not be defined\\.$#" + message: '#^Variable \$select might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php - - message: "#^Argument of an invalid type string supplied for foreach, only iterables are supported\\.$#" + message: '#^Argument of an invalid type string supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable count: 1 path: app/code/core/Mage/Eav/Model/Entity/Setup.php - - message: "#^Binary operation \"\\+\" between string and 10 results in an error\\.$#" + message: '#^Binary operation "\+" between string and 10 results in an error\.$#' + identifier: binaryOp.invalid count: 1 path: app/code/core/Mage/Eav/Model/Entity/Setup.php - - message: "#^Call to an undefined method Varien_Db_Adapter_Interface\\:\\:lastInsertId\\(\\)\\.$#" + message: '#^Call to an undefined method Varien_Db_Adapter_Interface\:\:lastInsertId\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Eav/Model/Entity/Setup.php - - message: "#^Left side of && is always true\\.$#" + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue count: 2 path: app/code/core/Mage/Eav/Model/Entity/Setup.php - - message: "#^Method Mage_Eav_Model_Entity_Setup\\:\\:getDefaultAttributeGroupId\\(\\) should return int but returns string\\.$#" + message: '#^Method Mage_Eav_Model_Entity_Setup\:\:getDefaultAttributeGroupId\(\) should return int but returns string\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Eav/Model/Entity/Setup.php - - message: "#^Method Mage_Eav_Model_Entity_Setup\\:\\:getDefaultAttributeSetId\\(\\) should return int but returns string\\.$#" + message: '#^Method Mage_Eav_Model_Entity_Setup\:\:getDefaultAttributeSetId\(\) should return int but returns string\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Eav/Model/Entity/Setup.php - - message: "#^Parameter \\#1 \\$code of method Mage_Eav_Model_Entity_Setup\\:\\:updateEntityType\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#1 \$code of method Mage_Eav_Model_Entity_Setup\:\:updateEntityType\(\) expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Eav/Model/Entity/Setup.php - - message: "#^Parameter \\#1 \\$priTableName of method Mage_Core_Model_Resource_Setup\\:\\:getFkName\\(\\) expects string, array\\ given\\.$#" + message: '#^Parameter \#1 \$priTableName of method Mage_Core_Model_Resource_Setup\:\:getFkName\(\) expects string, array\ given\.$#' + identifier: argument.type count: 3 path: app/code/core/Mage/Eav/Model/Entity/Setup.php - - message: "#^Parameter \\#1 \\$tableName of method Mage_Core_Model_Resource_Setup\\:\\:getIdxName\\(\\) expects string, array\\ given\\.$#" + message: '#^Parameter \#1 \$tableName of method Mage_Core_Model_Resource_Setup\:\:getIdxName\(\) expects string, array\ given\.$#' + identifier: argument.type count: 6 path: app/code/core/Mage/Eav/Model/Entity/Setup.php - - message: "#^Parameter \\#2 \\$field of method Mage_Eav_Model_Entity_Setup\\:\\:updateEntityType\\(\\) expects string, array\\ given\\.$#" + message: '#^Parameter \#2 \$field of method Mage_Eav_Model_Entity_Setup\:\:updateEntityType\(\) expects string, array\ given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Eav/Model/Entity/Setup.php - - message: "#^Parameter \\#3 \\$default of method Mage_Eav_Model_Entity_Setup\\:\\:_getValue\\(\\) expects string\\|null, array given\\.$#" + message: '#^Parameter \#3 \$default of method Mage_Eav_Model_Entity_Setup\:\:_getValue\(\) expects string\|null, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Eav/Model/Entity/Setup.php - - message: "#^Parameter \\#3 \\$default of method Mage_Eav_Model_Entity_Setup\\:\\:_getValue\\(\\) expects string\\|null, false given\\.$#" + message: '#^Parameter \#3 \$default of method Mage_Eav_Model_Entity_Setup\:\:_getValue\(\) expects string\|null, false given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Eav/Model/Entity/Setup.php - - message: "#^Parameter \\#3 \\$default of method Mage_Eav_Model_Entity_Setup\\:\\:_getValue\\(\\) expects string\\|null, int given\\.$#" + message: '#^Parameter \#3 \$default of method Mage_Eav_Model_Entity_Setup\:\:_getValue\(\) expects string\|null, int given\.$#' + identifier: argument.type count: 7 path: app/code/core/Mage/Eav/Model/Entity/Setup.php - - message: "#^Parameter \\#3 \\$field of method Mage_Eav_Model_Entity_Setup\\:\\:updateAttribute\\(\\) expects string, array given\\.$#" + message: '#^Parameter \#3 \$field of method Mage_Eav_Model_Entity_Setup\:\:updateAttribute\(\) expects string, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Eav/Model/Entity/Setup.php - - message: "#^Parameter \\#3 \\$value of method Mage_Eav_Model_Entity_Setup\\:\\:updateEntityType\\(\\) expects string\\|null, int given\\.$#" + message: '#^Parameter \#3 \$value of method Mage_Eav_Model_Entity_Setup\:\:updateEntityType\(\) expects string\|null, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Eav/Model/Entity/Setup.php - - message: "#^Variable \\$connection might not be defined\\.$#" + message: '#^Variable \$connection might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Eav/Model/Entity/Setup.php - - message: "#^Property Mage_Eav_Model_Entity_Type\\:\\:\\$_sets \\(Mage_Eav_Model_Resource_Entity_Attribute_Set_Collection\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Eav_Model_Entity_Type\:\:\$_sets \(Mage_Eav_Model_Resource_Entity_Attribute_Set_Collection\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Eav/Model/Entity/Type.php - - message: "#^Parameter \\#1 \\$attribute of static method Mage_Eav_Model_Attribute_Data\\:\\:factory\\(\\) expects Mage_Eav_Model_Attribute, Mage_Eav_Model_Entity_Attribute given\\.$#" + message: '#^Parameter \#1 \$attribute of static method Mage_Eav_Model_Attribute_Data\:\:factory\(\) expects Mage_Eav_Model_Attribute, Mage_Eav_Model_Entity_Attribute given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Eav/Model/Form.php - - message: "#^Parameter \\#2 \\.\\.\\.\\$args of function array_merge expects array, false given\\.$#" + message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Eav/Model/Form.php - - message: "#^Method Mage_Eav_Model_Resource_Entity_Attribute\\:\\:_getMaxSortOrder\\(\\) should return int but returns string\\|false\\|null\\.$#" + message: '#^Method Mage_Eav_Model_Resource_Entity_Attribute\:\:_getMaxSortOrder\(\) should return int but returns string\|false\|null\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Eav/Model/Resource/Entity/Attribute.php - - message: "#^Method Mage_Eav_Model_Resource_Entity_Attribute\\:\\:getIdByCode\\(\\) should return int but returns string\\|false\\|null\\.$#" + message: '#^Method Mage_Eav_Model_Resource_Entity_Attribute\:\:getIdByCode\(\) should return int but returns string\|false\|null\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Eav/Model/Resource/Entity/Attribute.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Collection_Abstract\\:\\:getStoreId\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Collection_Abstract\:\:getStoreId\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Option.php - - message: "#^Method Mage_Eav_Model_Resource_Entity_Attribute_Set\\:\\:getDefaultGroupId\\(\\) should return int\\|null but returns string\\|false\\|null\\.$#" + message: '#^Method Mage_Eav_Model_Resource_Entity_Attribute_Set\:\:getDefaultGroupId\(\) should return int\|null but returns string\|false\|null\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Set.php - - message: "#^Variable \\$store might not be defined\\.$#" + message: '#^Variable \$store might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Eav/Model/Resource/Form/Attribute/Collection.php - - message: "#^Return type \\(stdClass\\) of method Mage_GiftMessage_Model_Api_V2\\:\\:_setGiftMessage\\(\\) should be compatible with return type \\(array\\) of method Mage_GiftMessage_Model_Api\\:\\:_setGiftMessage\\(\\)$#" + message: '#^Return type \(stdClass\) of method Mage_GiftMessage_Model_Api_V2\:\:_setGiftMessage\(\) should be compatible with return type \(array\) of method Mage_GiftMessage_Model_Api\:\:_setGiftMessage\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/GiftMessage/Model/Api/V2.php - - message: "#^Method Mage_GiftMessage_Model_Message\\:\\:getEntityModelByType\\(\\) should return Mage_Eav_Model_Entity_Abstract but returns Mage_Core_Model_Abstract\\|false\\.$#" + message: '#^Method Mage_GiftMessage_Model_Message\:\:getEntityModelByType\(\) should return Mage_Eav_Model_Entity_Abstract but returns Mage_Core_Model_Abstract\|false\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/GiftMessage/Model/Message.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\\:\\:setGiftMessageId\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:setGiftMessageId\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/GiftMessage/controllers/IndexController.php - - message: "#^Call to an undefined method Mage_GiftMessage_IndexController\\:\\:_getMappedType\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_GiftMessage_IndexController\:\:_getMappedType\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/GiftMessage/controllers/IndexController.php - - message: "#^Method Mage_Eav_Model_Entity_Abstract\\:\\:load\\(\\) invoked with 1 parameter, 2\\-3 required\\.$#" + message: '#^Method Mage_Eav_Model_Entity_Abstract\:\:load\(\) invoked with 1 parameter, 2\-3 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/GiftMessage/controllers/IndexController.php - - message: "#^Return type \\(void\\) of method Mage_GoogleCheckout_Model_Payment\\:\\:authorize\\(\\) should be compatible with return type \\(\\$this\\(Mage_Payment_Model_Method_Abstract\\)\\) of method Mage_Payment_Model_Method_Abstract\\:\\:authorize\\(\\)$#" + message: '#^Method Mage_GoogleAnalytics_Block_Ga\:\:_getOrdersTrackingCode\(\) has Mage_Core_Model_Store_Exception in PHPDoc @throws tag but it''s not thrown\.$#' + identifier: throws.unusedType + count: 1 + path: app/code/core/Mage/GoogleAnalytics/Block/Ga.php + + - + message: '#^Return type \(void\) of method Mage_GoogleCheckout_Model_Payment\:\:authorize\(\) should be compatible with return type \(\$this\(Mage_Payment_Model_Method_Abstract\)\) of method Mage_Payment_Model_Method_Abstract\:\:authorize\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/GoogleCheckout/Model/Payment.php - - message: "#^Return type \\(void\\) of method Mage_GoogleCheckout_Model_Payment\\:\\:cancel\\(\\) should be compatible with return type \\(\\$this\\(Mage_Payment_Model_Method_Abstract\\)\\) of method Mage_Payment_Model_Method_Abstract\\:\\:cancel\\(\\)$#" + message: '#^Return type \(void\) of method Mage_GoogleCheckout_Model_Payment\:\:cancel\(\) should be compatible with return type \(\$this\(Mage_Payment_Model_Method_Abstract\)\) of method Mage_Payment_Model_Method_Abstract\:\:cancel\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/GoogleCheckout/Model/Payment.php - - message: "#^Return type \\(void\\) of method Mage_GoogleCheckout_Model_Payment\\:\\:capture\\(\\) should be compatible with return type \\(\\$this\\(Mage_Payment_Model_Method_Abstract\\)\\) of method Mage_Payment_Model_Method_Abstract\\:\\:capture\\(\\)$#" + message: '#^Return type \(void\) of method Mage_GoogleCheckout_Model_Payment\:\:capture\(\) should be compatible with return type \(\$this\(Mage_Payment_Model_Method_Abstract\)\) of method Mage_Payment_Model_Method_Abstract\:\:capture\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/GoogleCheckout/Model/Payment.php - - message: "#^Return type \\(void\\) of method Mage_GoogleCheckout_Model_Payment\\:\\:refund\\(\\) should be compatible with return type \\(\\$this\\(Mage_Payment_Model_Method_Abstract\\)\\) of method Mage_Payment_Model_Method_Abstract\\:\\:refund\\(\\)$#" + message: '#^Return type \(void\) of method Mage_GoogleCheckout_Model_Payment\:\:refund\(\) should be compatible with return type \(\$this\(Mage_Payment_Model_Method_Abstract\)\) of method Mage_Payment_Model_Method_Abstract\:\:refund\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/GoogleCheckout/Model/Payment.php - - message: "#^Return type \\(void\\) of method Mage_GoogleCheckout_Model_Payment\\:\\:void\\(\\) should be compatible with return type \\(\\$this\\(Mage_Payment_Model_Method_Abstract\\)\\) of method Mage_Payment_Model_Method_Abstract\\:\\:void\\(\\)$#" + message: '#^Return type \(void\) of method Mage_GoogleCheckout_Model_Payment\:\:void\(\) should be compatible with return type \(\$this\(Mage_Payment_Model_Method_Abstract\)\) of method Mage_Payment_Model_Method_Abstract\:\:void\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/GoogleCheckout/Model/Payment.php - - message: "#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\\:\\:getAllOptions\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\:\:getAllOptions\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 4 path: app/code/core/Mage/ImportExport/Block/Adminhtml/Export/Filter.php - - message: "#^Parameter \\#1 \\$limit of method Mage_Adminhtml_Block_Widget_Grid\\:\\:setDefaultLimit\\(\\) expects int, null given\\.$#" + message: '#^Parameter \#1 \$limit of method Mage_Adminhtml_Block_Widget_Grid\:\:setDefaultLimit\(\) expects int, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/ImportExport/Block/Adminhtml/Export/Filter.php - - message: "#^Parameter \\#2 \\$fields of function fputcsv expects array\\, null given\\.$#" + message: '#^Parameter \#2 \$fields of function fputcsv expects array\, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/ImportExport/Model/Export/Adapter/Abstract.php - - message: "#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\\:\\:getAllOptions\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^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/ImportExport/Model/Export/Entity/Abstract.php - - message: "#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\\:\\:getAllOptions\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^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/ImportExport/Model/Export/Entity/Customer.php - - message: "#^If condition is always true\\.$#" + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue count: 1 path: app/code/core/Mage/ImportExport/Model/Export/Entity/Product.php - - message: "#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\\:\\:getAllOptions\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^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/ImportExport/Model/Import/Entity/Abstract.php - - message: "#^Parameter \\#1 \\$str of method Mage_Core_Helper_UnserializeArray\\:\\:unserialize\\(\\) expects string, array given\\.$#" + message: '#^Parameter \#1 \$str of method Mage_Core_Helper_UnserializeArray\:\:unserialize\(\) expects string, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/ImportExport/Model/Import/Entity/Customer.php - - message: "#^Negated boolean expression is always true\\.$#" + message: '#^Negated boolean expression is always true\.$#' + identifier: booleanNot.alwaysTrue count: 1 path: app/code/core/Mage/ImportExport/Model/Import/Entity/Product.php - - message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, Closure\\(mixed\\)\\: int\\<0, max\\> given\\.$#" + message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, Closure\(mixed\)\: int\<0, max\> given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/ImportExport/Model/Import/Entity/Product.php - - message: "#^Result of \\|\\| is always true\\.$#" + message: '#^Result of \|\| is always true\.$#' + identifier: booleanOr.alwaysTrue count: 1 path: app/code/core/Mage/ImportExport/Model/Import/Entity/Product.php - - message: "#^Parameter \\#3 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, array\\\\|null given\\.$#" + message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Index/Model/Lock.php - - message: "#^Property Mage_Index_Model_Lock\\:\\:\\$_storage \\(Mage_Index_Model_Lock_Storage_Interface\\) does not accept Mage_Core_Model_Abstract\\|false\\.$#" + message: '#^Property Mage_Index_Model_Lock\:\:\$_storage \(Mage_Index_Model_Lock_Storage_Interface\) does not accept Mage_Core_Model_Abstract\|false\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Index/Model/Lock.php - - message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#" + message: '#^Strict comparison using \=\=\= between mixed and null will always evaluate to false\.$#' + identifier: identical.alwaysFalse count: 1 path: app/code/core/Mage/Index/Model/Lock.php - - message: "#^Method Mage_Core_Model_Resource\\:\\:getConnection\\(\\) invoked with 2 parameters, 1 required\\.$#" + message: '#^Method Mage_Core_Model_Resource\:\:getConnection\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Index/Model/Lock/Storage/Db.php - - message: "#^Property Mage_Index_Model_Lock_Storage_Db\\:\\:\\$_helper \\(Mage_Index_Model_Resource_Helper_Mysql4\\) does not accept Mage_Core_Model_Resource_Helper_Abstract\\.$#" + message: '#^Property Mage_Index_Model_Lock_Storage_Db\:\:\$_helper \(Mage_Index_Model_Resource_Helper_Mysql4\) does not accept Mage_Core_Model_Resource_Helper_Abstract\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Index/Model/Lock/Storage/Db.php - - message: "#^Call to function is_array\\(\\) with '' will always evaluate to false\\.$#" + message: '#^Call to function is_array\(\) with '''' will always evaluate to false\.$#' + identifier: function.impossibleType count: 1 path: app/code/core/Mage/Index/Model/Resource/Event.php - - message: "#^Parameter \\#1 \\$adapter of method Varien_Db_Adapter_Interface\\:\\:setCacheAdapter\\(\\) expects Zend_Cache_Backend_Interface, Zend_Cache_Core given\\.$#" + message: '#^Parameter \#1 \$adapter of method Varien_Db_Adapter_Interface\:\:setCacheAdapter\(\) expects Zend_Cache_Backend_Interface, Zend_Cache_Core given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Index/Model/Resource/Lock/Resource.php - - message: "#^Return type \\(Varien_Db_Adapter_Interface\\|false\\) of method Mage_Index_Model_Resource_Lock_Resource\\:\\:_getDefaultConnection\\(\\) should be compatible with return type \\(string\\) of method Mage_Core_Model_Resource\\:\\:_getDefaultConnection\\(\\)$#" + message: '#^Return type \(Varien_Db_Adapter_Interface\|false\) of method Mage_Index_Model_Resource_Lock_Resource\:\:_getDefaultConnection\(\) should be compatible with return type \(string\) of method Mage_Core_Model_Resource\:\:_getDefaultConnection\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/Index/Model/Resource/Lock/Resource.php - - message: "#^Return type \\(void\\) of method Mage_Index_Model_Resource_Setup\\:\\:applyUpdates\\(\\) should be compatible with return type \\(\\$this\\(Mage_Core_Model_Resource_Setup\\)\\|true\\) of method Mage_Core_Model_Resource_Setup\\:\\:applyUpdates\\(\\)$#" + message: '#^Return type \(void\) of method Mage_Index_Model_Resource_Setup\:\:applyUpdates\(\) should be compatible with return type \(\$this\(Mage_Core_Model_Resource_Setup\)\|true\) of method Mage_Core_Model_Resource_Setup\:\:applyUpdates\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/Index/Model/Resource/Setup.php - - message: "#^Offset 'path' does not exist on array\\{\\000\\*\\000_parent\\: Varien_Simplexml_Element\\}\\|array\\{false\\}\\.$#" + message: '#^Offset ''path'' does not exist on array\{\000\*\000_parent\: Varien_Simplexml_Element\}\|array\{false\}\.$#' + identifier: offsetAccess.notFound count: 1 path: app/code/core/Mage/Install/Model/Config.php - - message: "#^Method Mage_Install_Model_Installer\\:\\:getDataModel\\(\\) should return Mage_Install_Model_Session but returns Mage_Install_Model_Installer_Data\\|null\\.$#" + message: '#^Method Mage_Install_Model_Installer\:\:getDataModel\(\) should return Mage_Install_Model_Session but returns Mage_Install_Model_Installer_Data\|null\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Install/Model/Installer.php - - message: "#^Parameter \\#1 \\$model of method Mage_Install_Model_Installer\\:\\:setDataModel\\(\\) expects Mage_Install_Model_Installer_Data, Mage_Install_Model_Session given\\.$#" + message: '#^Parameter \#1 \$model of method Mage_Install_Model_Installer\:\:setDataModel\(\) expects Mage_Install_Model_Installer_Data, Mage_Install_Model_Session given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Install/Model/Installer.php - - message: "#^Parameter \\#2 \\$value of method Mage_Core_Model_Resource_Setup\\:\\:setConfigData\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#2 \$value of method Mage_Core_Model_Resource_Setup\:\:setConfigData\(\) expects string, int given\.$#' + identifier: argument.type count: 5 path: app/code/core/Mage/Install/Model/Installer.php - - message: "#^If condition is always false\\.$#" + message: '#^If condition is always false\.$#' + identifier: if.alwaysFalse count: 7 path: app/code/core/Mage/Install/Model/Installer/Console.php - - message: "#^Call to an undefined method Mage_Install_Model_Installer_Db_Abstract\\:\\:getVersion\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Install_Model_Installer_Db_Abstract\:\:getVersion\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Install/Model/Installer/Db.php - - message: "#^Method Mage_Install_Model_Installer_Db\\:\\:_getDbResource\\(\\) should return Mage_Install_Model_Installer_Db_Abstract but returns resource\\.$#" + message: '#^Method Mage_Install_Model_Installer_Db\:\:_getDbResource\(\) should return Mage_Install_Model_Installer_Db_Abstract but returns resource\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Install/Model/Installer/Db.php - - message: "#^Property Mage_Install_Model_Installer_Db\\:\\:\\$_dbResource \\(resource\\) does not accept Mage_Core_Model_Abstract\\.$#" + message: '#^Property Mage_Install_Model_Installer_Db\:\:\$_dbResource \(resource\) does not accept Mage_Core_Model_Abstract\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Install/Model/Installer/Db.php - - message: "#^Property Mage_Install_Model_Installer_Db\\:\\:\\$_dbResource \\(resource\\) in isset\\(\\) is not nullable\\.$#" + message: '#^Property Mage_Install_Model_Installer_Db\:\:\$_dbResource \(resource\) in isset\(\) is not nullable\.$#' + identifier: isset.property count: 1 path: app/code/core/Mage/Install/Model/Installer/Db.php - - message: "#^Property Mage_Install_Model_Installer_Db_Abstract\\:\\:\\$_connection \\(Varien_Db_Adapter_Interface\\) in isset\\(\\) is not nullable\\.$#" + message: '#^Property Mage_Install_Model_Installer_Db_Abstract\:\:\$_connection \(Varien_Db_Adapter_Interface\) in isset\(\) is not nullable\.$#' + identifier: isset.property count: 1 path: app/code/core/Mage/Install/Model/Installer/Db/Abstract.php - - message: "#^Method Mage_Log_Model_Aggregation\\:\\:_date\\(\\) never returns false so it can be removed from the return type\\.$#" + message: '#^Method Mage_Log_Model_Aggregation\:\:_date\(\) never returns false so it can be removed from the return type\.$#' + identifier: return.unusedType count: 1 path: app/code/core/Mage/Log/Model/Aggregation.php - - message: "#^Parameter \\#1 \\$id of method Mage_Log_Model_Aggregation\\:\\:_update\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#1 \$id of method Mage_Log_Model_Aggregation\:\:_update\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Log/Model/Aggregation.php - - message: "#^Property Mage_Log_Model_Aggregation\\:\\:\\$_lastRecord \\(string\\) does not accept int\\|false\\.$#" + message: '#^Property Mage_Log_Model_Aggregation\:\:\$_lastRecord \(string\) does not accept int\|false\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Log/Model/Aggregation.php - - message: "#^Binary operation \"\\+\" between non\\-falsy\\-string and 1 results in an error\\.$#" + message: '#^Binary operation "\+" between non\-falsy\-string and 1 results in an error\.$#' + identifier: binaryOp.invalid count: 2 path: app/code/core/Mage/Log/Model/Resource/Log.php - - message: "#^Call to function is_null\\(\\) with bool will always evaluate to false\\.$#" + message: '#^Call to function is_null\(\) with bool will always evaluate to false\.$#' + identifier: function.impossibleType count: 1 path: app/code/core/Mage/Newsletter/Model/Subscriber.php - - message: "#^Parameter \\#2 \\$idFieldName of method Mage_Core_Model_Resource_Db_Abstract\\:\\:_init\\(\\) expects string, null given\\.$#" + message: '#^Parameter \#2 \$idFieldName of method Mage_Core_Model_Resource_Db_Abstract\:\:_init\(\) expects string, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Oauth/Model/Resource/Nonce.php - - message: "#^Parameter \\#2 \\$value of method Varien_Data_Collection\\:\\:addFilter\\(\\) expects array\\|string, int given\\.$#" + message: '#^Parameter \#2 \$value of method Varien_Data_Collection\:\:addFilter\(\) expects array\|string, int given\.$#' + identifier: argument.type count: 4 path: app/code/core/Mage/Oauth/Model/Resource/Token/Collection.php - - message: "#^Parameter \\#1 \\$data of method Mage_Oauth_Adminhtml_Oauth_ConsumerController\\:\\:_setFormData\\(\\) expects array, null given\\.$#" + message: '#^Parameter \#1 \$data of method Mage_Oauth_Adminhtml_Oauth_ConsumerController\:\:_setFormData\(\) expects array, null given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Oauth/controllers/Adminhtml/Oauth/ConsumerController.php - - message: "#^Call to an undefined method Mage_Payment_Model_Method_Abstract\\:\\:isPartialAuthorization\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Payment_Model_Method_Abstract\:\:isPartialAuthorization\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Paygate/Block/Authorizenet/Form/Cc.php - - message: "#^Parameter \\#2 \\$block of method Mage_Core_Block_Abstract\\:\\:setChild\\(\\) expects Mage_Core_Block_Abstract, string given\\.$#" + message: '#^Parameter \#2 \$block of method Mage_Core_Block_Abstract\:\:setChild\(\) expects Mage_Core_Block_Abstract, string given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Paygate/Block/Authorizenet/Form/Cc.php - - message: "#^Call to an undefined method Mage_Payment_Model_Method_Abstract\\:\\:cancelPartialAuthorization\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Payment_Model_Method_Abstract\:\:cancelPartialAuthorization\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Paygate/controllers/Adminhtml/Paygate/Authorizenet/PaymentController.php - - message: "#^Call to an undefined method Mage_Payment_Model_Method_Abstract\\:\\:cancelPartialAuthorization\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Payment_Model_Method_Abstract\:\:cancelPartialAuthorization\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Paygate/controllers/Authorizenet/PaymentController.php - - message: "#^Property Mage_Payment_Block_Catalog_Product_View_Profile\\:\\:\\$_profile \\(Mage_Payment_Model_Recurring_Profile\\) does not accept default value of type false\\.$#" + message: '#^Property Mage_Payment_Block_Catalog_Product_View_Profile\:\:\$_profile \(Mage_Payment_Model_Recurring_Profile\) does not accept default value of type false\.$#' + identifier: property.defaultValue count: 1 path: app/code/core/Mage/Payment/Block/Catalog/Product/View/Profile.php - - message: "#^Cannot call method setInfo\\(\\) on object\\|false\\.$#" + message: '#^Cannot call method setInfo\(\) on object\|false\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Payment/Helper/Data.php - - message: "#^Method Mage_Payment_Model_Config\\:\\:_getMethod\\(\\) should return Mage_Payment_Model_Method_Abstract\\|false but returns Mage_Core_Model_Abstract\\.$#" + message: '#^Method Mage_Payment_Model_Config\:\:_getMethod\(\) should return Mage_Payment_Model_Method_Abstract\|false but returns Mage_Core_Model_Abstract\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Payment/Model/Config.php - - message: "#^Comparison operation \"\\<\" between \\(array\\|float\\|int\\) and 0\\.0001 results in an error\\.$#" + message: '#^Comparison operation "\<" between \(array\|float\|int\) and 0\.0001 results in an error\.$#' + identifier: smaller.invalid count: 1 path: app/code/core/Mage/Payment/Model/Method/Abstract.php - - message: "#^Method Mage_Payment_Model_Recurring_Profile\\:\\:exportStartDatetime\\(\\) should return string\\|Zend_Date but empty return statement found\\.$#" + message: '#^Loose comparison using \!\= between ''''\|''OT'' and ''SS'' will always evaluate to true\.$#' + identifier: notEqual.alwaysTrue + count: 1 + path: app/code/core/Mage/Payment/Model/Method/Cc.php + + - + message: '#^Method Mage_Payment_Model_Recurring_Profile\:\:exportStartDatetime\(\) should return string\|Zend_Date but empty return statement found\.$#' + identifier: return.empty count: 1 path: app/code/core/Mage/Payment/Model/Recurring/Profile.php - - message: "#^Parameter \\#1 \\$message of static method Mage\\:\\:throwException\\(\\) expects string, array given\\.$#" + message: '#^Parameter \#1 \$message of static method Mage\:\:throwException\(\) expects string, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Payment/Model/Recurring/Profile.php - - message: "#^Parameter \\#2 \\$value of method Mage_Core_Model_Config\\:\\:saveConfig\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#2 \$value of method Mage_Core_Model_Config\:\:saveConfig\(\) expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Deprecated.php - - message: "#^Method Mage_Paypal_Block_Express_Review\\:\\:_formatPrice\\(\\) should return string but returns float\\.$#" + message: '#^Method Mage_Paypal_Block_Express_Review\:\:_formatPrice\(\) should return string but returns float\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Paypal/Block/Express/Review.php - - message: "#^Method Mage_Paypal_Block_Express_Review\\:\\:_getShippingPrice\\(\\) should return bool but returns float\\.$#" + message: '#^Method Mage_Paypal_Block_Express_Review\:\:_getShippingPrice\(\) should return bool but returns float\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Paypal/Block/Express/Review.php - - message: "#^Return type \\(false\\) of method Mage_Paypal_Block_Hosted_Pro_Info\\:\\:getCcTypeName\\(\\) should be compatible with return type \\(string\\|null\\) of method Mage_Paypal_Block_Payment_Info\\:\\:getCcTypeName\\(\\)$#" + message: '#^Return type \(false\) of method Mage_Paypal_Block_Hosted_Pro_Info\:\:getCcTypeName\(\) should be compatible with return type \(string\|null\) of method Mage_Paypal_Block_Payment_Info\:\:getCcTypeName\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/Paypal/Block/Hosted/Pro/Info.php - - message: "#^Return type \\(false\\) of method Mage_Paypal_Block_Payflow_Link_Info\\:\\:getCcTypeName\\(\\) should be compatible with return type \\(string\\|null\\) of method Mage_Paypal_Block_Payment_Info\\:\\:getCcTypeName\\(\\)$#" + message: '#^Return type \(false\) of method Mage_Paypal_Block_Payflow_Link_Info\:\:getCcTypeName\(\) should be compatible with return type \(string\|null\) of method Mage_Paypal_Block_Payment_Info\:\:getCcTypeName\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/Paypal/Block/Payflow/Link/Info.php - - message: "#^Parameter \\#1 \\$setToken of method Mage_Paypal_Controller_Express_Abstract\\:\\:_initToken\\(\\) expects string\\|null, false given\\.$#" + message: '#^Parameter \#1 \$setToken of method Mage_Paypal_Controller_Express_Abstract\:\:_initToken\(\) expects string\|null, false given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Paypal/Controller/Express/Abstract.php - - message: "#^Variable \\$isAjax might not be defined\\.$#" + message: '#^Variable \$isAjax might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Paypal/Controller/Express/Abstract.php - - message: "#^Call to an undefined method Mage_Paypal_Model_Api_Nvp\\:\\:_export\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Paypal_Model_Api_Nvp\:\:_export\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Paypal/Model/Api/Nvp.php - - message: "#^Call to an undefined method Mage_Paypal_Model_Api_Nvp\\:\\:_import\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Paypal_Model_Api_Nvp\:\:_import\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Paypal/Model/Api/Nvp.php - - message: "#^Parameter \\#1 \\$array \\(non\\-empty\\-list\\\\) of array_values is already a list, call has no effect\\.$#" + message: '#^Parameter \#1 \$array \(non\-empty\-list\) of array_values is already a list, call has no effect\.$#' + identifier: arrayValues.list count: 1 path: app/code/core/Mage/Paypal/Model/Api/Nvp.php - - message: "#^Call to an undefined method Varien_Object\\:\\:isNominal\\(\\)\\.$#" + message: '#^Call to an undefined method Varien_Object\:\:isNominal\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Paypal/Model/Cart.php - - message: "#^Empty array passed to foreach\\.$#" + message: '#^Empty array passed to foreach\.$#' + identifier: foreach.emptyArray count: 1 path: app/code/core/Mage/Paypal/Model/Cart.php - - message: "#^Left side of && is always true\\.$#" + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue count: 1 path: app/code/core/Mage/Paypal/Model/Cart.php - - message: "#^Negated boolean expression is always true\\.$#" + message: '#^Negated boolean expression is always true\.$#' + identifier: booleanNot.alwaysTrue count: 1 path: app/code/core/Mage/Paypal/Model/Config.php - - message: "#^Property Mage_Paypal_Model_Direct\\:\\:\\$_pro \\(Mage_Paypal_Model_Pro\\) does not accept Mage_Core_Model_Abstract\\|false\\.$#" + message: '#^Property Mage_Paypal_Model_Direct\:\:\$_pro \(Mage_Paypal_Model_Pro\) does not accept Mage_Core_Model_Abstract\|false\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Paypal/Model/Direct.php - - message: "#^If condition is always false\\.$#" + message: '#^If condition is always false\.$#' + identifier: if.alwaysFalse count: 1 path: app/code/core/Mage/Paypal/Model/Express.php - - message: "#^Parameter \\#1 \\$amount of method Mage_Paypal_Model_Express\\:\\:_callDoAuthorize\\(\\) expects int, float given\\.$#" + message: '#^Parameter \#1 \$amount of method Mage_Paypal_Model_Express\:\:_callDoAuthorize\(\) expects int, float given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Paypal/Model/Express.php - - message: "#^Parameter \\#1 \\$datetime of class DateTime constructor expects string, null given\\.$#" + message: '#^Parameter \#1 \$datetime of class DateTime constructor expects string, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Paypal/Model/Express.php - - message: "#^Property Mage_Paypal_Model_Express\\:\\:\\$_pro \\(Mage_Paypal_Model_Pro\\) does not accept Mage_Core_Model_Abstract\\|false\\.$#" + message: '#^Property Mage_Paypal_Model_Express\:\:\$_pro \(Mage_Paypal_Model_Pro\) does not accept Mage_Core_Model_Abstract\|false\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Paypal/Model/Express.php - - message: "#^Cannot call method getData\\(\\) on array\\.$#" + message: '#^Cannot call method getData\(\) on array\.$#' + identifier: method.nonObject count: 2 path: app/code/core/Mage/Paypal/Model/Express/Checkout.php - - message: "#^Cannot call method getExportedKeys\\(\\) on array\\.$#" + message: '#^Cannot call method getExportedKeys\(\) on array\.$#' + identifier: method.nonObject count: 2 path: app/code/core/Mage/Paypal/Model/Express/Checkout.php - - message: "#^Parameter \\#1 \\$message of static method Mage\\:\\:throwException\\(\\) expects string, array given\\.$#" + message: '#^Parameter \#1 \$message of static method Mage\:\:throwException\(\) expects string, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Paypal/Model/Express/Checkout.php - - message: "#^Variable \\$shippingAddress might not be defined\\.$#" + message: '#^Variable \$shippingAddress might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Paypal/Model/Express/Checkout.php - - message: "#^Return type \\(bool\\) of method Mage_Paypal_Model_Hostedpro\\:\\:getAllowedCcTypes\\(\\) should be compatible with return type \\(string\\) of method Mage_Paypal_Model_Direct\\:\\:getAllowedCcTypes\\(\\)$#" + message: '#^Return type \(bool\) of method Mage_Paypal_Model_Hostedpro\:\:getAllowedCcTypes\(\) should be compatible with return type \(string\) of method Mage_Paypal_Model_Direct\:\:getAllowedCcTypes\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/Paypal/Model/Hostedpro.php - - message: "#^Return type \\(bool\\) of method Mage_Paypal_Model_Hostedpro\\:\\:validate\\(\\) should be compatible with return type \\(\\$this\\(Mage_Payment_Model_Method_Cc\\)\\) of method Mage_Payment_Model_Method_Cc\\:\\:validate\\(\\)$#" + message: '#^Return type \(bool\) of method Mage_Paypal_Model_Hostedpro\:\: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/Paypal/Model/Hostedpro.php - - message: "#^Binary operation \"\\-\" between array\\|string and array\\|string results in an error\\.$#" + message: '#^Binary operation "\-" between array\|string and array\|string results in an error\.$#' + identifier: binaryOp.invalid count: 1 path: app/code/core/Mage/Paypal/Model/Ipn.php - - message: "#^Parameter \\#1 \\$amount of method Mage_Sales_Model_Order_Payment\\:\\:registerCaptureNotification\\(\\) expects float, array\\|string given\\.$#" + message: '#^Parameter \#1 \$amount of method Mage_Sales_Model_Order_Payment\:\:registerCaptureNotification\(\) expects float, array\|string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Paypal/Model/Ipn.php - - message: "#^Parameter \\#2 \\$url of method Zend_Http_Client_Adapter_Interface\\:\\:write\\(\\) expects Zend_Uri_Http, string given\\.$#" + message: '#^Parameter \#2 \$url of method Zend_Http_Client_Adapter_Interface\:\:write\(\) expects Zend_Uri_Http, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Paypal/Model/Ipn.php - - message: "#^Parameter \\#1 \\$payment of method Mage_Paypal_Model_Method_Agreement\\:\\:_placeOrder\\(\\) expects Mage_Sales_Model_Order_Payment, Varien_Object given\\.$#" + message: '#^Parameter \#1 \$payment of method Mage_Paypal_Model_Method_Agreement\:\:_placeOrder\(\) expects Mage_Sales_Model_Order_Payment, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Paypal/Model/Method/Agreement.php - - message: "#^Parameter \\#1 \\$spec of method Zend_Controller_Response_Abstract\\:\\:getBody\\(\\) expects bool, string given\\.$#" + message: '#^Parameter \#1 \$spec of method Zend_Controller_Response_Abstract\:\:getBody\(\) expects bool, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Paypal/Model/Observer.php - - message: "#^Return type \\(bool\\) of method Mage_Paypal_Model_Payflowlink\\:\\:validate\\(\\) should be compatible with return type \\(\\$this\\(Mage_Payment_Model_Method_Cc\\)\\) of method Mage_Payment_Model_Method_Cc\\:\\:validate\\(\\)$#" + message: '#^Return type \(bool\) of method Mage_Paypal_Model_Payflowlink\:\: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/Paypal/Model/Payflowlink.php - - message: "#^Parameter \\#1 \\$payment of method Mage_Paypal_Model_Payflowpro\\:\\:_buildBasicRequest\\(\\) expects Mage_Sales_Model_Order_Payment, Mage_Payment_Model_Info given\\.$#" + message: '#^Loose comparison using \!\= between float and \(float\|false\) will always evaluate to false\.$#' + identifier: notEqual.alwaysFalse + count: 1 + path: app/code/core/Mage/Paypal/Model/Payflowpro.php + + - + message: '#^Parameter \#1 \$payment of method Mage_Paypal_Model_Payflowpro\:\:_buildBasicRequest\(\) expects Mage_Sales_Model_Order_Payment, Mage_Payment_Model_Info given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Paypal/Model/Payflowpro.php - - message: "#^Parameter \\#1 \\$payment of method Mage_Paypal_Model_Payflowpro\\:\\:void\\(\\) expects Mage_Sales_Model_Order_Payment, Varien_Object given\\.$#" + message: '#^Parameter \#1 \$payment of method Mage_Paypal_Model_Payflowpro\:\:void\(\) expects Mage_Sales_Model_Order_Payment, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Paypal/Model/Payflowpro.php - - message: "#^Parameter \\#2 \\$storeId of method Mage_Payment_Model_Method_Abstract\\:\\:getConfigData\\(\\) expects int\\|Mage_Core_Model_Store\\|string\\|null, false given\\.$#" + message: '#^Parameter \#2 \$storeId of method Mage_Payment_Model_Method_Abstract\:\:getConfigData\(\) expects int\|Mage_Core_Model_Store\|string\|null, false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Paypal/Model/Payflowpro.php - - message: "#^Parameter \\#3 \\$map of static method Varien_Object_Mapper\\:\\:accumulateByMap\\(\\) expects array, string given\\.$#" + message: '#^Parameter \#3 \$map of static method Varien_Object_Mapper\:\:accumulateByMap\(\) expects array, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Paypal/Model/Payflowpro.php - - message: "#^Property Mage_Paypal_Model_Payflowpro\\:\\:\\$_centinelFieldMap \\(string\\) does not accept default value of type array\\\\.$#" + message: '#^Property Mage_Paypal_Model_Payflowpro\:\:\$_centinelFieldMap \(string\) does not accept default value of type array\\.$#' + identifier: property.defaultValue count: 1 path: app/code/core/Mage/Paypal/Model/Payflowpro.php - - message: "#^Method Mage_Paypal_Model_Pro\\:\\:capture\\(\\) should return false\\|null but return statement is missing\\.$#" + message: '#^Method Mage_Paypal_Model_Pro\:\:capture\(\) should return false\|null but return statement is missing\.$#' + identifier: return.missing count: 1 path: app/code/core/Mage/Paypal/Model/Pro.php - - message: "#^Parameter \\#2 \\$payment of method Mage_Paypal_Model_Pro\\:\\:_importCaptureResultToPayment\\(\\) expects Mage_Sales_Model_Order_Payment, Varien_Object given\\.$#" + message: '#^Parameter \#2 \$payment of method Mage_Paypal_Model_Pro\:\:_importCaptureResultToPayment\(\) expects Mage_Sales_Model_Order_Payment, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Paypal/Model/Pro.php - - message: "#^Parameter \\#2 \\$payment of method Mage_Paypal_Model_Pro\\:\\:_importRefundResultToPayment\\(\\) expects Mage_Sales_Model_Order_Payment, Varien_Object given\\.$#" + message: '#^Parameter \#2 \$payment of method Mage_Paypal_Model_Pro\:\:_importRefundResultToPayment\(\) expects Mage_Sales_Model_Order_Payment, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Paypal/Model/Pro.php - - message: "#^Parameter \\#2 \\$to of method Mage_Paypal_Model_Pro\\:\\:importPaymentInfo\\(\\) expects Mage_Payment_Model_Info, Varien_Object given\\.$#" + message: '#^Parameter \#2 \$to of method Mage_Paypal_Model_Pro\:\:importPaymentInfo\(\) expects Mage_Payment_Model_Info, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Paypal/Model/Pro.php - - message: "#^Property Mage_Paypal_Model_Pro\\:\\:\\$_config \\(Mage_Paypal_Model_Config\\) does not accept Mage_Core_Model_Abstract\\|false\\.$#" + message: '#^Property Mage_Paypal_Model_Pro\:\:\$_config \(Mage_Paypal_Model_Config\) does not accept Mage_Core_Model_Abstract\|false\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Paypal/Model/Pro.php - - message: "#^Method Varien_Data_Collection\\:\\:toOptionArray\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Varien_Data_Collection\:\:toOptionArray\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Paypal/Model/System/Config/Source/BuyerCountry.php - - message: "#^Method Varien_Data_Collection\\:\\:toOptionArray\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Varien_Data_Collection\:\:toOptionArray\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Paypal/Model/System/Config/Source/MerchantCountry.php - - message: "#^Return type \\(void\\) of method Mage_PaypalUk_Model_Pro\\:\\:fetchTransactionInfo\\(\\) should be compatible with return type \\(array\\) of method Mage_Paypal_Model_Pro\\:\\:fetchTransactionInfo\\(\\)$#" + message: '#^Return type \(void\) of method Mage_PaypalUk_Model_Pro\:\:fetchTransactionInfo\(\) should be compatible with return type \(array\) of method Mage_Paypal_Model_Pro\:\:fetchTransactionInfo\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/PaypalUk/Model/Pro.php - - message: "#^Method Mage_ProductAlert_Helper_Data\\:\\:createBlock\\(\\) should return Mage_ProductAlert_Block_Email_Price\\|Mage_ProductAlert_Block_Email_Stock but returns Mage_Core_Block_Abstract\\.$#" + message: '#^Method Mage_ProductAlert_Helper_Data\:\:createBlock\(\) should return Mage_ProductAlert_Block_Email_Price\|Mage_ProductAlert_Block_Email_Stock but returns Mage_Core_Block_Abstract\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/ProductAlert/Helper/Data.php - - message: "#^Method Mage_ProductAlert_Model_Observer\\:\\:process\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_ProductAlert_Model_Observer\:\:process\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/ProductAlert/controllers/AddController.php - - message: "#^PHPDoc tag @var with type Mage_Catalog_Model_Product is not subtype of native type 0\\|0\\.0\\|''\\|'0'\\|array\\{\\}\\|false\\|null\\.$#" + message: '#^PHPDoc tag @var with type Mage_Catalog_Model_Product is not subtype of native type 0\|0\.0\|''''\|''0''\|array\{\}\|false\|null\.$#' + identifier: varTag.nativeType count: 1 path: app/code/core/Mage/ProductAlert/controllers/AddController.php - - message: "#^Method Mage_Rating_Model_Resource_Rating\\:\\:getEntityIdByCode\\(\\) should return int but returns string\\|false\\|null\\.$#" + message: '#^Method Mage_Rating_Model_Resource_Rating\:\:getEntityIdByCode\(\) should return int but returns string\|false\|null\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Rating/Model/Resource/Rating.php - - message: "#^Variable \\$data in empty\\(\\) always exists and is not falsy\\.$#" + message: '#^Variable \$data in empty\(\) always exists and is not falsy\.$#' + identifier: empty.variable count: 1 path: app/code/core/Mage/Rating/Model/Resource/Rating.php - - message: "#^Method Mage_Rating_Model_Resource_Rating_Collection\\:\\:getItemById\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Rating_Model_Resource_Rating_Collection\:\:getItemById\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 2 path: app/code/core/Mage/Rating/Model/Resource/Rating/Collection.php - - message: "#^Method Mage_Rating_Model_Resource_Rating_Entity\\:\\:getIdByCode\\(\\) should return int but returns string\\|false\\|null\\.$#" + message: '#^Method Mage_Rating_Model_Resource_Rating_Entity\:\:getIdByCode\(\) should return int but returns string\|false\|null\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Rating/Model/Resource/Rating/Entity.php - - message: "#^Parameter \\#2 \\$value of method Varien_Data_Collection\\:\\:addFilter\\(\\) expects array\\|string, int given\\.$#" + message: '#^Parameter \#2 \$value of method Varien_Data_Collection\:\:addFilter\(\) expects array\|string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Rating/Model/Resource/Rating/Option/Collection.php - - message: "#^Cannot call method addAttributeToSelect\\(\\) on Mage_Core_Model_Resource_Db_Collection_Abstract\\|false\\.$#" + message: '#^Cannot call method addAttributeToSelect\(\) on Mage_Core_Model_Resource_Db_Collection_Abstract\|false\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Reports/Block/Product/Abstract.php - - message: "#^Variable \\$dateStart might not be defined\\.$#" + message: '#^Variable \$dateStart might not be defined\.$#' + identifier: variable.undefined count: 7 path: app/code/core/Mage/Reports/Helper/Data.php - - message: "#^Variable \\$t might not be defined\\.$#" + message: '#^Variable \$t might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Reports/Helper/Data.php - - message: "#^Property Mage_Reports_Model_Grouped_Collection\\:\\:\\$_resourceCollection \\(Mage_Core_Model_Resource_Db_Collection_Abstract\\) does not accept Varien_Data_Collection_Db\\.$#" + message: '#^Property Mage_Reports_Model_Grouped_Collection\:\:\$_resourceCollection \(Mage_Core_Model_Resource_Db_Collection_Abstract\) does not accept Varien_Data_Collection_Db\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Reports/Model/Grouped/Collection.php - - message: "#^Method Mage_Reports_Model_Resource_Product_Index_Abstract\\:\\:clean\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Reports_Model_Resource_Product_Index_Abstract\:\:clean\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Reports/Model/Product/Index/Abstract.php - - message: "#^Property Mage_Reports_Model_Report\\:\\:\\$_reportModel \\(Mage_Reports_Model_Report\\) does not accept Mage_Core_Model_Resource_Db_Collection_Abstract\\|false\\.$#" + message: '#^Property Mage_Reports_Model_Report\:\:\$_reportModel \(Mage_Reports_Model_Report\) does not accept Mage_Core_Model_Resource_Db_Collection_Abstract\|false\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Reports/Model/Report.php - - message: "#^Call to an undefined method Mage_Customer_Model_Customer\\:\\:remove\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Customer_Model_Customer\:\:remove\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Reports/Model/Resource/Customer/Collection.php - - message: "#^Call to an undefined method Mage_Sales_Model_Resource_Quote_Item_Collection\\:\\:setQuoteFilter\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Sales_Model_Resource_Quote_Item_Collection\:\:setQuoteFilter\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Reports/Model/Resource/Customer/Collection.php - - message: "#^Parameter \\#2 \\$value of method Varien_Db_Adapter_Interface\\:\\:getIfNullSql\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#2 \$value of method Varien_Db_Adapter_Interface\:\:getIfNullSql\(\) expects string, int given\.$#' + identifier: argument.type count: 4 path: app/code/core/Mage/Reports/Model/Resource/Customer/Collection.php - - message: "#^Property Mage_Reports_Model_Resource_Entity_Summary_Collection_Abstract\\:\\:\\$_entityCollection \\(Mage_Eav_Model_Entity_Collection_Abstract\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Reports_Model_Resource_Entity_Summary_Collection_Abstract\:\:\$_entityCollection \(Mage_Eav_Model_Entity_Collection_Abstract\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Reports/Model/Resource/Entity/Summary/Collection/Abstract.php - - message: "#^Call to an undefined method Varien_Data_Collection_Db\\:\\:getResource\\(\\)\\.$#" + message: '#^Call to an undefined method Varien_Data_Collection_Db\:\:getResource\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Reports/Model/Resource/Event.php - - message: "#^Method Mage_Reports_Model_Resource_Order_Collection\\:\\:_prepareSummaryAggregated\\(\\) invoked with 4 parameters, 3 required\\.$#" + message: '#^Method Mage_Reports_Model_Resource_Order_Collection\:\:_prepareSummaryAggregated\(\) invoked with 4 parameters, 3 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Reports/Model/Resource/Order/Collection.php - - message: "#^Parameter \\#2 \\$customStart of method Mage_Reports_Model_Resource_Order_Collection\\:\\:getDateRange\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#2 \$customStart of method Mage_Reports_Model_Resource_Order_Collection\:\:getDateRange\(\) expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Reports/Model/Resource/Order/Collection.php - - message: "#^Parameter \\#2 \\$interval of method Varien_Db_Adapter_Interface\\:\\:getDateAddSql\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#2 \$interval of method Varien_Db_Adapter_Interface\:\:getDateAddSql\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Reports/Model/Resource/Order/Collection.php - - message: "#^Parameter \\#2 \\$value of method Varien_Db_Adapter_Interface\\:\\:getIfNullSql\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#2 \$value of method Varien_Db_Adapter_Interface\:\:getIfNullSql\(\) expects string, int given\.$#' + identifier: argument.type count: 20 path: app/code/core/Mage/Reports/Model/Resource/Order/Collection.php - - message: "#^Parameter \\#3 \\$customEnd of method Mage_Reports_Model_Resource_Order_Collection\\:\\:getDateRange\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#3 \$customEnd of method Mage_Reports_Model_Resource_Order_Collection\:\:getDateRange\(\) expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Reports/Model/Resource/Order/Collection.php - - message: "#^Variable \\$productViewEvent might not be defined\\.$#" + message: '#^Variable \$productViewEvent might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Reports/Model/Resource/Product/Collection.php - - message: "#^Parameter \\#1 \\$from of method Mage_Reports_Model_Resource_Product_Ordered_Collection\\:\\:_joinFields\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#1 \$from of method Mage_Reports_Model_Resource_Product_Ordered_Collection\:\:_joinFields\(\) expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Reports/Model/Resource/Product/Ordered/Collection.php - - message: "#^Parameter \\#2 \\$to of method Mage_Reports_Model_Resource_Product_Ordered_Collection\\:\\:_joinFields\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#2 \$to of method Mage_Reports_Model_Resource_Product_Ordered_Collection\:\:_joinFields\(\) expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Reports/Model/Resource/Product/Ordered/Collection.php - - message: "#^Parameter \\#1 \\$from of method Mage_Reports_Model_Resource_Product_Collection\\:\\:addOrderedQty\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#1 \$from of method Mage_Reports_Model_Resource_Product_Collection\:\:addOrderedQty\(\) expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Reports/Model/Resource/Product/Sold/Collection.php - - message: "#^Parameter \\#2 \\$to of method Mage_Reports_Model_Resource_Product_Collection\\:\\:addOrderedQty\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#2 \$to of method Mage_Reports_Model_Resource_Product_Collection\:\:addOrderedQty\(\) expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Reports/Model/Resource/Product/Sold/Collection.php - - message: "#^Parameter \\#1 \\$filter of method Mage_Reports_Model_Resource_Quote_Collection\\:\\:addCustomerData\\(\\) expects array\\|null, string\\|null given\\.$#" + message: '#^Parameter \#1 \$filter of method Mage_Reports_Model_Resource_Quote_Collection\:\:addCustomerData\(\) expects array\|null, string\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Reports/Model/Resource/Quote/Collection.php - - message: "#^Parameter \\#2 \\$filter of method Mage_Reports_Model_Resource_Quote_Collection\\:\\:addSubtotal\\(\\) expects array\\|null, string\\|null given\\.$#" + message: '#^Parameter \#2 \$filter of method Mage_Reports_Model_Resource_Quote_Collection\:\:addSubtotal\(\) expects array\|null, string\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Reports/Model/Resource/Quote/Collection.php - - message: "#^Parameter \\#3 \\$cols of method Zend_Db_Select\\:\\:joinInner\\(\\) expects array\\|string, null given\\.$#" + message: '#^Parameter \#3 \$cols of method Zend_Db_Select\:\:joinInner\(\) expects array\|string, null given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Reports/Model/Resource/Quote/Collection.php - - message: "#^Parameter \\#1 \\$datetime of method Mage_Reports_Model_Resource_Report_Collection\\:\\:timeShift\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#1 \$datetime of method Mage_Reports_Model_Resource_Report_Collection\:\:timeShift\(\) expects string, int given\.$#' + identifier: argument.type count: 4 path: app/code/core/Mage/Reports/Model/Resource/Report/Collection.php - - message: "#^Property Mage_Reports_Model_Resource_Report_Collection\\:\\:\\$_from \\(string\\) does not accept int\\.$#" + message: '#^Property Mage_Reports_Model_Resource_Report_Collection\:\:\$_from \(string\) does not accept int\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Reports/Model/Resource/Report/Collection.php - - message: "#^Property Mage_Reports_Model_Resource_Report_Collection\\:\\:\\$_to \\(string\\) does not accept int\\.$#" + message: '#^Property Mage_Reports_Model_Resource_Report_Collection\:\:\$_to \(string\) does not accept int\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Reports/Model/Resource/Report/Collection.php - - message: "#^Comparison operation \"\\!\\=\" between array\\|int and 0 results in an error\\.$#" + message: '#^Comparison operation "\!\=" between array\|int and 0 results in an error\.$#' + identifier: notEqual.invalid count: 1 path: app/code/core/Mage/Reports/Model/Resource/Report/Product/Viewed/Collection.php - - message: "#^Parameter \\#1 \\$select of method Mage_Core_Model_Resource_Helper_Mysql4\\:\\:getQueryUsingAnalyticFunction\\(\\) expects Varien_Db_Select, Zend_Db_Select given\\.$#" + message: '#^Parameter \#1 \$select of method Mage_Core_Model_Resource_Helper_Mysql4\:\:getQueryUsingAnalyticFunction\(\) expects Varien_Db_Select, Zend_Db_Select given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Reports/Model/Resource/Report/Product/Viewed/Collection.php - - message: "#^Call to an undefined method Mage_Reports_Model_Resource_Review_Collection\\:\\:_joinFields\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Reports_Model_Resource_Review_Collection\:\:_joinFields\(\)\.$#' + identifier: method.notFound 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\\(\\)\\.$#" + message: '#^Call to an undefined static method Mage_Review_Model_Resource_Review_Collection\:\:resetSelect\(\)\.$#' + identifier: staticMethod.notFound count: 1 path: app/code/core/Mage/Reports/Model/Resource/Review/Collection.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\\:\\:setStore\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:setStore\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Reports/Model/Resource/Wishlist/Product/Collection.php - - message: "#^Property DOMNode\\:\\:\\$nodeValue \\(string\\|null\\) does not accept int\\\\|int\\<1, max\\>\\.$#" + message: '#^Property DOMNode\:\:\$nodeValue \(string\|null\) does not accept int\\|int\<1, max\>\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Reports/Model/Test.php - - message: "#^Argument of an invalid type Mage_Reports_Model_Report supplied for foreach, only iterables are supported\\.$#" + message: '#^Argument of an invalid type Mage_Reports_Model_Report supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable count: 1 path: app/code/core/Mage/Reports/Model/Totals.php - - message: "#^Parameter \\#1 \\$from of method Mage_Reports_Model_Resource_Report_Collection\\:\\:getReportFull\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#1 \$from of method Mage_Reports_Model_Resource_Report_Collection\:\:getReportFull\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Reports/Model/Totals.php - - message: "#^Parameter \\#2 \\$to of method Mage_Reports_Model_Resource_Report_Collection\\:\\:getReportFull\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#2 \$to of method Mage_Reports_Model_Resource_Report_Collection\:\:getReportFull\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Reports/Model/Totals.php - - message: "#^Return type \\(string\\) of method Mage_Review_Block_Form\\:\\:getAction\\(\\) should be compatible with return type \\(Mage_Core_Controller_Varien_Action\\) of method Mage_Core_Block_Abstract\\:\\:getAction\\(\\)$#" + message: '#^Return type \(string\) of method Mage_Review_Block_Form\:\:getAction\(\) should be compatible with return type \(Mage_Core_Controller_Varien_Action\) of method Mage_Core_Block_Abstract\:\:getAction\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/Review/Block/Form.php - - message: "#^Method Mage_Review_Model_Resource_Review\\:\\:getTotalReviews\\(\\) should return int but returns string\\|false\\|null\\.$#" + message: '#^Method Mage_Review_Model_Resource_Review\:\:getTotalReviews\(\) should return int but returns string\|false\|null\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Review/Model/Resource/Review.php - - message: "#^Comparison operation \"\\=\\=\" between array\\|null and 1 results in an error\\.$#" + message: '#^Comparison operation "\=\=" between array\|null and 1 results in an error\.$#' + identifier: equal.invalid count: 1 path: app/code/core/Mage/Review/Model/Resource/Review/Product/Collection.php - - message: "#^Comparison operation \"\\=\\=\" between array\\|null and 2 results in an error\\.$#" + message: '#^Comparison operation "\=\=" between array\|null and 2 results in an error\.$#' + identifier: equal.invalid count: 1 path: app/code/core/Mage/Review/Model/Resource/Review/Product/Collection.php - - message: "#^Cannot call method getId\\(\\) on true\\.$#" + message: '#^Cannot call method getId\(\) on true\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Rss/Helper/Data.php - - message: "#^Property Mage_Rule_Model_Abstract\\:\\:\\$_conditions \\(Mage_Rule_Model_Condition_Combine\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Rule_Model_Abstract\:\:\$_conditions \(Mage_Rule_Model_Condition_Combine\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Rule/Model/Abstract.php - - message: "#^Parameter \\#1 \\$renderer of method Varien_Data_Form_Element_Abstract\\:\\:setRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of method Varien_Data_Form_Element_Abstract\:\:setRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 3 path: app/code/core/Mage/Rule/Model/Action/Abstract.php - - message: "#^Call to an undefined method Mage_Rule_Model_Action_Interface\\:\\:getId\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Rule_Model_Action_Interface\:\:getId\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Rule/Model/Action/Collection.php - - message: "#^Call to an undefined method Mage_Rule_Model_Action_Interface\\:\\:setId\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Rule_Model_Action_Interface\:\:setId\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Rule/Model/Action/Collection.php - - message: "#^Call to an undefined method Mage_Rule_Model_Action_Interface\\:\\:setRule\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Rule_Model_Action_Interface\:\:setRule\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Rule/Model/Action/Collection.php - - message: "#^Cannot call method loadArray\\(\\) on Mage_Core_Model_Abstract\\|false\\.$#" + message: '#^Cannot call method loadArray\(\) on Mage_Core_Model_Abstract\|false\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Rule/Model/Action/Collection.php - - message: "#^Parameter \\#1 \\$action of method Mage_Rule_Model_Action_Collection\\:\\:addAction\\(\\) expects Mage_Rule_Model_Action_Interface, Mage_Core_Model_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$action of method Mage_Rule_Model_Action_Collection\:\:addAction\(\) expects Mage_Rule_Model_Action_Interface, Mage_Core_Model_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Rule/Model/Action/Collection.php - - message: "#^Parameter \\#1 \\$renderer of method Varien_Data_Form_Element_Abstract\\:\\:setRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of method Varien_Data_Form_Element_Abstract\:\:setRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Rule/Model/Action/Collection.php - - message: "#^Binary operation \"\\.\" between array and ' ' results in an error\\.$#" + message: '#^Binary operation "\." between array and '' '' results in an error\.$#' + identifier: binaryOp.invalid count: 1 path: app/code/core/Mage/Rule/Model/Condition/Abstract.php - - message: "#^Parameter \\#1 \\$renderer of method Varien_Data_Form_Element_Abstract\\:\\:setRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of method Varien_Data_Form_Element_Abstract\:\:setRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Rule/Model/Condition/Abstract.php - - message: "#^Property Mage_Rule_Model_Condition_Abstract\\:\\:\\$_inputType \\(string\\) on left side of \\?\\? is not nullable\\.$#" + message: '#^Property Mage_Rule_Model_Condition_Abstract\:\:\$_inputType \(string\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property count: 1 path: app/code/core/Mage/Rule/Model/Condition/Abstract.php - - message: "#^Method Mage_Rule_Model_Condition_Abstract\\:\\:loadArray\\(\\) invoked with 2 parameters, 1 required\\.$#" + message: '#^Method Mage_Rule_Model_Condition_Abstract\:\:loadArray\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Rule/Model/Condition/Combine.php - - message: "#^Parameter \\#1 \\$arr of method Mage_Rule_Model_Condition_Combine\\:\\:loadArray\\(\\) expects array, \\$this\\(Mage_Rule_Model_Condition_Combine\\) given\\.$#" + message: '#^Parameter \#1 \$arr of method Mage_Rule_Model_Condition_Combine\:\:loadArray\(\) expects array, \$this\(Mage_Rule_Model_Condition_Combine\) given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Rule/Model/Condition/Combine.php - - message: "#^Parameter \\#1 \\$renderer of method Varien_Data_Form_Element_Abstract\\:\\:setRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of method Varien_Data_Form_Element_Abstract\:\:setRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Rule/Model/Condition/Combine.php - - message: "#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\\:\\:getAllOptions\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^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/Rule/Model/Condition/Product/Abstract.php - - message: "#^Method Mage_Rule_Model_Condition_Product_Abstract\\:\\:getAttributeObject\\(\\) should return Mage_Catalog_Model_Resource_Eav_Attribute but returns Varien_Object\\|false\\.$#" + message: '#^Method Mage_Rule_Model_Condition_Product_Abstract\:\:getAttributeObject\(\) should return Mage_Catalog_Model_Resource_Eav_Attribute but returns Varien_Object\|false\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Rule/Model/Condition/Product/Abstract.php - - message: "#^Parameter \\#1 \\$renderer of static method Varien_Data_Form\\:\\:setFieldsetElementRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of static method Varien_Data_Form\:\:setFieldsetElementRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Block/Adminhtml/Recurring/Profile/Edit/Form.php - - message: "#^Parameter \\#1 \\$renderer of static method Varien_Data_Form\\:\\:setFieldsetRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of static method Varien_Data_Form\:\:setFieldsetRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Block/Adminhtml/Recurring/Profile/Edit/Form.php - - message: "#^Call to method setOrderFilter\\(\\) on an unknown class Mage_Sales_Model_Resource_Invoice_Collection\\.$#" + message: '#^Call to method setOrderFilter\(\) on an unknown class Mage_Sales_Model_Resource_Invoice_Collection\.$#' + identifier: class.notFound count: 1 path: app/code/core/Mage/Sales/Block/Order/Details.php - - message: "#^Property Mage_Sales_Block_Recurring_Profiles\\:\\:\\$_profiles \\(Mage_Sales_Model_Resource_Recurring_Profile_Collection\\) does not accept Mage_Core_Model_Resource_Db_Collection_Abstract\\.$#" + message: '#^Property Mage_Sales_Block_Recurring_Profiles\:\:\$_profiles \(Mage_Sales_Model_Resource_Recurring_Profile_Collection\) does not accept Mage_Core_Model_Resource_Db_Collection_Abstract\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Sales/Block/Recurring/Profiles.php - - message: "#^Parameter \\#1 \\$order of method Mage_Sales_Model_Resource_Order_Collection_Abstract\\:\\:setOrderFilter\\(\\) expects int\\|Mage_Sales_Model_Order, array given\\.$#" + message: '#^Parameter \#1 \$order of method Mage_Sales_Model_Resource_Order_Collection_Abstract\:\:setOrderFilter\(\) expects int\|Mage_Sales_Model_Order, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Api2/Order.php - - message: "#^Parameter \\#2 \\$code of method Mage_Api2_Model_Resource\\:\\:_critical\\(\\) expects int\\|null, string given\\.$#" + message: '#^Parameter \#2 \$code of method Mage_Api2_Model_Resource\:\:_critical\(\) expects int\|null, string given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Sales/Model/Api2/Order/Comment/Rest/Admin/V1.php - - message: "#^Call to an undefined method Varien_Simplexml_Element\\:\\:getClassName\\(\\)\\.$#" + message: '#^Call to an undefined method Varien_Simplexml_Element\:\:getClassName\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Sales/Model/Config/Ordered.php - - message: "#^Parameter \\#3 \\$totalConfig of method Mage_Sales_Model_Config_Ordered\\:\\:_initModelInstance\\(\\) expects array, Varien_Simplexml_Element given\\.$#" + message: '#^Parameter \#3 \$totalConfig of method Mage_Sales_Model_Config_Ordered\:\:_initModelInstance\(\) expects array, Varien_Simplexml_Element given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Config/Ordered.php - - message: "#^Call to an undefined method Mage_Sales_Model_Resource_Quote_Collection\\:\\:addAttributeToSelect\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Sales_Model_Resource_Quote_Collection\:\:addAttributeToSelect\(\)\.$#' + identifier: method.notFound count: 2 path: app/code/core/Mage/Sales/Model/Entity/Quote.php - - message: "#^Variable \\$oldArea might not be defined\\.$#" + message: '#^Variable \$oldArea might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Sales/Model/Order/Api.php - - message: "#^Variable \\$oldStore might not be defined\\.$#" + message: '#^Variable \$oldStore might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Sales/Model/Order/Api.php - - message: "#^Parameter \\#1 \\$str of function trim expects string, float given\\.$#" + message: '#^Parameter \#1 \$str of function trim expects string, float given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Sales/Model/Order/Creditmemo.php - - message: "#^Property Mage_Sales_Model_Order_Creditmemo\\:\\:\\$_items \\(iterable\\&Mage_Sales_Model_Resource_Order_Creditmemo_Item_Collection\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Sales_Model_Order_Creditmemo\:\:\$_items \(iterable\&Mage_Sales_Model_Resource_Order_Creditmemo_Item_Collection\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Sales/Model/Order/Creditmemo.php - - message: "#^Parameter \\#2 \\$options of method Mage_Directory_Model_Currency\\:\\:format\\(\\) expects array, null given\\.$#" + message: '#^Parameter \#2 \$options of method Mage_Directory_Model_Currency\:\:format\(\) expects array, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Shipping.php - - message: "#^Cannot call method addAttributeToFilter\\(\\) on Mage_Core_Model_Resource_Db_Collection_Abstract\\|false\\.$#" + message: '#^Cannot call method addAttributeToFilter\(\) on Mage_Core_Model_Resource_Db_Collection_Abstract\|false\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Sales/Model/Order/Invoice.php - - message: "#^Parameter \\#1 \\$incrementId of method Mage_Sales_Model_Order_Invoice\\:\\:loadByIncrementId\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#1 \$incrementId of method Mage_Sales_Model_Order_Invoice\:\:loadByIncrementId\(\) expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Invoice/Api.php - - message: "#^Call to an undefined method Mage_Catalog_Model_Product_Type_Abstract\\:\\:getForceApplyDiscountToParentItem\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Catalog_Model_Product_Type_Abstract\:\:getForceApplyDiscountToParentItem\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Sales/Model/Order/Item.php - - message: "#^If condition is always false\\.$#" + message: '#^If condition is always false\.$#' + identifier: if.alwaysFalse count: 1 path: app/code/core/Mage/Sales/Model/Order/Payment.php - - message: "#^Property Mage_Sales_Model_Order_Payment\\:\\:\\$_canVoidLookup \\(string\\) does not accept bool\\.$#" + message: '#^Property Mage_Sales_Model_Order_Payment\:\:\$_canVoidLookup \(string\) does not accept bool\.$#' + identifier: assign.propertyType count: 2 path: app/code/core/Mage/Sales/Model/Order/Payment.php - - message: "#^Method Mage_Sales_Model_Order_Payment_Transaction\\:\\:getOrderId\\(\\) should return int\\|null but return statement is missing\\.$#" + message: '#^Method Mage_Sales_Model_Order_Payment_Transaction\:\:getOrderId\(\) should return int\|null but return statement is missing\.$#' + identifier: return.missing count: 1 path: app/code/core/Mage/Sales/Model/Order/Payment/Transaction.php - - message: "#^Parameter \\#1 \\$order of method Mage_Sales_Model_Order_Payment_Transaction\\:\\:setOrder\\(\\) expects bool\\|Mage_Sales_Model_Order_Payment\\|null, Mage_Sales_Model_Order given\\.$#" + message: '#^Parameter \#1 \$order of method Mage_Sales_Model_Order_Payment_Transaction\:\:setOrder\(\) expects bool\|Mage_Sales_Model_Order_Payment\|null, Mage_Sales_Model_Order given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Payment/Transaction.php - - message: "#^Parameter \\#1 \\$shouldSave of method Mage_Sales_Model_Order_Payment_Transaction\\:\\:closeAuthorization\\(\\) expects bool, string given\\.$#" + message: '#^Parameter \#1 \$shouldSave of method Mage_Sales_Model_Order_Payment_Transaction\:\:closeAuthorization\(\) expects bool, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Payment/Transaction.php - - message: "#^Parameter \\#1 \\$txnId of method Mage_Sales_Model_Order_Payment_Transaction\\:\\:_beforeLoadByTxnId\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#1 \$txnId of method Mage_Sales_Model_Order_Payment_Transaction\:\:_beforeLoadByTxnId\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Payment/Transaction.php - - message: "#^Method Mage_Sales_Model_Order_Pdf_Abstract\\:\\:getAlignCenter\\(\\) should return int but returns float\\.$#" + message: '#^Method Mage_Sales_Model_Order_Pdf_Abstract\:\:getAlignCenter\(\) should return int but returns float\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php - - message: "#^Method Mage_Sales_Model_Order_Pdf_Abstract\\:\\:getAlignRight\\(\\) should return int but returns float\\.$#" + message: '#^Method Mage_Sales_Model_Order_Pdf_Abstract\:\:getAlignRight\(\) should return int but returns float\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php - - message: "#^Variable \\$order might not be defined\\.$#" + message: '#^Variable \$order might not be defined\.$#' + identifier: variable.undefined count: 12 path: app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php - - message: "#^Variable \\$shipment might not be defined\\.$#" + message: '#^Variable \$shipment might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php - - message: "#^Parameter \\#1 \\$object of method Mage_Sales_Model_Order_Pdf_Abstract\\:\\:_setFontBold\\(\\) expects Zend_Pdf_Page, Zend_Pdf_Style given\\.$#" + message: '#^Parameter \#1 \$object of method Mage_Sales_Model_Order_Pdf_Abstract\:\:_setFontBold\(\) expects Zend_Pdf_Page, Zend_Pdf_Style given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Pdf/Creditmemo.php - - message: "#^Variable \\$creditmemo might not be defined\\.$#" + message: '#^Variable \$creditmemo might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Sales/Model/Order/Pdf/Creditmemo.php - - message: "#^Parameter \\#1 \\$object of method Mage_Sales_Model_Order_Pdf_Abstract\\:\\:_setFontBold\\(\\) expects Zend_Pdf_Page, Zend_Pdf_Style given\\.$#" + message: '#^Parameter \#1 \$object of method Mage_Sales_Model_Order_Pdf_Abstract\:\:_setFontBold\(\) expects Zend_Pdf_Page, Zend_Pdf_Style given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php - - message: "#^Method Mage_Sales_Model_Order_Pdf_Items_Abstract\\:\\:getSku\\(\\) should return string but returns array\\.$#" + message: '#^Method Mage_Sales_Model_Order_Pdf_Items_Abstract\:\:getSku\(\) should return string but returns array\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Pdf/Items/Abstract.php - - message: "#^Parameter \\#1 \\$item of method Mage_Sales_Model_Order_Pdf_Items_Abstract\\:\\:getSku\\(\\) expects Mage_Sales_Model_Order_Creditmemo_Item\\|Mage_Sales_Model_Order_Invoice_Item, Varien_Object given\\.$#" + message: '#^Parameter \#1 \$item of method Mage_Sales_Model_Order_Pdf_Items_Abstract\:\:getSku\(\) expects Mage_Sales_Model_Order_Creditmemo_Item\|Mage_Sales_Model_Order_Invoice_Item, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Pdf/Items/Creditmemo/Default.php - - message: "#^Parameter \\#1 \\$item of method Mage_Sales_Model_Order_Pdf_Items_Abstract\\:\\:getSku\\(\\) expects Mage_Sales_Model_Order_Creditmemo_Item\\|Mage_Sales_Model_Order_Invoice_Item, Varien_Object given\\.$#" + message: '#^Parameter \#1 \$item of method Mage_Sales_Model_Order_Pdf_Items_Abstract\:\:getSku\(\) expects Mage_Sales_Model_Order_Creditmemo_Item\|Mage_Sales_Model_Order_Invoice_Item, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Pdf/Items/Invoice/Default.php - - message: "#^Parameter \\#1 \\$item of method Mage_Sales_Model_Order_Pdf_Items_Abstract\\:\\:getSku\\(\\) expects Mage_Sales_Model_Order_Creditmemo_Item\\|Mage_Sales_Model_Order_Invoice_Item, Varien_Object given\\.$#" + message: '#^Parameter \#1 \$item of method Mage_Sales_Model_Order_Pdf_Items_Abstract\:\:getSku\(\) expects Mage_Sales_Model_Order_Creditmemo_Item\|Mage_Sales_Model_Order_Invoice_Item, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Pdf/Items/Shipment/Default.php - - message: "#^Parameter \\#1 \\$object of method Mage_Sales_Model_Order_Pdf_Abstract\\:\\:_setFontBold\\(\\) expects Zend_Pdf_Page, Zend_Pdf_Style given\\.$#" + message: '#^Parameter \#1 \$object of method Mage_Sales_Model_Order_Pdf_Abstract\:\:_setFontBold\(\) expects Zend_Pdf_Page, Zend_Pdf_Style given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Pdf/Shipment.php - - message: "#^Parameter \\#2 \\$obj of method Mage_Sales_Model_Order_Pdf_Abstract\\:\\:insertOrder\\(\\) expects Mage_Sales_Model_Order, Mage_Sales_Model_Order_Shipment given\\.$#" + message: '#^Parameter \#2 \$obj of method Mage_Sales_Model_Order_Pdf_Abstract\:\:insertOrder\(\) expects Mage_Sales_Model_Order, Mage_Sales_Model_Order_Shipment given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Pdf/Shipment.php - - message: "#^Variable \\$shipment might not be defined\\.$#" + message: '#^Variable \$shipment might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Sales/Model/Order/Pdf/Shipment.php - - message: "#^Parameter \\#1 \\$text of method Zend_Pdf_Canvas_Abstract\\:\\:drawText\\(\\) expects string, \\(float\\|int\\) given\\.$#" + message: '#^Parameter \#1 \$text of method Zend_Pdf_Canvas_Abstract\:\:drawText\(\) expects string, \(float\|int\) given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Pdf/Shipment/Packaging.php - - message: "#^Property Mage_Sales_Model_Order_Shipment\\:\\:\\$_items \\(Mage_Sales_Model_Resource_Order_Shipment_Item_Collection\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Sales_Model_Order_Shipment\:\:\$_items \(Mage_Sales_Model_Resource_Order_Shipment_Item_Collection\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Sales/Model/Order/Shipment.php - - message: "#^Property Mage_Sales_Model_Order_Shipment\\:\\:\\$_tracks \\(Mage_Sales_Model_Resource_Order_Shipment_Track_Collection\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Sales_Model_Order_Shipment\:\:\$_tracks \(Mage_Sales_Model_Resource_Order_Shipment_Track_Collection\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Sales/Model/Order/Shipment.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\\:\\:getStoreId\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:getStoreId\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Sales/Model/Order/Shipment/Api.php - - message: "#^Method Mage_Sales_Model_Order_Shipment_Api\\:\\:create\\(\\) should return string but returns null\\.$#" + message: '#^Method Mage_Sales_Model_Order_Shipment_Api\:\:create\(\) should return string but returns null\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Shipment/Api.php - - message: "#^Parameter \\#1 \\$comment of method Mage_Sales_Model_Order_Shipment\\:\\:addComment\\(\\) expects Mage_Sales_Model_Order_Shipment_Comment, string given\\.$#" + message: '#^Parameter \#1 \$comment of method Mage_Sales_Model_Order_Shipment\:\:addComment\(\) expects Mage_Sales_Model_Order_Shipment_Comment, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Shipment/Api.php - - message: "#^Parameter \\#1 \\$comment of method Mage_Sales_Model_Order_Shipment\\:\\:addComment\\(\\) expects Mage_Sales_Model_Order_Shipment_Comment, string\\|null given\\.$#" + message: '#^Parameter \#1 \$comment of method Mage_Sales_Model_Order_Shipment\:\:addComment\(\) expects Mage_Sales_Model_Order_Shipment_Comment, string\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Shipment/Api.php - - message: "#^Parameter \\#1 \\$object of method Mage_Sales_Model_Order_Shipment_Api\\:\\:_getCarriers\\(\\) expects Mage_Eav_Model_Entity_Abstract, Mage_Sales_Model_Order given\\.$#" + message: '#^Parameter \#1 \$object of method Mage_Sales_Model_Order_Shipment_Api\:\:_getCarriers\(\) expects Mage_Eav_Model_Entity_Abstract, Mage_Sales_Model_Order given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Shipment/Api.php - - message: "#^Parameter \\#1 \\$object of method Mage_Sales_Model_Order_Shipment_Api\\:\\:_getCarriers\\(\\) expects Mage_Eav_Model_Entity_Abstract, Mage_Sales_Model_Order_Shipment given\\.$#" + message: '#^Parameter \#1 \$object of method Mage_Sales_Model_Order_Shipment_Api\:\:_getCarriers\(\) expects Mage_Eav_Model_Entity_Abstract, Mage_Sales_Model_Order_Shipment given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Shipment/Api.php - - message: "#^Method Mage_Sales_Model_Order_Shipment_Api_V2\\:\\:create\\(\\) should return string but returns null\\.$#" + message: '#^Method Mage_Sales_Model_Order_Shipment_Api_V2\:\:create\(\) should return string but returns null\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Shipment/Api/V2.php - - message: "#^Parameter \\#1 \\$comment of method Mage_Sales_Model_Order_Shipment\\:\\:addComment\\(\\) expects Mage_Sales_Model_Order_Shipment_Comment, string\\|null given\\.$#" + message: '#^Parameter \#1 \$comment of method Mage_Sales_Model_Order_Shipment\:\:addComment\(\) expects Mage_Sales_Model_Order_Shipment_Comment, string\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Shipment/Api/V2.php - - message: "#^Parameter \\#1 \\$object of method Mage_Sales_Model_Order_Shipment_Api\\:\\:_getCarriers\\(\\) expects Mage_Eav_Model_Entity_Abstract, Mage_Sales_Model_Order given\\.$#" + message: '#^Parameter \#1 \$object of method Mage_Sales_Model_Order_Shipment_Api\:\:_getCarriers\(\) expects Mage_Eav_Model_Entity_Abstract, Mage_Sales_Model_Order given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Shipment/Api/V2.php - - message: "#^Parameter \\#2 \\$totalConfig of method Mage_Sales_Model_Config_Ordered\\:\\:_prepareConfigArray\\(\\) expects Mage_Core_Model_Config_Element, array given\\.$#" + message: '#^Parameter \#2 \$totalConfig of method Mage_Sales_Model_Config_Ordered\:\:_prepareConfigArray\(\) expects Mage_Core_Model_Config_Element, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Order/Total/Config/Base.php - - message: "#^Call to an undefined method Mage_Sales_Model_Quote_Item_Abstract\\:\\:compare\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Sales_Model_Quote_Item_Abstract\:\:compare\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Sales/Model/Quote.php - - message: "#^Method Mage_Sales_Model_Quote\\:\\:getIsVirtual\\(\\) should return bool but returns int\\.$#" + message: '#^Method Mage_Sales_Model_Quote\:\:getIsVirtual\(\) should return bool but returns int\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Sales/Model/Quote.php - - message: "#^Method Mage_Sales_Model_Quote\\:\\:updateItem\\(\\) should return Mage_Sales_Model_Quote_Item but returns Mage_Sales_Model_Quote_Item_Abstract\\.$#" + message: '#^Method Mage_Sales_Model_Quote\:\:updateItem\(\) should return Mage_Sales_Model_Quote_Item but returns Mage_Sales_Model_Quote_Item_Abstract\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Sales/Model/Quote.php - - message: "#^Parameter \\#1 \\$item of method Mage_Sales_Model_Quote\\:\\:addItem\\(\\) expects Mage_Sales_Model_Quote_Item, Mage_Sales_Model_Quote_Item_Abstract given\\.$#" + message: '#^Parameter \#1 \$item of method Mage_Sales_Model_Quote\:\:addItem\(\) expects Mage_Sales_Model_Quote_Item, Mage_Sales_Model_Quote_Item_Abstract given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Quote.php - - message: "#^Parameter \\#2 \\$array of function implode expects array\\, array\\ given\\.$#" + message: '#^Parameter \#2 \$array of function implode expects array\, list\ given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Quote.php - - message: "#^Property Mage_Sales_Model_Quote\\:\\:\\$_addresses \\(Mage_Sales_Model_Resource_Order_Address_Collection\\|null\\) does not accept Mage_Sales_Model_Resource_Quote_Address_Collection\\.$#" + message: '#^Property Mage_Sales_Model_Quote\:\:\$_addresses \(Mage_Sales_Model_Resource_Order_Address_Collection\|null\) does not accept Mage_Sales_Model_Resource_Quote_Address_Collection\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Sales/Model/Quote.php - - message: "#^Method Mage_Sales_Model_Quote_Address\\:\\:getItemsCollection\\(\\) should return Mage_Eav_Model_Entity_Collection_Abstract but returns Mage_Sales_Model_Resource_Quote_Address_Item_Collection\\.$#" + message: '#^Method Mage_Sales_Model_Quote_Address\:\:getItemsCollection\(\) should return Mage_Eav_Model_Entity_Collection_Abstract but returns Mage_Sales_Model_Resource_Quote_Address_Item_Collection\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Sales/Model/Quote/Address.php - - message: "#^Parameter \\#1 \\$parentItem of method Mage_Sales_Model_Quote_Item_Abstract\\:\\:setParentItem\\(\\) expects Mage_Sales_Model_Quote_Item, Mage_Sales_Model_Quote_Address_Item given\\.$#" + message: '#^Parameter \#1 \$parentItem of method Mage_Sales_Model_Quote_Item_Abstract\:\:setParentItem\(\) expects Mage_Sales_Model_Quote_Item, Mage_Sales_Model_Quote_Address_Item given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Quote/Address.php - - message: "#^Parameter \\#1 \\$quoteItem of method Mage_Sales_Model_Quote_Address_Item\\:\\:importQuoteItem\\(\\) expects Mage_Sales_Model_Quote_Item, Mage_Sales_Model_Quote_Item_Abstract given\\.$#" + message: '#^Parameter \#1 \$quoteItem of method Mage_Sales_Model_Quote_Address_Item\:\:importQuoteItem\(\) expects Mage_Sales_Model_Quote_Item, Mage_Sales_Model_Quote_Item_Abstract given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Quote/Address.php - - message: "#^Right side of && is always true\\.$#" + message: '#^Right side of && is always true\.$#' + identifier: booleanAnd.rightAlwaysTrue count: 1 path: app/code/core/Mage/Sales/Model/Quote/Address.php - - message: "#^Variable \\$totalInstance might not be defined\\.$#" + message: '#^Variable \$totalInstance might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/code/core/Mage/Sales/Model/Quote/Address.php - - message: "#^Parameter \\#2 \\$totalConfig of method Mage_Sales_Model_Config_Ordered\\:\\:_prepareConfigArray\\(\\) expects Mage_Core_Model_Config_Element, array given\\.$#" + message: '#^Parameter \#2 \$totalConfig of method Mage_Sales_Model_Config_Ordered\:\:_prepareConfigArray\(\) expects Mage_Core_Model_Config_Element, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Quote/Address/Total/Collector.php - - message: "#^Parameter \\#3 \\$totalConfig of method Mage_Sales_Model_Quote_Address_Total_Collector\\:\\:_initModelInstance\\(\\) expects array, Mage_Core_Model_Config_Element given\\.$#" + message: '#^Parameter \#3 \$totalConfig of method Mage_Sales_Model_Quote_Address_Total_Collector\:\:_initModelInstance\(\) expects array, Mage_Core_Model_Config_Element given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Quote/Address/Total/Collector.php - - message: "#^Parameter \\#2 \\$visibility of method Mage_Catalog_Helper_Data\\:\\:canApplyMsrp\\(\\) expects int\\|null, string given\\.$#" + message: '#^Parameter \#2 \$visibility of method Mage_Catalog_Helper_Data\:\:canApplyMsrp\(\) expects int\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Quote/Address/Total/Msrp.php - - message: "#^Negated boolean expression is always true\\.$#" + message: '#^Negated boolean expression is always true\.$#' + identifier: booleanNot.alwaysTrue count: 1 path: app/code/core/Mage/Sales/Model/Quote/Address/Total/Shipping.php - - message: "#^Variable \\$addressQty in isset\\(\\) always exists and is not nullable\\.$#" + message: '#^Variable \$addressQty in isset\(\) always exists and is not nullable\.$#' + identifier: isset.variable count: 1 path: app/code/core/Mage/Sales/Model/Quote/Address/Total/Shipping.php - - message: "#^Instanceof between Mage_Sales_Model_Quote_Item_Option and Mage_Sales_Model_Quote_Item_Option will always evaluate to true\\.$#" + message: '#^Instanceof between Mage_Sales_Model_Quote_Item_Option and Mage_Sales_Model_Quote_Item_Option will always evaluate to true\.$#' + identifier: instanceof.alwaysTrue count: 1 path: app/code/core/Mage/Sales/Model/Quote/Item.php - - message: "#^Call to Exception\\:\\:__construct\\(\\) on a separate line has no effect\\.$#" + message: '#^Call to Exception\:\:__construct\(\) on a separate line has no effect\.$#' + identifier: new.resultUnused count: 1 path: app/code/core/Mage/Sales/Model/Recurring/Profile.php - - message: "#^Call to an undefined method Mage_Payment_Model_Method_Abstract\\:\\:canGetRecurringProfileDetails\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Payment_Model_Method_Abstract\:\:canGetRecurringProfileDetails\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Sales/Model/Recurring/Profile.php - - message: "#^Call to an undefined method Mage_Payment_Model_Method_Abstract\\:\\:submitRecurringProfile\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Payment_Model_Method_Abstract\:\:submitRecurringProfile\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Sales/Model/Recurring/Profile.php - - message: "#^Call to an undefined method Mage_Payment_Model_Method_Abstract\\:\\:updateRecurringProfileStatus\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Payment_Model_Method_Abstract\:\:updateRecurringProfileStatus\(\)\.$#' + identifier: method.notFound count: 3 path: app/code/core/Mage/Sales/Model/Recurring/Profile.php - - message: "#^Parameter \\#2 \\$attribute of method Mage_Sales_Model_Resource_Order_Abstract\\:\\:_afterSaveAttribute\\(\\) expects string, array given\\.$#" + message: '#^Parameter \#2 \$attribute of method Mage_Sales_Model_Resource_Order_Abstract\:\:_afterSaveAttribute\(\) expects string, array\ given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Resource/Order/Abstract.php - - message: "#^Parameter \\#2 \\$attribute of method Mage_Sales_Model_Resource_Order_Abstract\\:\\:_beforeSaveAttribute\\(\\) expects string, array given\\.$#" + message: '#^Parameter \#2 \$attribute of method Mage_Sales_Model_Resource_Order_Abstract\:\:_beforeSaveAttribute\(\) expects string, array\ given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Resource/Order/Abstract.php - - message: "#^Cannot call method updateOnRelatedRecordChanged\\(\\) on Mage_Core_Model_Resource_Db_Collection_Abstract\\|false\\.$#" + message: '#^Cannot call method updateOnRelatedRecordChanged\(\) on Mage_Core_Model_Resource_Db_Collection_Abstract\|false\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Sales/Model/Resource/Order/Address.php - - message: "#^Parameter \\#1 \\$attribute of method Mage_Sales_Model_Resource_Collection_Abstract\\:\\:addAttributeToFilter\\(\\) expects Mage_Eav_Model_Entity_Attribute\\|string, array given\\.$#" + message: '#^Parameter \#1 \$attribute of method Mage_Sales_Model_Resource_Collection_Abstract\:\:addAttributeToFilter\(\) expects Mage_Eav_Model_Entity_Attribute\|string, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Resource/Order/Collection.php - - message: "#^Call to an undefined method Mage_Core_Model_Abstract\\:\\:isFailsafe\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Core_Model_Abstract\:\:isFailsafe\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Sales/Model/Resource/Order/Payment/Transaction.php - - message: "#^Parameter \\#3 \\$object of method Mage_Core_Model_Resource_Db_Abstract\\:\\:_getLoadSelect\\(\\) expects Mage_Core_Model_Abstract, Varien_Object given\\.$#" + message: '#^Parameter \#3 \$object of method Mage_Core_Model_Resource_Db_Abstract\:\:_getLoadSelect\(\) expects Mage_Core_Model_Abstract, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Resource/Order/Status.php - - message: "#^Parameter \\#2 \\$resourceModel of method Mage_Core_Model_Resource_Db_Collection_Abstract\\:\\:_init\\(\\) expects Mage_Core_Model_Resource_Db_Abstract\\|null, string given\\.$#" + message: '#^Parameter \#2 \$resourceModel of method Mage_Core_Model_Resource_Db_Collection_Abstract\:\:_init\(\) expects Mage_Core_Model_Resource_Db_Abstract\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Resource/Order/Tax/Collection.php - - message: "#^Parameter \\#1 \\$expression of class Zend_Db_Expr constructor expects string, int given\\.$#" + message: '#^Parameter \#1 \$expression of class Zend_Db_Expr constructor expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Resource/Quote.php - - message: "#^Parameter \\#1 \\$expression of class Zend_Db_Expr constructor expects string, int given\\.$#" + message: '#^Parameter \#1 \$expression of class Zend_Db_Expr constructor expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Resource/Report/Bestsellers.php - - message: "#^Comparison operation \"\\!\\=\" between array\\|int and 0 results in an error\\.$#" + message: '#^Comparison operation "\!\=" between array\|int and 0 results in an error\.$#' + identifier: notEqual.invalid count: 1 path: app/code/core/Mage/Sales/Model/Resource/Report/Bestsellers/Collection.php - - message: "#^Parameter \\#1 \\$select of method Mage_Core_Model_Resource_Helper_Mysql4\\:\\:getQueryUsingAnalyticFunction\\(\\) expects Varien_Db_Select, Zend_Db_Select given\\.$#" + message: '#^Parameter \#1 \$select of method Mage_Core_Model_Resource_Helper_Mysql4\:\:getQueryUsingAnalyticFunction\(\) expects Varien_Db_Select, Zend_Db_Select given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Resource/Report/Bestsellers/Collection.php - - message: "#^Parameter \\#1 \\$expression of class Zend_Db_Expr constructor expects string, int given\\.$#" + message: '#^Parameter \#1 \$expression of class Zend_Db_Expr constructor expects string, int given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Sales/Model/Resource/Report/Invoiced.php - - message: "#^Parameter \\#1 \\$expression of class Zend_Db_Expr constructor expects string, int given\\.$#" + message: '#^Parameter \#1 \$expression of class Zend_Db_Expr constructor expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Resource/Report/Order/Createdat.php - - message: "#^Parameter \\#1 \\$expression of class Zend_Db_Expr constructor expects string, int given\\.$#" + message: '#^Parameter \#1 \$expression of class Zend_Db_Expr constructor expects string, int given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Sales/Model/Resource/Report/Shipping.php - - message: "#^Call to an undefined method Varien_Db_Adapter_Interface\\:\\:listTables\\(\\)\\.$#" + message: '#^Call to an undefined method Varien_Db_Adapter_Interface\:\:listTables\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Sales/Model/Resource/Setup.php - - message: "#^Call to an undefined method Mage_Payment_Model_Recurring_Profile\\:\\:submit\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Payment_Model_Recurring_Profile\:\:submit\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Sales/Model/Service/Quote.php - - message: "#^Negated boolean expression is always true\\.$#" + message: '#^Negated boolean expression is always true\.$#' + identifier: booleanNot.alwaysTrue count: 1 path: app/code/core/Mage/Sales/Model/Service/Quote.php - - message: "#^Parameter \\#1 \\$message of static method Mage\\:\\:throwException\\(\\) expects string, array given\\.$#" + message: '#^Parameter \#1 \$message of static method Mage\:\:throwException\(\) expects string, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/Model/Service/Quote.php - - message: "#^Negated boolean expression is always false\\.$#" + message: '#^Negated boolean expression is always false\.$#' + identifier: booleanNot.alwaysFalse count: 1 path: app/code/core/Mage/Sales/Model/Status/List.php - - message: "#^Variable \\$billingAgreement might not be defined\\.$#" + message: '#^Variable \$billingAgreement might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Sales/controllers/Billing/AgreementController.php - - message: "#^Parameter \\#2 \\$loginUrl of method Mage_Customer_Model_Session\\:\\:authenticate\\(\\) expects bool\\|null, string given\\.$#" + message: '#^Parameter \#2 \$loginUrl of method Mage_Customer_Model_Session\:\:authenticate\(\) expects bool\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Sales/controllers/OrderController.php - - message: "#^Parameter \\#1 \\$combine of method Mage_SalesRule_Model_Observer\\:\\:_removeAttributeFromConditions\\(\\) expects Mage_Rule_Model_Condition_Combine, Mage_Rule_Model_Action_Collection given\\.$#" + message: '#^Parameter \#1 \$combine of method Mage_SalesRule_Model_Observer\:\:_removeAttributeFromConditions\(\) expects Mage_Rule_Model_Condition_Combine, Mage_Rule_Model_Action_Collection given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/SalesRule/Model/Observer.php - - message: "#^Parameter \\#2 \\$ruleId of method Mage_SalesRule_Model_Rule_Customer\\:\\:loadByCustomerRule\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#2 \$ruleId of method Mage_SalesRule_Model_Rule_Customer\:\:loadByCustomerRule\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/SalesRule/Model/Observer.php - - message: "#^Negated boolean expression is always false\\.$#" + message: '#^Negated boolean expression is always false\.$#' + identifier: booleanNot.alwaysFalse count: 1 path: app/code/core/Mage/SalesRule/Model/Resource/Coupon.php - - message: "#^Binary operation \"\\+\\=\" between string\\|null and \\-1\\|1 results in an error\\.$#" + message: '#^Binary operation "\+\=" between string\|null and \-1\|1 results in an error\.$#' + identifier: assignOp.invalid count: 1 path: app/code/core/Mage/SalesRule/Model/Resource/Coupon/Usage.php - - message: "#^Return type \\(Mage_SalesRule_Model_Rule_Condition_Product_Combine\\) of method Mage_SalesRule_Model_Rule\\:\\:getActionsInstance\\(\\) should be compatible with return type \\(Mage_Rule_Model_Action_Collection\\) of method Mage_Rule_Model_Abstract\\:\\:getActionsInstance\\(\\)$#" + message: '#^Return type \(Mage_SalesRule_Model_Rule_Condition_Product_Combine\) of method Mage_SalesRule_Model_Rule\:\:getActionsInstance\(\) should be compatible with return type \(Mage_Rule_Model_Action_Collection\) of method Mage_Rule_Model_Abstract\:\:getActionsInstance\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/SalesRule/Model/Rule.php - - message: "#^Return type \\(string\\) of method Mage_SalesRule_Model_Rule_Condition_Product_Attribute_Assigned\\:\\:getOperatorName\\(\\) should be compatible with return type \\(array\\) of method Mage_Rule_Model_Condition_Abstract\\:\\:getOperatorName\\(\\)$#" + message: '#^Return type \(string\) of method Mage_SalesRule_Model_Rule_Condition_Product_Attribute_Assigned\:\:getOperatorName\(\) should be compatible with return type \(array\) of method Mage_Rule_Model_Condition_Abstract\:\:getOperatorName\(\)$#' + identifier: method.childReturnType count: 1 path: app/code/core/Mage/SalesRule/Model/Rule/Condition/Product/Attribute/Assigned.php - - message: "#^Call to an undefined method Mage_Rule_Model_Action_Collection\\:\\:validate\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Rule_Model_Action_Collection\:\:validate\(\)\.$#' + identifier: method.notFound count: 2 path: app/code/core/Mage/SalesRule/Model/Validator.php - - message: "#^Parameter \\#2 \\$title of method Mage_Weee_Helper_Data\\:\\:setWeeeTaxesAppliedProperty\\(\\) expects string, null given\\.$#" + message: '#^Parameter \#2 \$title of method Mage_Weee_Helper_Data\:\:setWeeeTaxesAppliedProperty\(\) expects string, null given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/SalesRule/Model/Validator.php - - message: "#^Parameter \\#4 \\$value of method Mage_Weee_Helper_Data\\:\\:setWeeeTaxesAppliedProperty\\(\\) expects string, \\(float\\|int\\) given\\.$#" + message: '#^Parameter \#4 \$value of method Mage_Weee_Helper_Data\:\:setWeeeTaxesAppliedProperty\(\) expects string, \(float\|int\) given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/SalesRule/Model/Validator.php - - message: "#^Parameter \\#4 \\$value of method Mage_Weee_Helper_Data\\:\\:setWeeeTaxesAppliedProperty\\(\\) expects string, float given\\.$#" + message: '#^Parameter \#4 \$value of method Mage_Weee_Helper_Data\:\:setWeeeTaxesAppliedProperty\(\) expects string, float given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/SalesRule/Model/Validator.php - - message: "#^Call to an undefined method Mage_Shipping_Model_Carrier_Abstract\\:\\:_getQuotes\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Shipping_Model_Carrier_Abstract\:\:_getQuotes\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Shipping/Model/Carrier/Abstract.php - - message: "#^Call to an undefined method Mage_Shipping_Model_Carrier_Abstract\\:\\:_setFreeMethodRequest\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Shipping_Model_Carrier_Abstract\:\:_setFreeMethodRequest\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Shipping/Model/Carrier/Abstract.php - - message: "#^Left side of && is always true\\.$#" + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue count: 1 path: app/code/core/Mage/Shipping/Model/Carrier/Abstract.php - - message: "#^Negated boolean expression is always false\\.$#" + message: '#^Negated boolean expression is always false\.$#' + identifier: booleanNot.alwaysFalse count: 1 path: app/code/core/Mage/Shipping/Model/Carrier/Abstract.php - - message: "#^Property Mage_Shipping_Model_Carrier_Abstract\\:\\:\\$_numBoxes \\(int\\) does not accept float\\.$#" + message: '#^Property Mage_Shipping_Model_Carrier_Abstract\:\:\$_numBoxes \(int\) does not accept float\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Shipping/Model/Carrier/Abstract.php - - message: "#^Variable \\$rate in empty\\(\\) is never defined\\.$#" + message: '#^Variable \$rate in empty\(\) is never defined\.$#' + identifier: empty.variable count: 1 path: app/code/core/Mage/Shipping/Model/Carrier/Pickup.php - - message: "#^Method Mage_Shipping_Model_Carrier_Tablerate\\:\\:getRate\\(\\) should return Mage_Core_Model_Abstract but returns array\\|bool\\.$#" + message: '#^Method Mage_Shipping_Model_Carrier_Tablerate\:\:getRate\(\) should return Mage_Core_Model_Abstract but returns array\|bool\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Shipping/Model/Carrier/Tablerate.php - - message: "#^Parameter \\#1 \\$hash of method Mage_Shipping_Helper_Data\\:\\:decodeTrackingHash\\(\\) expects string, array given\\.$#" + message: '#^Parameter \#1 \$hash of method Mage_Shipping_Helper_Data\:\:decodeTrackingHash\(\) expects string, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Shipping/Model/Info.php - - message: "#^Comparison operation \"\\<\" between \\(array\\|float\\|int\\) and float results in an error\\.$#" + message: '#^Comparison operation "\<" between \(array\|float\|int\) and float results in an error\.$#' + identifier: smaller.invalid count: 1 path: app/code/core/Mage/Shipping/Model/Shipping.php - - message: "#^Comparison operation \"\\>\" between \\(array\\|float\\|int\\) and float results in an error\\.$#" + message: '#^Comparison operation "\>" between \(array\|float\|int\) and float results in an error\.$#' + identifier: greater.invalid count: 1 path: app/code/core/Mage/Shipping/Model/Shipping.php - - message: "#^Property Mage_Shipping_Model_Shipping\\:\\:\\$_result \\(Mage_Shipping_Model_Rate_Result\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Mage_Shipping_Model_Shipping\:\:\$_result \(Mage_Shipping_Model_Rate_Result\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: app/code/core/Mage/Shipping/Model/Shipping.php - - message: "#^Variable \\$sumResults in empty\\(\\) always exists and is not falsy\\.$#" + message: '#^Variable \$sumResults in empty\(\) always exists and is not falsy\.$#' + identifier: empty.variable count: 1 path: app/code/core/Mage/Shipping/Model/Shipping.php - - message: "#^Call to an undefined method Mage_Shipping_Model_Rate_Result\\:\\:getAllTrackings\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Shipping_Model_Rate_Result\:\:getAllTrackings\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Shipping/Model/Tracking/Result.php - - message: "#^Call to an undefined method Zend_Db_Adapter_Abstract\\:\\:getCheckSql\\(\\)\\.$#" + message: '#^Call to an undefined method Zend_Db_Adapter_Abstract\:\:getCheckSql\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Sitemap/Model/Resource/Catalog/Abstract.php - - message: "#^Parameter \\#1 \\$productId of method Mage_Tag_Model_Resource_Tag_Collection\\:\\:addProductFilter\\(\\) expects int, true given\\.$#" + message: '#^Parameter \#1 \$productId of method Mage_Tag_Model_Resource_Tag_Collection\:\:addProductFilter\(\) expects int, true given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Tag/Block/Product/List.php - - message: "#^Access to an undefined property Mage_Tag_Model_Entity_Customer_Collection\\:\\:\\$_read\\.$#" + message: '#^Access to an undefined property Mage_Tag_Model_Entity_Customer_Collection\:\:\$_read\.$#' + identifier: property.notFound count: 1 path: app/code/core/Mage/Tag/Model/Entity/Customer/Collection.php - - message: "#^Parameter \\#1 \\$expression of class Zend_Db_Expr constructor expects string, int given\\.$#" + message: '#^Parameter \#1 \$expression of class Zend_Db_Expr constructor expects string, int given\.$#' + identifier: argument.type count: 7 path: app/code/core/Mage/Tag/Model/Resource/Indexer/Summary.php - - message: "#^Parameter \\#5 \\$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\\:\\:_addAttributeToSelect\\(\\) expects Zend_Db_Expr\\|null, string given\\.$#" + message: '#^Parameter \#5 \$condition of method Mage_Catalog_Model_Resource_Product_Indexer_Abstract\:\:_addAttributeToSelect\(\) expects Zend_Db_Expr\|null, string given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Tag/Model/Resource/Indexer/Summary.php - - message: "#^Parameter \\#1 \\$expression of class Zend_Db_Expr constructor expects string, int given\\.$#" + message: '#^Parameter \#1 \$expression of class Zend_Db_Expr constructor expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Tag/Model/Resource/Tag.php - - message: "#^Parameter \\#1 \\$model of method Mage_Tag_Model_Resource_Tag\\:\\:loadByName\\(\\) expects Mage_Tag_Model_Tag, Varien_Object given\\.$#" + message: '#^Parameter \#1 \$model of method Mage_Tag_Model_Resource_Tag\:\:loadByName\(\) expects Mage_Tag_Model_Tag, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Tag/Model/Resource/Tag.php - - message: "#^Parameter \\#2 \\$condition of method Mage_Tag_Model_Resource_Tag_Collection\\:\\:addFieldToFilter\\(\\) expects array\\|null, int given\\.$#" + message: '#^Parameter \#2 \$condition of method Mage_Tag_Model_Resource_Tag_Collection\:\:addFieldToFilter\(\) expects array\|null, int given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Tag/Model/Resource/Tag/Collection.php - - message: "#^Parameter \\#1 \\$store of method Mage_Weee_Helper_Data\\:\\:validateCatalogPricesAndFptConfiguration\\(\\) expects Mage_Core_Model_Store\\|null, int given\\.$#" + message: '#^Parameter \#1 \$store of method Mage_Weee_Helper_Data\:\:validateCatalogPricesAndFptConfiguration\(\) expects Mage_Core_Model_Store\|null, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Tax/Block/Adminhtml/Notifications.php - - message: "#^Call to an undefined method Mage_Tax_Block_Sales_Order_Tax\\:\\:addTotal\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Tax_Block_Sales_Order_Tax\:\:addTotal\(\)\.$#' + identifier: method.notFound count: 7 path: app/code/core/Mage/Tax/Block/Sales/Order/Tax.php - - message: "#^Call to an undefined method Mage_Tax_Block_Sales_Order_Tax\\:\\:removeTotal\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Tax_Block_Sales_Order_Tax\:\:removeTotal\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Tax/Block/Sales/Order/Tax.php - - message: "#^Property Mage_Tax_Block_Sales_Order_Tax\\:\\:\\$_source \\(Mage_Sales_Model_Order_Invoice\\) does not accept Mage_Sales_Model_Order\\.$#" + message: '#^Property Mage_Tax_Block_Sales_Order_Tax\:\:\$_source \(Mage_Sales_Model_Order_Invoice\) does not accept Mage_Sales_Model_Order\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Tax/Block/Sales/Order/Tax.php - - message: "#^Call to an undefined method Mage_Core_Model_App\\:\\:getOrder\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Core_Model_App\:\:getOrder\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Tax/Helper/Data.php - - message: "#^If condition is always false\\.$#" + message: '#^If condition is always false\.$#' + identifier: if.alwaysFalse count: 2 path: app/code/core/Mage/Tax/Helper/Data.php - - message: "#^Method Mage_Tax_Helper_Data\\:\\:needPriceConversion\\(\\) should return int\\|false but returns bool\\.$#" + message: '#^Method Mage_Tax_Helper_Data\:\:needPriceConversion\(\) should return int\|false but returns bool\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Tax/Helper/Data.php - - message: "#^Parameter \\#1 \\$shippingAddress of method Mage_Tax_Model_Calculation\\:\\:getRateRequest\\(\\) expects Mage_Sales_Model_Quote_Address\\|false\\|null, Mage_Customer_Model_Address\\|null given\\.$#" + message: '#^Parameter \#1 \$shippingAddress of method Mage_Tax_Model_Calculation\:\:getRateRequest\(\) expects Mage_Sales_Model_Quote_Address\|false\|null, Mage_Customer_Model_Address\|null given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Tax/Helper/Data.php - - message: "#^Parameter \\#2 \\$billingAddress of method Mage_Tax_Model_Calculation\\:\\:getRateRequest\\(\\) expects Mage_Sales_Model_Quote_Address\\|false\\|null, Mage_Customer_Model_Address\\|null given\\.$#" + message: '#^Parameter \#2 \$billingAddress of method Mage_Tax_Model_Calculation\:\:getRateRequest\(\) expects Mage_Sales_Model_Quote_Address\|false\|null, Mage_Customer_Model_Address\|null given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Tax/Helper/Data.php - - message: "#^Parameter \\#2 \\$format of method Mage_Core_Model_Store\\:\\:convertPrice\\(\\) expects bool, string\\|null given\\.$#" + message: '#^Parameter \#2 \$format of method Mage_Core_Model_Store\:\:convertPrice\(\) expects bool, string\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Tax/Helper/Data.php - - message: "#^Right side of && is always false\\.$#" + message: '#^Right side of && is always false\.$#' + identifier: booleanAnd.rightAlwaysFalse count: 1 path: app/code/core/Mage/Tax/Helper/Data.php - - message: "#^Parameter \\#1 \\$request of method Mage_Tax_Model_Resource_Calculation\\:\\:getCalculationProcess\\(\\) expects Varien_Object, null given\\.$#" + message: '#^Parameter \#1 \$request of method Mage_Tax_Model_Resource_Calculation\:\:getCalculationProcess\(\) expects Varien_Object, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Tax/Model/Calculation.php - - message: "#^Property Mage_Tax_Model_Calculation\\:\\:\\$_defaultCustomerTaxClass \\(string\\) does not accept int\\.$#" + message: '#^Property Mage_Tax_Model_Calculation\:\:\$_defaultCustomerTaxClass \(string\) does not accept int\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Tax/Model/Calculation.php - - message: "#^Property Mage_Tax_Model_Calculation_Rate\\:\\:\\$_titles \\(array\\|null\\) does not accept Mage_Tax_Model_Resource_Calculation_Rate_Title_Collection\\.$#" + message: '#^Property Mage_Tax_Model_Calculation_Rate\:\:\$_titles \(array\|null\) does not accept Mage_Tax_Model_Resource_Calculation_Rate_Title_Collection\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Tax/Model/Calculation/Rate.php - - message: "#^Method Mage_Tax_Model_Config_Notification\\:\\:_getConfig\\(\\) should return Mage_Core_Model_Config_Data but returns bool\\|Mage_Core_Model_Abstract\\.$#" + message: '#^Method Mage_Tax_Model_Config_Notification\:\:_getConfig\(\) should return Mage_Core_Model_Config_Data but returns bool\|Mage_Core_Model_Abstract\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Tax/Model/Config/Notification.php - - message: "#^Call to an undefined static method Mage_Core_Model_Config_Data\\:\\:afterSave\\(\\)\\.$#" + message: '#^Call to an undefined static method Mage_Core_Model_Config_Data\:\:afterSave\(\)\.$#' + identifier: staticMethod.notFound count: 1 path: app/code/core/Mage/Tax/Model/Config/Price/Include.php - - message: "#^Parameter \\#1 \\$tags of method Mage_Core_Model_App\\:\\:cleanCache\\(\\) expects array, string given\\.$#" + message: '#^Parameter \#1 \$tags of method Mage_Core_Model_App\:\:cleanCache\(\) expects array, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Tax/Model/Config/Price/Include.php - - message: "#^Variable \\$selectClone might not be defined\\.$#" + message: '#^Variable \$selectClone might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/code/core/Mage/Tax/Model/Resource/Calculation.php - - message: "#^Variable \\$zipFrom might not be defined\\.$#" + message: '#^Variable \$zipFrom might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Tax/Model/Resource/Calculation.php - - message: "#^Variable \\$zipTo might not be defined\\.$#" + message: '#^Variable \$zipTo might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Tax/Model/Resource/Calculation.php - - message: "#^Parameter \\#2 \\$resourceModel of method Mage_Core_Model_Resource_Db_Collection_Abstract\\:\\:_init\\(\\) expects Mage_Core_Model_Resource_Db_Abstract\\|null, string given\\.$#" + message: '#^Parameter \#2 \$resourceModel of method Mage_Core_Model_Resource_Db_Collection_Abstract\:\:_init\(\) expects Mage_Core_Model_Resource_Db_Abstract\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Tax/Model/Resource/Calculation/Rate/Title/Collection.php - - message: "#^Parameter \\#1 \\$expression of class Zend_Db_Expr constructor expects string, int given\\.$#" + message: '#^Parameter \#1 \$expression of class Zend_Db_Expr constructor expects string, int given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Tax/Model/Resource/Report/Tax/Createdat.php - - message: "#^Parameter \\#2 \\$rate of method Mage_Tax_Model_Sales_Total_Quote_Shipping\\:\\:_round\\(\\) expects string, float given\\.$#" + message: '#^Parameter \#2 \$rate of method Mage_Tax_Model_Sales_Total_Quote_Shipping\:\:_round\(\) expects string, float given\.$#' + identifier: argument.type count: 4 path: app/code/core/Mage/Tax/Model/Sales/Total/Quote/Shipping.php - - message: "#^Parameter \\#2 \\$rate of method Mage_Tax_Model_Sales_Total_Quote_Subtotal\\:\\:_deltaRound\\(\\) expects string, float given\\.$#" + message: '#^Parameter \#2 \$rate of method Mage_Tax_Model_Sales_Total_Quote_Subtotal\:\:_deltaRound\(\) expects string, float given\.$#' + identifier: argument.type count: 4 path: app/code/core/Mage/Tax/Model/Sales/Total/Quote/Subtotal.php - - message: "#^Parameter \\#4 \\$value of method Mage_Weee_Helper_Data\\:\\:setWeeeTaxesAppliedProperty\\(\\) expects string, \\(array\\|float\\|int\\) given\\.$#" + message: '#^Parameter \#4 \$value of method Mage_Weee_Helper_Data\:\:setWeeeTaxesAppliedProperty\(\) expects string, \(array\|float\|int\) given\.$#' + identifier: argument.type count: 4 path: app/code/core/Mage/Tax/Model/Sales/Total/Quote/Tax.php - - message: "#^Parameter \\#4 \\$value of method Mage_Weee_Helper_Data\\:\\:setWeeeTaxesAppliedProperty\\(\\) expects string, \\(float\\|int\\) given\\.$#" + message: '#^Parameter \#4 \$value of method Mage_Weee_Helper_Data\:\:setWeeeTaxesAppliedProperty\(\) expects string, \(float\|int\) given\.$#' + identifier: argument.type count: 4 path: app/code/core/Mage/Tax/Model/Sales/Total/Quote/Tax.php - - message: "#^Variable \\$baseRowTax might not be defined\\.$#" + message: '#^Variable \$baseRowTax might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/code/core/Mage/Tax/Model/Sales/Total/Quote/Tax.php - - message: "#^Variable \\$baseTax might not be defined\\.$#" + message: '#^Variable \$baseTax might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Tax/Model/Sales/Total/Quote/Tax.php - - message: "#^Variable \\$baseTaxBeforeDiscountRounded might not be defined\\.$#" + message: '#^Variable \$baseTaxBeforeDiscountRounded might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Tax/Model/Sales/Total/Quote/Tax.php - - message: "#^Variable \\$baseUnitTax might not be defined\\.$#" + message: '#^Variable \$baseUnitTax might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Tax/Model/Sales/Total/Quote/Tax.php - - message: "#^Variable \\$rowTax might not be defined\\.$#" + message: '#^Variable \$rowTax might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/code/core/Mage/Tax/Model/Sales/Total/Quote/Tax.php - - message: "#^Variable \\$tax might not be defined\\.$#" + message: '#^Variable \$tax might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Tax/Model/Sales/Total/Quote/Tax.php - - message: "#^Variable \\$taxBeforeDiscountRounded might not be defined\\.$#" + message: '#^Variable \$taxBeforeDiscountRounded might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Tax/Model/Sales/Total/Quote/Tax.php - - message: "#^Variable \\$unitTax might not be defined\\.$#" + message: '#^Variable \$unitTax might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Tax/Model/Sales/Total/Quote/Tax.php - - message: "#^Parameter \\#2 \\$type of class Zend_Measure_Length constructor expects int\\|null, string given\\.$#" + message: '#^Parameter \#2 \$type of class Zend_Measure_Length constructor expects int\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Usa/Helper/Data.php - - message: "#^Parameter \\#2 \\$type of class Zend_Measure_Weight constructor expects int\\|null, string given\\.$#" + message: '#^Parameter \#2 \$type of class Zend_Measure_Weight constructor expects int\|null, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Usa/Helper/Data.php - - message: "#^Property Mage_Shipping_Model_Carrier_Abstract\\:\\:\\$_code \\(string\\) on left side of \\?\\? is not nullable\\.$#" + message: '#^Property Mage_Shipping_Model_Carrier_Abstract\:\:\$_code \(string\) on left side of \?\? is not nullable\.$#' + identifier: nullCoalesce.property count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Abstract.php - - message: "#^Access to an undefined property Mage_Usa_Model_Shipping_Carrier_Dhl\\:\\:\\$_rawTrackRequest\\.$#" + message: '#^Access to an undefined property Mage_Usa_Model_Shipping_Carrier_Dhl\:\:\$_rawTrackRequest\.$#' + identifier: property.notFound count: 2 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php - - message: "#^Parameter \\#3 \\$value of function curl_setopt expects bool, int given\\.$#" + message: '#^Parameter \#3 \$value of function curl_setopt expects bool, int given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php - - message: "#^Property Mage_Usa_Model_Shipping_Carrier_Dhl\\:\\:\\$_request \\(Mage_Shipping_Model_Rate_Request\\|null\\) does not accept Varien_Object\\.$#" + message: '#^Property Mage_Usa_Model_Shipping_Carrier_Dhl\:\:\$_request \(Mage_Shipping_Model_Rate_Request\|null\) does not accept Varien_Object\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php - - message: "#^Property Mage_Usa_Model_Shipping_Carrier_Dhl\\:\\:\\$_result \\(Mage_Shipping_Model_Rate_Result\\|null\\) does not accept Mage_Shipping_Model_Tracking_Result\\.$#" + message: '#^Property Mage_Usa_Model_Shipping_Carrier_Dhl\:\:\$_result \(Mage_Shipping_Model_Rate_Result\|null\) does not accept Mage_Shipping_Model_Tracking_Result\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php - - message: "#^Variable \\$shipKey might not be defined\\.$#" + message: '#^Variable \$shipKey might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php - - message: "#^Variable \\$shippingLabelContent might not be defined\\.$#" + message: '#^Variable \$shippingLabelContent might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php - - message: "#^Variable \\$specialServices might not be defined\\.$#" + message: '#^Variable \$specialServices might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php - - message: "#^Variable \\$trackingNumber might not be defined\\.$#" + message: '#^Variable \$trackingNumber might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php - - message: "#^Variable \\$xml might not be defined\\.$#" + message: '#^Variable \$xml might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php - - message: "#^Parameter \\#1 \\$shippingDays of method Mage_Usa_Model_Shipping_Carrier_Dhl_Abstract\\:\\:_determineShippingDay\\(\\) expects array, string\\|false given\\.$#" + message: '#^Parameter \#1 \$shippingDays of method Mage_Usa_Model_Shipping_Carrier_Dhl_Abstract\:\:_determineShippingDay\(\) expects array, string\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Abstract.php - - message: "#^Parameter \\#2 \\$str of function explode expects string, array given\\.$#" + message: '#^Parameter \#2 \$str of function explode expects string, array given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Abstract.php - - message: "#^Access to an undefined property Varien_Object\\:\\:\\$domestic\\.$#" + message: '#^Access to an undefined property Varien_Object\:\:\$domestic\.$#' + identifier: property.notFound count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php - - message: "#^Access to an undefined property Varien_Object\\:\\:\\$name\\.$#" + message: '#^Access to an undefined property Varien_Object\:\:\$name\.$#' + identifier: property.notFound count: 4 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php - - message: "#^Access to an undefined property Varien_Object\\:\\:\\$region\\.$#" + message: '#^Access to an undefined property Varien_Object\:\:\$region\.$#' + identifier: property.notFound count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php - - message: "#^Comparison operation \"\\<\" between \\(array\\|float\\|int\\) and float results in an error\\.$#" + message: '#^Comparison operation "\<" between \(array\|float\|int\) and float results in an error\.$#' + identifier: smaller.invalid count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php - - message: "#^Comparison operation \"\\>\" between \\(array\\|float\\|int\\) and float results in an error\\.$#" + message: '#^Comparison operation "\>" between \(array\|float\|int\) and float results in an error\.$#' + identifier: greater.invalid count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php - - message: "#^Parameter \\#1 \\$array_arg of function sort contains unresolvable type\\.$#" + message: '#^Parameter \#1 \$array_arg of function sort contains unresolvable type\.$#' + identifier: argument.unresolvableType count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php - - message: "#^Call to an undefined method Zend_Pdf_Page\\:\\:drawLines\\(\\)\\.$#" + message: '#^Call to an undefined method Zend_Pdf_Page\:\:drawLines\(\)\.$#' + identifier: method.notFound count: 5 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/PageBuilder.php - - message: "#^Call to an undefined method Zend_Pdf_Page\\:\\:getTextWidth\\(\\)\\.$#" + message: '#^Call to an undefined method Zend_Pdf_Page\:\:getTextWidth\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/PageBuilder.php - - message: "#^Method Zend_Pdf_Canvas_Abstract\\:\\:drawText\\(\\) invoked with 5 parameters, 3\\-4 required\\.$#" + message: '#^Method Zend_Pdf_Canvas_Abstract\:\:drawText\(\) invoked with 5 parameters, 3\-4 required\.$#' + identifier: arguments.count count: 3 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/PageBuilder.php - - message: "#^Parameter \\#1 \\$pt of method Mage_Usa_Model_Shipping_Carrier_Dhl_Label_Pdf_PageBuilder\\:\\:_x\\(\\) expects int, float given\\.$#" + message: '#^Parameter \#1 \$pt of method Mage_Usa_Model_Shipping_Carrier_Dhl_Label_Pdf_PageBuilder\:\:_x\(\) expects int, float given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/PageBuilder.php - - message: "#^Parameter \\#1 \\$pt of method Mage_Usa_Model_Shipping_Carrier_Dhl_Label_Pdf_PageBuilder\\:\\:_y\\(\\) expects int, float given\\.$#" + message: '#^Parameter \#1 \$pt of method Mage_Usa_Model_Shipping_Carrier_Dhl_Label_Pdf_PageBuilder\:\:_y\(\) expects int, float given\.$#' + identifier: argument.type count: 8 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/PageBuilder.php - - message: "#^Parameter \\#1 \\$string of function strlen expects string, bool given\\.$#" + message: '#^Parameter \#1 \$string of function strlen expects string, bool given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/PageBuilder.php - - message: "#^Access to an undefined property Mage_Usa_Model_Shipping_Carrier_Fedex\\:\\:\\$_defaultGatewayUrl\\.$#" + message: '#^Access to an undefined property Mage_Usa_Model_Shipping_Carrier_Fedex\:\:\$_defaultGatewayUrl\.$#' + identifier: property.notFound count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php - - message: "#^Access to an undefined property Mage_Usa_Model_Shipping_Carrier_Fedex\\:\\:\\$_rawTrackingRequest\\.$#" + message: '#^Access to an undefined property Mage_Usa_Model_Shipping_Carrier_Fedex\:\:\$_rawTrackingRequest\.$#' + identifier: property.notFound count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php - - message: "#^Method Mage_Usa_Model_Shipping_Carrier_Fedex\\:\\:_getQuotes\\(\\) should return Mage_Shipping_Model_Rate_Result but returns true\\.$#" + message: '#^Method Mage_Usa_Model_Shipping_Carrier_Fedex\:\:_getQuotes\(\) should return Mage_Shipping_Model_Rate_Result but returns true\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php - - message: "#^Method Mage_Usa_Model_Shipping_Carrier_Fedex\\:\\:_getRateAmountOriginBased\\(\\) should return float\\|null but returns string\\|null\\.$#" + message: '#^Method Mage_Usa_Model_Shipping_Carrier_Fedex\:\:_getRateAmountOriginBased\(\) should return float\|null but returns string\|null\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php - - message: "#^Parameter \\#3 \\$value of function curl_setopt expects bool, int given\\.$#" + message: '#^Parameter \#3 \$value of function curl_setopt expects bool, int given\.$#' + identifier: argument.type count: 2 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php - - message: "#^Property Mage_Usa_Model_Shipping_Carrier_Fedex\\:\\:\\$_result \\(Mage_Shipping_Model_Rate_Result\\|null\\) does not accept Mage_Shipping_Model_Tracking_Result\\.$#" + message: '#^Property Mage_Usa_Model_Shipping_Carrier_Fedex\:\:\$_result \(Mage_Shipping_Model_Rate_Result\|null\) does not accept Mage_Shipping_Model_Tracking_Result\.$#' + identifier: assign.propertyType count: 2 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php - - message: "#^Variable \\$errorTitle might not be defined\\.$#" + message: '#^Variable \$errorTitle might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php - - message: "#^Parameter \\#1 \\$error of method Mage_Shipping_Model_Rate_Result\\:\\:setError\\(\\) expects bool, string given\\.$#" + message: '#^Parameter \#1 \$error of method Mage_Shipping_Model_Rate_Result\:\:setError\(\) expects bool, string given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php - - message: "#^Parameter \\#1 \\$string of function strlen expects string, array\\|false given\\.$#" + message: '#^Parameter \#1 \$string of function strlen expects string, array\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php - - message: "#^Parameter \\#2 \\$value of method SimpleXMLElement\\:\\:addChild\\(\\) expects string\\|null, \\(float\\|false\\) given\\.$#" + message: '#^Parameter \#2 \$value of method SimpleXMLElement\:\:addChild\(\) expects string\|null, \(float\|false\) given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php - - message: "#^Parameter \\#3 \\$value of function curl_setopt expects bool, int given\\.$#" + message: '#^Parameter \#3 \$value of function curl_setopt expects bool, int given\.$#' + identifier: argument.type count: 18 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php - - message: "#^Property Mage_Usa_Model_Shipping_Carrier_Ups\\:\\:\\$_baseCurrencyRate \\(float\\) does not accept string\\.$#" + message: '#^Property Mage_Usa_Model_Shipping_Carrier_Ups\:\:\$_baseCurrencyRate \(float\) does not accept string\.$#' + identifier: assign.propertyType count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php - - message: "#^Variable \\$debugData might not be defined\\.$#" + message: '#^Variable \$debugData might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php - - message: "#^Variable \\$response might not be defined\\.$#" + message: '#^Variable \$response might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php - - message: "#^Parameter \\#1 \\$code of function curl_strerror expects int, \\(resource\\|false\\) given\\.$#" + message: '#^Parameter \#1 \$code of function curl_strerror expects int, \(resource\|false\) given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/UpsAuth.php - - message: "#^Parameter \\#3 \\$value of function curl_setopt expects bool, int given\\.$#" + message: '#^Parameter \#3 \$value of function curl_setopt expects bool, int given\.$#' + identifier: argument.type count: 3 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/UpsAuth.php - - message: "#^Parameter \\#2 \\$serviceType of method Mage_Usa_Model_Shipping_Carrier_Usps\\:\\:_formUsSignatureConfirmationShipmentRequest\\(\\) expects string, array\\|bool given\\.$#" + message: '#^Parameter \#2 \$serviceType of method Mage_Usa_Model_Shipping_Carrier_Usps\:\:_formUsSignatureConfirmationShipmentRequest\(\) expects string, array\|bool given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Usps.php - - message: "#^Call to an undefined method Mage_Core_Helper_Abstract\\:\\:priceIncludesTax\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Core_Helper_Abstract\:\:priceIncludesTax\(\)\.$#' + identifier: method.notFound count: 1 path: app/code/core/Mage/Weee/Helper/Data.php - - message: "#^Method Mage_Weee_Helper_Data\\:\\:getOriginalAmount\\(\\) should return int but returns float\\.$#" + message: '#^Method Mage_Weee_Helper_Data\:\:getOriginalAmount\(\) should return int but returns float\.$#' + identifier: return.type count: 1 path: app/code/core/Mage/Weee/Helper/Data.php - - message: "#^Parameter \\#1 \\$item of method Mage_Weee_Helper_Data\\:\\:getApplied\\(\\) expects Mage_Sales_Model_Quote_Item_Abstract, Mage_Core_Model_Abstract given\\.$#" + message: '#^Parameter \#1 \$item of method Mage_Weee_Helper_Data\:\:getApplied\(\) expects Mage_Sales_Model_Quote_Item_Abstract, Mage_Core_Model_Abstract given\.$#' + identifier: argument.type count: 9 path: app/code/core/Mage/Weee/Helper/Data.php - - message: "#^Parameter \\#2 \\$shipping of method Mage_Weee_Model_Tax\\:\\:getProductWeeeAttributes\\(\\) expects Mage_Sales_Model_Quote_Address\\|null, Varien_Object\\|false\\|null given\\.$#" + message: '#^Parameter \#2 \$shipping of method Mage_Weee_Model_Tax\:\:getProductWeeeAttributes\(\) expects Mage_Sales_Model_Quote_Address\|null, Varien_Object\|false\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Weee/Helper/Data.php - - message: "#^Parameter \\#3 \\$billing of method Mage_Weee_Model_Tax\\:\\:getProductWeeeAttributes\\(\\) expects Mage_Sales_Model_Quote_Address\\|null, Varien_Object\\|false\\|null given\\.$#" + message: '#^Parameter \#3 \$billing of method Mage_Weee_Model_Tax\:\:getProductWeeeAttributes\(\) expects Mage_Sales_Model_Quote_Address\|null, Varien_Object\|false\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Weee/Helper/Data.php - - message: "#^Parameter \\#1 \\$product of method Mage_Weee_Model_Resource_Attribute_Backend_Weee_Tax\\:\\:deleteProductData\\(\\) expects Mage_Catalog_Model_Product, Varien_Object given\\.$#" + message: '#^Parameter \#1 \$product of method Mage_Weee_Model_Resource_Attribute_Backend_Weee_Tax\:\:deleteProductData\(\) expects Mage_Catalog_Model_Product, Varien_Object given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Weee/Model/Attribute/Backend/Weee/Tax.php - - message: "#^Parameter \\#1 \\$renderer of method Varien_Data_Form_Element_Abstract\\:\\:setRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\\|false given\\.$#" + message: '#^Parameter \#1 \$renderer of method Varien_Data_Form_Element_Abstract\:\:setRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract\|false given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Weee/Model/Observer.php - - message: "#^Call to an undefined method Mage_Eav_Model_Entity_Attribute_Abstract\\:\\:isScopeGlobal\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Eav_Model_Entity_Attribute_Abstract\:\:isScopeGlobal\(\)\.$#' + identifier: method.notFound count: 2 path: app/code/core/Mage/Weee/Model/Resource/Attribute/Backend/Weee/Tax.php - - message: "#^Right side of && is always true\\.$#" + message: '#^Right side of && is always true\.$#' + identifier: booleanAnd.rightAlwaysTrue count: 1 path: app/code/core/Mage/Weee/Model/Resource/Tax.php - - message: "#^Binary operation \"\\*\" between non\\-falsy\\-string and int\\\\|int\\<1, max\\> results in an error\\.$#" + message: '#^Binary operation "\*" between non\-falsy\-string and int\\|int\<1, max\> results in an error\.$#' + identifier: binaryOp.invalid count: 1 path: app/code/core/Mage/Weee/Model/Tax.php - - message: "#^Binary operation \"\\-\" between non\\-falsy\\-string and \\(float\\|int\\) results in an error\\.$#" + message: '#^Binary operation "\-" between non\-falsy\-string and \(float\|int\) results in an error\.$#' + identifier: binaryOp.invalid count: 1 path: app/code/core/Mage/Weee/Model/Tax.php - - message: "#^Method Mage_Core_Model_Abstract\\:\\:_init\\(\\) invoked with 2 parameters, 1 required\\.$#" + message: '#^Method Mage_Core_Model_Abstract\:\:_init\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count count: 1 path: app/code/core/Mage/Weee/Model/Tax.php - - message: "#^Parameter \\#2 \\$shipping of method Mage_Weee_Model_Tax\\:\\:getProductWeeeAttributes\\(\\) expects Mage_Sales_Model_Quote_Address\\|null, Mage_Customer_Model_Address_Abstract\\|null given\\.$#" + message: '#^Parameter \#2 \$shipping of method Mage_Weee_Model_Tax\:\:getProductWeeeAttributes\(\) expects Mage_Sales_Model_Quote_Address\|null, Mage_Customer_Model_Address_Abstract\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Weee/Model/Tax.php - - message: "#^Parameter \\#3 \\$billing of method Mage_Weee_Model_Tax\\:\\:getProductWeeeAttributes\\(\\) expects Mage_Sales_Model_Quote_Address\\|null, Mage_Customer_Model_Address_Abstract\\|null given\\.$#" + message: '#^Parameter \#3 \$billing of method Mage_Weee_Model_Tax\:\:getProductWeeeAttributes\(\) expects Mage_Sales_Model_Quote_Address\|null, Mage_Customer_Model_Address_Abstract\|null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Weee/Model/Tax.php - - message: "#^Parameter \\#1 \\$item of method Mage_Weee_Helper_Data\\:\\:getApplied\\(\\) expects Mage_Sales_Model_Quote_Item_Abstract, Mage_Sales_Model_Order_Creditmemo_Item given\\.$#" + message: '#^Parameter \#1 \$item of method Mage_Weee_Helper_Data\:\:getApplied\(\) expects Mage_Sales_Model_Quote_Item_Abstract, Mage_Sales_Model_Order_Creditmemo_Item given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Weee/Model/Total/Creditmemo/Weee.php - - message: "#^Parameter \\#1 \\$item of method Mage_Weee_Helper_Data\\:\\:setApplied\\(\\) expects Mage_Sales_Model_Quote_Item_Abstract, Mage_Sales_Model_Order_Creditmemo_Item given\\.$#" + message: '#^Parameter \#1 \$item of method Mage_Weee_Helper_Data\:\:setApplied\(\) expects Mage_Sales_Model_Quote_Item_Abstract, Mage_Sales_Model_Order_Creditmemo_Item given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Weee/Model/Total/Creditmemo/Weee.php - - message: "#^Parameter \\#1 \\$item of method Mage_Weee_Helper_Data\\:\\:getApplied\\(\\) expects Mage_Sales_Model_Quote_Item_Abstract, Mage_Sales_Model_Order_Invoice_Item given\\.$#" + message: '#^Parameter \#1 \$item of method Mage_Weee_Helper_Data\:\:getApplied\(\) expects Mage_Sales_Model_Quote_Item_Abstract, Mage_Sales_Model_Order_Invoice_Item given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Weee/Model/Total/Invoice/Weee.php - - message: "#^Parameter \\#1 \\$item of method Mage_Weee_Helper_Data\\:\\:setApplied\\(\\) expects Mage_Sales_Model_Quote_Item_Abstract, Mage_Sales_Model_Order_Invoice_Item given\\.$#" + message: '#^Parameter \#1 \$item of method Mage_Weee_Helper_Data\:\:setApplied\(\) expects Mage_Sales_Model_Quote_Item_Abstract, Mage_Sales_Model_Order_Invoice_Item given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Weee/Model/Total/Invoice/Weee.php - - message: "#^PHPDoc type Mage_Weee_Helper_Data of property Mage_Weee_Model_Total_Quote_Weee\\:\\:\\$_helper is not covariant with PHPDoc type Mage_Tax_Helper_Data of overridden property Mage_Tax_Model_Sales_Total_Quote_Tax\\:\\:\\$_helper\\.$#" + message: '#^PHPDoc type Mage_Weee_Helper_Data of property Mage_Weee_Model_Total_Quote_Weee\:\:\$_helper is not covariant with PHPDoc type Mage_Tax_Helper_Data of overridden property Mage_Tax_Model_Sales_Total_Quote_Tax\:\:\$_helper\.$#' + identifier: property.phpDocType count: 1 path: app/code/core/Mage/Weee/Model/Total/Quote/Weee.php - - message: "#^Method Mage_Widget_Block_Adminhtml_Widget_Chooser\\:\\:getConfig\\(\\) should return Varien_Object but returns mixed\\.$#" + message: '#^Method Mage_Widget_Block_Adminhtml_Widget_Chooser\:\:getConfig\(\) should return Varien_Object but returns mixed\.$#' + identifier: return.type count: 2 path: app/code/core/Mage/Widget/Block/Adminhtml/Widget/Chooser.php - - message: "#^Variable \\$options might not be defined\\.$#" + message: '#^Variable \$options might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Widget/Block/Adminhtml/Widget/Form.php - - message: "#^Parameter \\#1 \\$layoutHandles of method Mage_Widget_Block_Adminhtml_Widget_Instance_Edit_Chooser_Layout\\:\\:_collectLayoutHandles\\(\\) expects Mage_Core_Model_Layout_Element, SimpleXMLElement given\\.$#" + message: '#^Parameter \#1 \$layoutHandles of method Mage_Widget_Block_Adminhtml_Widget_Instance_Edit_Chooser_Layout\:\:_collectLayoutHandles\(\) expects Mage_Core_Model_Layout_Element, SimpleXMLElement given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Widget/Block/Adminhtml/Widget/Instance/Edit/Chooser/Layout.php - - message: "#^Variable \\$productsOptions might not be defined\\.$#" + message: '#^Variable \$productsOptions might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Main/Layout.php - - message: "#^Cannot call method toOptionArray\\(\\) on Mage_Core_Model_Abstract\\|false\\.$#" + message: '#^Cannot call method toOptionArray\(\) on Mage_Core_Model_Abstract\|false\.$#' + identifier: method.nonObject count: 1 path: app/code/core/Mage/Widget/Block/Adminhtml/Widget/Options.php - - message: "#^Parameter \\#1 \\$renderer of method Varien_Data_Form_Element_Abstract\\:\\:setRenderer\\(\\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract given\\.$#" + message: '#^Parameter \#1 \$renderer of method Varien_Data_Form_Element_Abstract\:\:setRenderer\(\) expects Varien_Data_Form_Element_Renderer_Interface, Mage_Core_Block_Abstract given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Widget/Block/Adminhtml/Widget/Options.php - - message: "#^Parameter \\#1 \\$widgetInstance of method Mage_Widget_Model_Resource_Widget_Instance\\:\\:_saveLayoutUpdates\\(\\) expects Mage_Widget_Model_Widget_Instance, Mage_Core_Model_Abstract given\\.$#" + message: '#^Parameter \#1 \$widgetInstance of method Mage_Widget_Model_Resource_Widget_Instance\:\:_saveLayoutUpdates\(\) expects Mage_Widget_Model_Widget_Instance, Mage_Core_Model_Abstract given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Widget/Model/Resource/Widget/Instance.php - - message: "#^Variable \\$template might not be defined\\.$#" + message: '#^Variable \$template might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Widget/Model/Widget/Instance.php - - message: "#^Parameter \\#1 \\$item \\(Mage_Wishlist_Model_Item\\) of method Mage_Wishlist_Block_Share_Email_Items\\:\\:hasDescription\\(\\) should be compatible with parameter \\$item \\(Mage_Catalog_Model_Product\\) of method Mage_Wishlist_Block_Abstract\\:\\:hasDescription\\(\\)$#" + message: '#^Parameter \#1 \$item \(Mage_Wishlist_Model_Item\) of method Mage_Wishlist_Block_Share_Email_Items\:\:hasDescription\(\) should be compatible with parameter \$item \(Mage_Catalog_Model_Product\) of method Mage_Wishlist_Block_Abstract\:\:hasDescription\(\)$#' + identifier: method.childParameterType count: 1 path: app/code/core/Mage/Wishlist/Block/Share/Email/Items.php - - message: "#^Parameter \\#1 \\$item of method Mage_Wishlist_Block_Abstract\\:\\:hasDescription\\(\\) expects Mage_Catalog_Model_Product, Mage_Wishlist_Model_Item given\\.$#" + message: '#^Parameter \#1 \$item of method Mage_Wishlist_Block_Abstract\:\:hasDescription\(\) expects Mage_Catalog_Model_Product, Mage_Wishlist_Model_Item given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Wishlist/Block/Share/Email/Items.php - - message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, Closure\\(mixed\\)\\: int\\<0, max\\> given\\.$#" + message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, Closure\(mixed\)\: int\<0, max\> given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Wishlist/Controller/Abstract.php - - message: "#^Method Mage_Wishlist_Helper_Data\\:\\:getCustomerName\\(\\) should return string\\|null but return statement is missing\\.$#" + message: '#^Method Mage_Wishlist_Helper_Data\:\:getCustomerName\(\) should return string\|null but return statement is missing\.$#' + identifier: return.missing count: 1 path: app/code/core/Mage/Wishlist/Helper/Data.php - - message: "#^Variable \\$params might not be defined\\.$#" + message: '#^Variable \$params might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Wishlist/Helper/Data.php - - message: "#^Parameter \\#1 \\$message of class Mage_Core_Exception constructor expects string, null given\\.$#" + message: '#^Parameter \#1 \$message of class Mage_Core_Exception constructor expects string, null given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Wishlist/Model/Item.php - - message: "#^Parameter \\#1 \\$collection of method Mage_Adminhtml_Helper_Sales\\:\\:applySalableProductTypesFilter\\(\\) expects Mage_Core_Model_Resource_Db_Collection_Abstract, Mage_Catalog_Model_Resource_Product_Collection given\\.$#" + message: '#^Parameter \#1 \$collection of method Mage_Adminhtml_Helper_Sales\:\:applySalableProductTypesFilter\(\) expects Mage_Core_Model_Resource_Db_Collection_Abstract, Mage_Catalog_Model_Resource_Product_Collection given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Wishlist/Model/Resource/Item/Collection.php - - message: "#^Variable \\$item might not be defined\\.$#" + message: '#^Variable \$item might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/code/core/Mage/Wishlist/Model/Wishlist.php - - message: "#^Parameter \\#1 \\$qty of method Mage_Wishlist_Model_Item\\:\\:setQty\\(\\) expects int, float given\\.$#" + message: '#^Parameter \#1 \$qty of method Mage_Wishlist_Model_Item\:\:setQty\(\) expects int, float given\.$#' + identifier: argument.type count: 1 path: app/code/core/Mage/Wishlist/controllers/IndexController.php - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/adminhtml/default/default/template/api/role_users_grid_js.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/adminhtml/default/default/template/api/roles.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 9 path: app/design/adminhtml/default/default/template/api/rolesedit.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/api/rolesusers.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/api/user_roles_grid_js.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 11 path: app/design/adminhtml/default/default/template/api/userinfo.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/adminhtml/default/default/template/api/usernroles.phtml - - message: "#^Variable \\$roles might not be defined\\.$#" + message: '#^Variable \$roles might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/api/userroles.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/api/userroles.phtml - - message: "#^Variable \\$user_roles might not be defined\\.$#" + message: '#^Variable \$user_roles might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/api/userroles.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/adminhtml/default/default/template/api/users.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 11 path: app/design/adminhtml/default/default/template/api2/attribute/resource.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/api2/permissions/user/edit/tab/roles/js.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/adminhtml/default/default/template/api2/role/users_grid_js.phtml - - message: "#^Call to protected method _isSelected\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _isSelected\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 1 path: app/design/adminhtml/default/default/template/bundle/product/composite/fieldset/options/type/checkbox.phtml - - message: "#^Call to protected method _isSelected\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _isSelected\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 1 path: app/design/adminhtml/default/default/template/bundle/product/composite/fieldset/options/type/multi.phtml - - message: "#^Call to protected method _getDefaultValues\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _getDefaultValues\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 1 path: app/design/adminhtml/default/default/template/bundle/product/composite/fieldset/options/type/radio.phtml - - message: "#^Call to protected method _isSelected\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _isSelected\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 1 path: app/design/adminhtml/default/default/template/bundle/product/composite/fieldset/options/type/radio.phtml - - message: "#^Call to protected method _showSingle\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _showSingle\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 1 path: app/design/adminhtml/default/default/template/bundle/product/composite/fieldset/options/type/radio.phtml - - message: "#^Call to protected method _getDefaultValues\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _getDefaultValues\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 1 path: app/design/adminhtml/default/default/template/bundle/product/composite/fieldset/options/type/select.phtml - - message: "#^Call to protected method _isSelected\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _isSelected\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 1 path: app/design/adminhtml/default/default/template/bundle/product/composite/fieldset/options/type/select.phtml - - message: "#^Call to protected method _showSingle\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _showSingle\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 1 path: app/design/adminhtml/default/default/template/bundle/product/composite/fieldset/options/type/select.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 8 path: app/design/adminhtml/default/default/template/bundle/product/edit/bundle.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 34 path: app/design/adminhtml/default/default/template/bundle/product/edit/bundle/option.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 5 path: app/design/adminhtml/default/default/template/bundle/product/edit/bundle/option/search.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/captcha/zend.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 12 path: app/design/adminhtml/default/default/template/catalog/category/checkboxes/tree.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 19 path: app/design/adminhtml/default/default/template/catalog/category/widget/tree.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/catalog/product/attribute/new/created.phtml - - message: "#^Call to protected method _getHeader\\(\\) of class Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Main\\.$#" + message: '#^Call to protected method _getHeader\(\) of class Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Main\.$#' + identifier: method.protected count: 1 path: app/design/adminhtml/default/default/template/catalog/product/attribute/set/main.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 5 path: app/design/adminhtml/default/default/template/catalog/product/attribute/set/toolbar/add.phtml - - message: "#^Call to protected method _getHeader\\(\\) of class Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Toolbar_Main\\.$#" + message: '#^Call to protected method _getHeader\(\) of class Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Toolbar_Main\.$#' + identifier: method.protected count: 1 path: app/design/adminhtml/default/default/template/catalog/product/attribute/set/toolbar/main.phtml - - message: "#^Access to an undefined property Mage_Catalog_Model_Product_Option\\:\\:\\$decoratedIsLast\\.$#" + message: '#^Access to an undefined property Mage_Catalog_Model_Product_Option\:\:\$decoratedIsLast\.$#' + identifier: property.notFound count: 1 path: app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/options/type/date.phtml - - message: "#^Access to an undefined property Mage_Catalog_Model_Product_Option\\:\\:\\$decoratedIsLast\\.$#" + message: '#^Access to an undefined property Mage_Catalog_Model_Product_Option\:\:\$decoratedIsLast\.$#' + identifier: property.notFound count: 1 path: app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/options/type/file.phtml - - message: "#^Access to an undefined property Mage_Catalog_Model_Product_Option\\:\\:\\$decoratedIsLast\\.$#" + message: '#^Access to an undefined property Mage_Catalog_Model_Product_Option\:\:\$decoratedIsLast\.$#' + identifier: property.notFound count: 1 path: app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/options/type/select.phtml - - message: "#^Access to an undefined property Mage_Catalog_Model_Product_Option\\:\\:\\$decoratedIsLast\\.$#" + message: '#^Access to an undefined property Mage_Catalog_Model_Product_Option\:\:\$decoratedIsLast\.$#' + identifier: property.notFound count: 1 path: app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/options/type/text.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/adminhtml/default/default/template/catalog/product/created.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/adminhtml/default/default/template/catalog/product/edit/action/attribute.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 30 path: app/design/adminhtml/default/default/template/catalog/product/edit/action/inventory.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 14 path: app/design/adminhtml/default/default/template/catalog/product/edit/action/websites.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/adminhtml/default/default/template/catalog/product/edit/serializer.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 40 path: app/design/adminhtml/default/default/template/catalog/product/edit/super/config.phtml - - message: "#^Parameter \\#2 \\$store of method Mage_Core_Helper_Data\\:\\:currencyByStore\\(\\) expects int\\|Mage_Core_Model_Store\\|null, true given\\.$#" + message: '#^Parameter \#2 \$store of method Mage_Core_Helper_Data\:\:currencyByStore\(\) expects int\|Mage_Core_Model_Store\|null, true given\.$#' + identifier: argument.type count: 1 path: app/design/adminhtml/default/default/template/catalog/product/price.phtml - - message: "#^Variable \\$_weeeTaxAttributes might not be defined\\.$#" + message: '#^Variable \$_weeeTaxAttributes might not be defined\.$#' + identifier: variable.undefined count: 9 path: app/design/adminhtml/default/default/template/catalog/product/price.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/catalog/product/tab/alert.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/catalog/wysiwyg/js.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 10 path: app/design/adminhtml/default/default/template/centinel/authentication/complete.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/adminhtml/default/default/template/centinel/authentication/start.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 5 path: app/design/adminhtml/default/default/template/centinel/validation/form.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/customer/online.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/customer/sales/order/create/address/form/renderer/vat.phtml - - message: "#^Variable \\$addressCollection might not be defined\\.$#" + message: '#^Variable \$addressCollection might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/adminhtml/default/default/template/customer/tab/addresses.phtml - - message: "#^Variable \\$customer might not be defined\\.$#" + message: '#^Variable \$customer might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/customer/tab/addresses.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/dashboard/graph/disabled.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/adminhtml/default/default/template/dashboard/searches.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 13 path: app/design/adminhtml/default/default/template/dashboard/store/switcher.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 58 path: app/design/adminhtml/default/default/template/downloadable/sales/order/creditmemo/create/items/renderer/downloadable.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 54 path: app/design/adminhtml/default/default/template/downloadable/sales/order/creditmemo/view/items/renderer/downloadable.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 56 path: app/design/adminhtml/default/default/template/downloadable/sales/order/invoice/create/items/renderer/downloadable.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 54 path: app/design/adminhtml/default/default/template/downloadable/sales/order/invoice/view/items/renderer/downloadable.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 63 path: app/design/adminhtml/default/default/template/downloadable/sales/order/view/items/renderer/downloadable.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 10 path: app/design/adminhtml/default/default/template/email/order/items.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 10 path: app/design/adminhtml/default/default/template/empty.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 20 path: app/design/adminhtml/default/default/template/giftmessage/form.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/giftmessage/giftoptionsform.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 29 path: app/design/adminhtml/default/default/template/giftmessage/helper.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/giftmessage/popup.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/giftmessage/sales/order/create/giftoptions.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/adminhtml/default/default/template/giftmessage/sales/order/create/items.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/giftmessage/sales/order/view/giftoptions.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 18 path: app/design/adminhtml/default/default/template/giftmessage/sales/order/view/items.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/adminhtml/default/default/template/importexport/busy.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/adminhtml/default/default/template/importexport/export/form/after.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/importexport/export/form/before.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/importexport/import/form/after.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/importexport/import/form/before.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/importexport/import/frame/result.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 11 path: app/design/adminhtml/default/default/template/overlay_popup.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 12 path: app/design/adminhtml/default/default/template/paygate/form/cc.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 7 path: app/design/adminhtml/default/default/template/paygate/info/cc.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 5 path: app/design/adminhtml/default/default/template/paygate/info/pdf.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/adminhtml/default/default/template/payment/form/banktransfer.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 19 path: app/design/adminhtml/default/default/template/payment/form/cc.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 20 path: app/design/adminhtml/default/default/template/payment/form/ccsave.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 7 path: app/design/adminhtml/default/default/template/payment/form/checkmo.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/payment/form/purchaseorder.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 9 path: app/design/adminhtml/default/default/template/payment/info/checkmo.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 9 path: app/design/adminhtml/default/default/template/payment/info/pdf/checkmo.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/payment/info/pdf/purchaseorder.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/adminhtml/default/default/template/payment/info/purchaseorder.phtml - - message: "#^Call to an undefined method Mage_Core_Block_Abstract\\:\\:_getUsers\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Core_Block_Abstract\:\:_getUsers\(\)\.$#' + identifier: method.notFound count: 1 path: app/design/adminhtml/default/default/template/permissions/role_users_grid_js.phtml - - message: "#^Call to protected method _getGridHtml\\(\\) of class Mage_Adminhtml_Block_Permissions_Tab_Rolesusers\\.$#" + message: '#^Call to protected method _getGridHtml\(\) of class Mage_Adminhtml_Block_Permissions_Tab_Rolesusers\.$#' + identifier: method.protected count: 1 path: app/design/adminhtml/default/default/template/permissions/rolesusers.phtml - - message: "#^Call to an undefined method Mage_Core_Block_Abstract\\:\\:_getSelectedRoles\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Core_Block_Abstract\:\:_getSelectedRoles\(\)\.$#' + identifier: method.notFound count: 1 path: app/design/adminhtml/default/default/template/permissions/user_roles_grid_js.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 11 path: app/design/adminhtml/default/default/template/permissions/userinfo.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/adminhtml/default/default/template/permissions/usernroles.phtml - - message: "#^Variable \\$roles might not be defined\\.$#" + message: '#^Variable \$roles might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/permissions/userroles.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/permissions/userroles.phtml - - message: "#^Variable \\$user_roles might not be defined\\.$#" + message: '#^Variable \$user_roles might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/permissions/userroles.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/adminhtml/default/default/template/permissions/users.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 17 path: app/design/adminhtml/default/default/template/popup.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/adminhtml/default/default/template/promo/form.phtml - - message: "#^Variable \\$options might not be defined\\.$#" + message: '#^Variable \$options might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/rating/options.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/adminhtml/default/default/template/rating/stars/detailed.phtml - - message: "#^Comparison operation \"\\>\" between int\\<1, max\\> and 0 is always true\\.$#" + message: '#^Comparison operation "\>" between int\<1, max\> and 0 is always true\.$#' + identifier: greater.alwaysTrue count: 1 path: app/design/adminhtml/default/default/template/report/grid.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 76 path: app/design/adminhtml/default/default/template/report/grid.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 7 path: app/design/adminhtml/default/default/template/report/wishlist.phtml - - message: "#^Variable \\$minAdminPasswordLength might not be defined\\.$#" + message: '#^Variable \$minAdminPasswordLength might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/resetforgottenpassword.phtml - - message: "#^Variable \\$resetPasswordLinkToken might not be defined\\.$#" + message: '#^Variable \$resetPasswordLinkToken might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/resetforgottenpassword.phtml - - message: "#^Variable \\$userId might not be defined\\.$#" + message: '#^Variable \$userId might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/resetforgottenpassword.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 5 path: app/design/adminhtml/default/default/template/review/add.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/adminhtml/default/default/template/sales/billing/agreement/form.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 14 path: app/design/adminhtml/default/default/template/sales/billing/agreement/view/tab/info.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/sales/items/column/qty.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 11 path: app/design/adminhtml/default/default/template/sales/items/renderer/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/sales/order/address/form.phtml - - message: "#^Method Mage_Adminhtml_Block_Sales_Order_Create_Abstract\\:\\:formatPrice\\(\\) invoked with 3 parameters, 1 required\\.$#" + message: '#^Method Mage_Adminhtml_Block_Sales_Order_Create_Abstract\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + identifier: arguments.count count: 18 path: app/design/adminhtml/default/default/template/sales/order/create/items/grid.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 16 path: app/design/adminhtml/default/default/template/sales/order/create/totals/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/adminhtml/default/default/template/sales/order/shipment/create/items/renderer/configurable.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/adminhtml/default/default/template/sales/order/shipment/create/items/renderer/default.phtml - - message: "#^Unreachable statement \\- code above always terminates\\.$#" + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable count: 1 path: app/design/adminhtml/default/default/template/sales/order/shipment/packaging/grid.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 5 path: app/design/adminhtml/default/default/template/sales/order/shipment/packaging/grid.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 19 path: app/design/adminhtml/default/default/template/sales/order/shipment/tracking/info.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 5 path: app/design/adminhtml/default/default/template/sales/order/totals/discount.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/sales/order/totals/due.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/sales/order/totals/footer.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 5 path: app/design/adminhtml/default/default/template/sales/order/totals/grand.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 12 path: app/design/adminhtml/default/default/template/sales/order/totals/item.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/sales/order/totals/main.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/sales/order/totals/paid.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/sales/order/totals/refunded.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/adminhtml/default/default/template/sales/order/totals/shipping.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 9 path: app/design/adminhtml/default/default/template/sales/order/totals/subtotal.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 5 path: app/design/adminhtml/default/default/template/sales/order/view/tracking.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 24 path: app/design/adminhtml/default/default/template/sales/transactions/detail.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/store/switcher/form/renderer/fieldset.phtml - - message: "#^Variable \\$items might not be defined\\.$#" + message: '#^Variable \$items might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/system/autocomplete.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/default/template/system/autocomplete.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 10 path: app/design/adminhtml/default/default/template/system/cache/edit.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 16 path: app/design/adminhtml/default/default/template/system/config/form/field/array.phtml - - message: "#^Unreachable statement \\- code above always terminates\\.$#" + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable count: 1 path: app/design/adminhtml/default/default/template/system/config/switcher.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 26 path: app/design/adminhtml/default/default/template/system/convert/profile/process.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/system/info.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/adminhtml/default/default/template/system/store/cell.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/adminhtml/default/default/template/system/store/container.phtml - - message: "#^Negated boolean expression is always true\\.$#" + message: '#^Negated boolean expression is always true\.$#' + identifier: booleanNot.alwaysTrue count: 2 path: app/design/adminhtml/default/default/template/system/store/tree.phtml - - message: "#^Unreachable statement \\- code above always terminates\\.$#" + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable count: 2 path: app/design/adminhtml/default/default/template/system/store/tree.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 7 path: app/design/adminhtml/default/default/template/tax/class/page/edit.phtml - - message: "#^Variable \\$createUrl might not be defined\\.$#" + message: '#^Variable \$createUrl might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/tax/toolbar/class/add.phtml - - message: "#^Variable \\$header might not be defined\\.$#" + message: '#^Variable \$header might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/tax/toolbar/class/add.phtml - - message: "#^Variable \\$form might not be defined\\.$#" + message: '#^Variable \$form might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/tax/toolbar/class/save.phtml - - message: "#^Variable \\$header might not be defined\\.$#" + message: '#^Variable \$header might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/tax/toolbar/class/save.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/adminhtml/default/default/template/tax/toolbar/class/save.phtml - - message: "#^Variable \\$createUrl might not be defined\\.$#" + message: '#^Variable \$createUrl might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/tax/toolbar/rule/add.phtml - - message: "#^Variable \\$header might not be defined\\.$#" + message: '#^Variable \$header might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/tax/toolbar/rule/add.phtml - - message: "#^Variable \\$form might not be defined\\.$#" + message: '#^Variable \$form might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/tax/toolbar/rule/save.phtml - - message: "#^Variable \\$header might not be defined\\.$#" + message: '#^Variable \$header might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/tax/toolbar/rule/save.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/adminhtml/default/default/template/tax/toolbar/rule/save.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 9 path: app/design/adminhtml/default/default/template/weee/renderer/tax.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/adminhtml/default/default/template/widget/breadcrumbs.phtml - - message: "#^Variable \\$element might not be defined\\.$#" + message: '#^Variable \$element might not be defined\.$#' + identifier: variable.undefined count: 62 path: app/design/adminhtml/default/default/template/widget/form/element.phtml - - message: "#^Variable \\$formBlock might not be defined\\.$#" + message: '#^Variable \$formBlock might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/widget/form/element.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 23 path: app/design/adminhtml/default/default/template/widget/form/element/gallery.phtml - - message: "#^Method Mage_Adminhtml_Block_Widget_Grid\\:\\:getEmptyCellColspan\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Adminhtml_Block_Widget_Grid\:\:getEmptyCellColspan\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/design/adminhtml/default/default/template/widget/grid.phtml - - message: "#^Method Mage_Adminhtml_Block_Widget_Grid\\:\\:getMultipleRowColumns\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Adminhtml_Block_Widget_Grid\:\:getMultipleRowColumns\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/design/adminhtml/default/default/template/widget/grid.phtml - - message: "#^Call to an undefined method Mage_Adminhtml_Block_Widget_Grid_Massaction\\:\\:canDisplayContainer\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Adminhtml_Block_Widget_Grid_Massaction\:\:canDisplayContainer\(\)\.$#' + identifier: method.notFound count: 1 path: app/design/adminhtml/default/default/template/widget/grid/massaction.phtml - - message: "#^File ends with a trailing whitespace\\. This may cause problems when running the code in the web browser\\. Remove the closing \\?\\> mark or remove the whitespace\\.$#" + message: '#^File ends with a trailing whitespace\. This may cause problems when running the code in the web browser\. Remove the closing \?\> mark or remove the whitespace\.$#' + identifier: whitespace.fileEnd count: 1 path: app/design/adminhtml/default/default/template/widget/grid/serializer.phtml - - message: "#^Variable \\$id might not be defined\\.$#" + message: '#^Variable \$id might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/adminhtml/default/default/template/widget/tabsleft.phtml - - message: "#^Variable \\$sections might not be defined\\.$#" + message: '#^Variable \$sections might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/default/template/widget/tabsleft.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/adminhtml/default/default/template/widget/view/container.phtml - - message: "#^Variable \\$minAdminPasswordLength might not be defined\\.$#" + message: '#^Variable \$minAdminPasswordLength might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/adminhtml/default/openmage/template/resetforgottenpassword.phtml - - message: "#^Variable \\$resetPasswordLinkToken might not be defined\\.$#" + message: '#^Variable \$resetPasswordLinkToken might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/openmage/template/resetforgottenpassword.phtml - - message: "#^Variable \\$userId might not be defined\\.$#" + message: '#^Variable \$userId might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/adminhtml/default/openmage/template/resetforgottenpassword.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 12 path: app/design/frontend/base/default/template/bundle/catalog/product/list/partof.phtml - - message: "#^Variable \\$_weeeTaxAttributes might not be defined\\.$#" + message: '#^Variable \$_weeeTaxAttributes might not be defined\.$#' + identifier: variable.undefined count: 8 path: app/design/frontend/base/default/template/bundle/catalog/product/price.phtml - - message: "#^Method Mage_Catalog_Block_Product_Abstract\\:\\:getTierPrices\\(\\) invoked with 2 parameters, 0\\-1 required\\.$#" + message: '#^Method Mage_Catalog_Block_Product_Abstract\:\:getTierPrices\(\) invoked with 2 parameters, 0\-1 required\.$#' + identifier: arguments.count count: 1 path: app/design/frontend/base/default/template/bundle/catalog/product/view/option_tierprices.phtml - - message: "#^Variable \\$_weeeTaxAttributes might not be defined\\.$#" + message: '#^Variable \$_weeeTaxAttributes might not be defined\.$#' + identifier: variable.undefined count: 9 path: app/design/frontend/base/default/template/bundle/catalog/product/view/option_tierprices.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/bundle/catalog/product/view/options/notice.phtml - - message: "#^Variable \\$_weeeTaxAttributes might not be defined\\.$#" + message: '#^Variable \$_weeeTaxAttributes might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/base/default/template/bundle/catalog/product/view/price.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 8 path: app/design/frontend/base/default/template/bundle/catalog/product/view/price.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 9 path: app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle.phtml - - message: "#^Call to protected method _isSelected\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _isSelected\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 1 path: app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/checkbox.phtml - - message: "#^Call to protected method _isSelected\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _isSelected\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 1 path: app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/multi.phtml - - message: "#^Call to protected method _getDefaultValues\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _getDefaultValues\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 1 path: app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/radio.phtml - - message: "#^Call to protected method _isSelected\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _isSelected\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 2 path: app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/radio.phtml - - message: "#^Call to protected method _showSingle\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _showSingle\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 1 path: app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/radio.phtml - - message: "#^Call to protected method _getDefaultValues\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _getDefaultValues\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 1 path: app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml - - message: "#^Call to protected method _isSelected\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _isSelected\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 2 path: app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml - - message: "#^Call to protected method _showSingle\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _showSingle\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 1 path: app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml - - message: "#^Unreachable statement \\- code above always terminates\\.$#" + message: '#^Unreachable statement \- code above always terminates\.$#' + identifier: deadCode.unreachable count: 1 path: app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/options.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/options.phtml - - message: "#^Variable \\$_weeeTaxAttributes might not be defined\\.$#" + message: '#^Variable \$_weeeTaxAttributes might not be defined\.$#' + identifier: variable.undefined count: 8 path: app/design/frontend/base/default/template/bundle/rss/catalog/product/price.phtml - - message: "#^Variable \\$_item might not be defined\\.$#" + message: '#^Variable \$_item might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/bundle/sales/order/creditmemo/items/renderer.phtml - - message: "#^Variable \\$_showlastRow might not be defined\\.$#" + message: '#^Variable \$_showlastRow might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/bundle/sales/order/creditmemo/items/renderer.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 177 path: app/design/frontend/base/default/template/bundle/sales/order/creditmemo/items/renderer.phtml - - message: "#^Variable \\$_item might not be defined\\.$#" + message: '#^Variable \$_item might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/bundle/sales/order/invoice/items/renderer.phtml - - message: "#^Variable \\$_showlastRow might not be defined\\.$#" + message: '#^Variable \$_showlastRow might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/bundle/sales/order/invoice/items/renderer.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 173 path: app/design/frontend/base/default/template/bundle/sales/order/invoice/items/renderer.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 17 path: app/design/frontend/base/default/template/callouts/left_col.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 17 path: app/design/frontend/base/default/template/callouts/right_col.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/base/default/template/catalog/category/page.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/frontend/base/default/template/catalog/category/widget/link/link_block.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/frontend/base/default/template/catalog/category/widget/link/link_inline.phtml - - message: "#^Call to method escapeUrl\\(\\) on an unknown class Mage_Catalog_Block_Layer_Filter\\.$#" + message: '#^Call to method escapeUrl\(\) on an unknown class Mage_Catalog_Block_Layer_Filter\.$#' + identifier: class.notFound count: 1 path: app/design/frontend/base/default/template/catalog/layer/filter.phtml - - message: "#^Call to method getItems\\(\\) on an unknown class Mage_Catalog_Block_Layer_Filter\\.$#" + message: '#^Call to method getItems\(\) on an unknown class Mage_Catalog_Block_Layer_Filter\.$#' + identifier: class.notFound count: 1 path: app/design/frontend/base/default/template/catalog/layer/filter.phtml - - message: "#^Call to method shouldDisplayProductCount\\(\\) on an unknown class Mage_Catalog_Block_Layer_Filter\\.$#" + message: '#^Call to method shouldDisplayProductCount\(\) on an unknown class Mage_Catalog_Block_Layer_Filter\.$#' + identifier: class.notFound count: 1 path: app/design/frontend/base/default/template/catalog/layer/filter.phtml - - message: "#^PHPDoc tag @var for variable \\$this contains unknown class Mage_Catalog_Block_Layer_Filter\\.$#" + message: '#^PHPDoc tag @var for variable \$this contains unknown class Mage_Catalog_Block_Layer_Filter\.$#' + identifier: class.notFound count: 1 path: app/design/frontend/base/default/template/catalog/layer/filter.phtml - - message: "#^Parameter \\#2 \\$attribute of method Mage_Catalog_Block_Product_Compare_List\\:\\:getProductAttributeValue\\(\\) expects Mage_Catalog_Model_Resource_Eav_Attribute, Mage_Eav_Model_Entity_Attribute_Abstract given\\.$#" + message: '#^Parameter \#2 \$attribute of method Mage_Catalog_Block_Product_Compare_List\:\:getProductAttributeValue\(\) expects Mage_Catalog_Model_Resource_Eav_Attribute, Mage_Eav_Model_Entity_Attribute_Abstract given\.$#' + identifier: argument.type count: 2 path: app/design/frontend/base/default/template/catalog/product/compare/list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 24 path: app/design/frontend/base/default/template/catalog/product/gallery.phtml - - message: "#^Parameter \\#1 \\$order of method Mage_Catalog_Block_Product_List_Toolbar\\:\\:getOrderUrl\\(\\) expects string, null given\\.$#" + message: '#^Parameter \#1 \$order of method Mage_Catalog_Block_Product_List_Toolbar\:\:getOrderUrl\(\) expects string, null given\.$#' + identifier: argument.type count: 2 path: app/design/frontend/base/default/template/catalog/product/list/toolbar.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 21 path: app/design/frontend/base/default/template/catalog/product/new.phtml - - message: "#^Left side of && is always true\\.$#" + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue count: 1 path: app/design/frontend/base/default/template/catalog/product/price.phtml - - message: "#^Ternary operator condition is always true\\.$#" + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue count: 1 path: app/design/frontend/base/default/template/catalog/product/price.phtml - - message: "#^Call to protected method _isSecure\\(\\) of class Mage_Core_Block_Abstract\\.$#" + message: '#^Call to protected method _isSecure\(\) of class Mage_Core_Block_Abstract\.$#' + identifier: method.protected count: 1 path: app/design/frontend/base/default/template/catalog/product/view.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/catalog/product/view/additional.phtml - - message: "#^Access to an undefined property Mage_Catalog_Model_Product_Option\\:\\:\\$decoratedIsLast\\.$#" + message: '#^Access to an undefined property Mage_Catalog_Model_Product_Option\:\:\$decoratedIsLast\.$#' + identifier: property.notFound count: 1 path: app/design/frontend/base/default/template/catalog/product/view/options/type/date.phtml - - message: "#^Access to an undefined property Mage_Catalog_Model_Product_Option\\:\\:\\$decoratedIsLast\\.$#" + message: '#^Access to an undefined property Mage_Catalog_Model_Product_Option\:\:\$decoratedIsLast\.$#' + identifier: property.notFound count: 1 path: app/design/frontend/base/default/template/catalog/product/view/options/type/file.phtml - - message: "#^Access to an undefined property Mage_Catalog_Model_Product_Option\\:\\:\\$decoratedIsLast\\.$#" + message: '#^Access to an undefined property Mage_Catalog_Model_Product_Option\:\:\$decoratedIsLast\.$#' + identifier: property.notFound count: 1 path: app/design/frontend/base/default/template/catalog/product/view/options/type/select.phtml - - message: "#^Access to an undefined property Mage_Catalog_Model_Product_Option\\:\\:\\$decoratedIsLast\\.$#" + message: '#^Access to an undefined property Mage_Catalog_Model_Product_Option\:\:\$decoratedIsLast\.$#' + identifier: property.notFound count: 1 path: app/design/frontend/base/default/template/catalog/product/view/options/type/text.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/frontend/base/default/template/catalog/product/view/options/wrapper.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/catalog/product/view/options/wrapper/bottom.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/frontend/base/default/template/catalog/product/view/price.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/base/default/template/catalog/product/view/price_clone.phtml - - message: "#^Variable \\$_weeeTaxAttributes might not be defined\\.$#" + message: '#^Variable \$_weeeTaxAttributes might not be defined\.$#' + identifier: variable.undefined count: 9 path: app/design/frontend/base/default/template/catalog/product/view/tierprices.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/frontend/base/default/template/catalog/product/view/type/options/configurable.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/frontend/base/default/template/catalog/product/widget/link/link_block.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/frontend/base/default/template/catalog/product/widget/link/link_inline.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 13 path: app/design/frontend/base/default/template/catalog/product/widget/new/column/new_default_list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 7 path: app/design/frontend/base/default/template/catalog/product/widget/new/column/new_images_list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/frontend/base/default/template/catalog/product/widget/new/column/new_names_list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 22 path: app/design/frontend/base/default/template/catalog/product/widget/new/content/new_grid.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 21 path: app/design/frontend/base/default/template/catalog/product/widget/new/content/new_list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 8 path: app/design/frontend/base/default/template/centinel/authentication.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 8 path: app/design/frontend/base/default/template/centinel/authentication/complete.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/frontend/base/default/template/centinel/authentication/start.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 10 path: app/design/frontend/base/default/template/centinel/logo.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/frontend/base/default/template/checkout/cart/item/configure/updatecart.phtml - - message: "#^Method Mage_Checkout_Helper_Data\\:\\:formatPrice\\(\\) invoked with 3 parameters, 1 required\\.$#" + message: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + identifier: arguments.count count: 12 path: app/design/frontend/base/default/template/checkout/cart/item/default.phtml - - message: "#^Parameter \\#2 \\$visibility of method Mage_Catalog_Helper_Data\\:\\:canApplyMsrp\\(\\) expects int\\|null, string given\\.$#" + message: '#^Parameter \#2 \$visibility of method Mage_Catalog_Helper_Data\:\:canApplyMsrp\(\) expects int\|null, string given\.$#' + identifier: argument.type count: 1 path: app/design/frontend/base/default/template/checkout/cart/item/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 62 path: app/design/frontend/base/default/template/checkout/cart/item/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 7 path: app/design/frontend/base/default/template/checkout/cart/noItems.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 33 path: app/design/frontend/base/default/template/checkout/cart/render/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 33 path: app/design/frontend/base/default/template/checkout/cart/render/simple.phtml - - message: "#^Method Mage_Checkout_Helper_Data\\:\\:formatPrice\\(\\) invoked with 3 parameters, 1 required\\.$#" + message: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + identifier: arguments.count count: 6 path: app/design/frontend/base/default/template/checkout/cart/sidebar/default.phtml - - message: "#^Parameter \\#2 \\$visibility of method Mage_Catalog_Helper_Data\\:\\:canApplyMsrp\\(\\) expects int\\|null, string given\\.$#" + message: '#^Parameter \#2 \$visibility of method Mage_Catalog_Helper_Data\:\:canApplyMsrp\(\) expects int\|null, string given\.$#' + identifier: argument.type count: 1 path: app/design/frontend/base/default/template/checkout/cart/sidebar/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 45 path: app/design/frontend/base/default/template/checkout/cart/sidebar/default.phtml - - message: "#^Left side of && is always true\\.$#" + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue count: 1 path: app/design/frontend/base/default/template/checkout/multishipping/address/select.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 16 path: app/design/frontend/base/default/template/checkout/multishipping/address/select.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 9 path: app/design/frontend/base/default/template/checkout/multishipping/billing/items.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 7 path: app/design/frontend/base/default/template/checkout/multishipping/item/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/checkout/multishipping/link.phtml - - message: "#^Parameter \\#1 \\$totals of method Mage_Checkout_Block_Multishipping_Overview\\:\\:renderTotals\\(\\) expects Mage_Sales_Model_Order_Total, array\\ given\\.$#" + message: '#^Parameter \#1 \$totals of method Mage_Checkout_Block_Multishipping_Overview\:\:renderTotals\(\) expects Mage_Sales_Model_Order_Total, array\ given\.$#' + identifier: argument.type count: 1 path: app/design/frontend/base/default/template/checkout/multishipping/overview.phtml - - message: "#^Method Mage_Checkout_Helper_Data\\:\\:formatPrice\\(\\) invoked with 3 parameters, 1 required\\.$#" + message: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + identifier: arguments.count count: 12 path: app/design/frontend/base/default/template/checkout/multishipping/overview/item.phtml - - message: "#^Method Mage_Checkout_Block_Multishipping_Shipping\\:\\:getItemsEditUrl\\(\\) invoked with 1 parameter, 0 required\\.$#" + message: '#^Method Mage_Checkout_Block_Multishipping_Shipping\:\:getItemsEditUrl\(\) invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: app/design/frontend/base/default/template/checkout/multishipping/shipping.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 10 path: app/design/frontend/base/default/template/checkout/multishipping/success.phtml - - message: "#^Cannot call method isEnabled\\(\\) on Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^Cannot call method isEnabled\(\) on Mage_Core_Block_Abstract\|false\.$#' + identifier: method.nonObject count: 5 path: app/design/frontend/base/default/template/checkout/onepage/billing.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 7 path: app/design/frontend/base/default/template/checkout/onepage/failure.phtml - - message: "#^If condition is always true\\.$#" + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue count: 1 path: app/design/frontend/base/default/template/checkout/onepage/login.phtml - - message: "#^Negated boolean expression is always false\\.$#" + message: '#^Negated boolean expression is always false\.$#' + identifier: booleanNot.alwaysFalse count: 1 path: app/design/frontend/base/default/template/checkout/onepage/login.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 40 path: app/design/frontend/base/default/template/checkout/onepage/login.phtml - - message: "#^File ends with a trailing whitespace\\. This may cause problems when running the code in the web browser\\. Remove the closing \\?\\> mark or remove the whitespace\\.$#" + message: '#^File ends with a trailing whitespace\. This may cause problems when running the code in the web browser\. Remove the closing \?\> mark or remove the whitespace\.$#' + identifier: whitespace.fileEnd count: 1 path: app/design/frontend/base/default/template/checkout/onepage/progress/payment.phtml - - message: "#^File ends with a trailing whitespace\\. This may cause problems when running the code in the web browser\\. Remove the closing \\?\\> mark or remove the whitespace\\.$#" + message: '#^File ends with a trailing whitespace\. This may cause problems when running the code in the web browser\. Remove the closing \?\> mark or remove the whitespace\.$#' + identifier: whitespace.fileEnd count: 1 path: app/design/frontend/base/default/template/checkout/onepage/progress/shipping.phtml - - message: "#^If condition is always true\\.$#" + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue count: 1 path: app/design/frontend/base/default/template/checkout/onepage/progress/shipping.phtml - - message: "#^Ternary operator condition is always true\\.$#" + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue count: 1 path: app/design/frontend/base/default/template/checkout/onepage/progress/shipping.phtml - - message: "#^File ends with a trailing whitespace\\. This may cause problems when running the code in the web browser\\. Remove the closing \\?\\> mark or remove the whitespace\\.$#" + message: '#^File ends with a trailing whitespace\. This may cause problems when running the code in the web browser\. Remove the closing \?\> mark or remove the whitespace\.$#' + identifier: whitespace.fileEnd count: 1 path: app/design/frontend/base/default/template/checkout/onepage/progress/shipping_method.phtml - - message: "#^Method Mage_Checkout_Helper_Data\\:\\:formatPrice\\(\\) invoked with 3 parameters, 1 required\\.$#" + message: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + identifier: arguments.count count: 12 path: app/design/frontend/base/default/template/checkout/onepage/review/item.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 15 path: app/design/frontend/base/default/template/checkout/total/default.phtml - - message: "#^Parameter \\#1 \\$amount of method Mage_Checkout_Block_Total_Nominal\\:\\:formatPrice\\(\\) expects float, string given\\.$#" + message: '#^Parameter \#1 \$amount of method Mage_Checkout_Block_Total_Nominal\:\:formatPrice\(\) expects float, string given\.$#' + identifier: argument.type count: 1 path: app/design/frontend/base/default/template/checkout/total/nominal.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 18 path: app/design/frontend/base/default/template/checkout/total/tax.phtml - - message: "#^Variable \\$pageData might not be defined\\.$#" + message: '#^Variable \$pageData might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/cms/content.phtml - - message: "#^Variable \\$pageData might not be defined\\.$#" + message: '#^Variable \$pageData might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/frontend/base/default/template/cms/meta.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/frontend/base/default/template/cms/widget/link/link_block.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/frontend/base/default/template/cms/widget/link/link_inline.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/cms/widget/static_block/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/frontend/base/default/template/core/link.phtml - - message: "#^Variable \\$html might not be defined\\.$#" + message: '#^Variable \$html might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/base/default/template/core/messages.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/core/messages.phtml - - message: "#^Variable \\$types might not be defined\\.$#" + message: '#^Variable \$types might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/core/messages.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/frontend/base/default/template/customer/account/dashboard/newsletter.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 16 path: app/design/frontend/base/default/template/customer/address.phtml - - message: "#^Variable \\$customer might not be defined\\.$#" + message: '#^Variable \$customer might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/customer/balance.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/frontend/base/default/template/customer/balance.phtml - - message: "#^Variable \\$action might not be defined\\.$#" + message: '#^Variable \$action might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/customer/form/address.phtml - - message: "#^Variable \\$address might not be defined\\.$#" + message: '#^Variable \$address might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/base/default/template/customer/form/address.phtml - - message: "#^Variable \\$countries might not be defined\\.$#" + message: '#^Variable \$countries might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/customer/form/address.phtml - - message: "#^Variable \\$data might not be defined\\.$#" + message: '#^Variable \$data might not be defined\.$#' + identifier: variable.undefined count: 12 path: app/design/frontend/base/default/template/customer/form/address.phtml - - message: "#^Variable \\$primaryTypes might not be defined\\.$#" + message: '#^Variable \$primaryTypes might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/customer/form/address.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 51 path: app/design/frontend/base/default/template/customer/form/address.phtml - - message: "#^Variable \\$action might not be defined\\.$#" + message: '#^Variable \$action might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/customer/form/changepassword.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 15 path: app/design/frontend/base/default/template/customer/form/changepassword.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 13 path: app/design/frontend/base/default/template/customer/form/confirmation.phtml - - message: "#^Cannot call method isEnabled\\(\\) on Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^Cannot call method isEnabled\(\) on Mage_Core_Block_Abstract\|false\.$#' + identifier: method.nonObject count: 3 path: app/design/frontend/base/default/template/customer/form/edit.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 16 path: app/design/frontend/base/default/template/customer/form/newsletter.phtml - - message: "#^Cannot call method isEnabled\\(\\) on Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^Cannot call method isEnabled\(\) on Mage_Core_Block_Abstract\|false\.$#' + identifier: method.nonObject count: 3 path: app/design/frontend/base/default/template/customer/form/register.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 10 path: app/design/frontend/base/default/template/customer/form/resetforgottenpassword.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/customer/logout.phtml - - message: "#^Variable \\$orders might not be defined\\.$#" + message: '#^Variable \$orders might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/base/default/template/customer/orders.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 11 path: app/design/frontend/base/default/template/customer/orders.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 11 path: app/design/frontend/base/default/template/customer/widget/gender.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 11 path: app/design/frontend/base/default/template/customer/widget/taxvat.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 13 path: app/design/frontend/base/default/template/customer/wishlist.phtml - - message: "#^Variable \\$wishlist might not be defined\\.$#" + message: '#^Variable \$wishlist might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/base/default/template/customer/wishlist.phtml - - message: "#^Variable \\$currency might not be defined\\.$#" + message: '#^Variable \$currency might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/directory/currency/switch.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/frontend/base/default/template/directory/currency/switch.phtml - - message: "#^Method Mage_Checkout_Helper_Data\\:\\:formatPrice\\(\\) invoked with 3 parameters, 1 required\\.$#" + message: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + identifier: arguments.count count: 12 path: app/design/frontend/base/default/template/downloadable/checkout/cart/item/default.phtml - - message: "#^Parameter \\#2 \\$visibility of method Mage_Catalog_Helper_Data\\:\\:canApplyMsrp\\(\\) expects int\\|null, string given\\.$#" + message: '#^Parameter \#2 \$visibility of method Mage_Catalog_Helper_Data\:\:canApplyMsrp\(\) expects int\|null, string given\.$#' + identifier: argument.type count: 1 path: app/design/frontend/base/default/template/downloadable/checkout/cart/item/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 60 path: app/design/frontend/base/default/template/downloadable/checkout/cart/item/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 11 path: app/design/frontend/base/default/template/downloadable/checkout/multishipping/item/downloadable.phtml - - message: "#^Method Mage_Checkout_Helper_Data\\:\\:formatPrice\\(\\) invoked with 3 parameters, 1 required\\.$#" + message: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + identifier: arguments.count count: 12 path: app/design/frontend/base/default/template/downloadable/checkout/onepage/review/item.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 33 path: app/design/frontend/base/default/template/downloadable/checkout/onepage/review/item.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/base/default/template/downloadable/checkout/success.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 19 path: app/design/frontend/base/default/template/downloadable/email/order/items/creditmemo/downloadable.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 18 path: app/design/frontend/base/default/template/downloadable/email/order/items/invoice/downloadable.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 8 path: app/design/frontend/base/default/template/email/order/creditmemo/items.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 8 path: app/design/frontend/base/default/template/email/order/invoice/items.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 16 path: app/design/frontend/base/default/template/email/order/items/creditmemo/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 16 path: app/design/frontend/base/default/template/email/order/items/invoice/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 8 path: app/design/frontend/base/default/template/email/order/items/shipment/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/frontend/base/default/template/email/order/shipment/items.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/frontend/base/default/template/email/order/shipment/track.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 145 path: app/design/frontend/base/default/template/giftmessage/inline.phtml - - message: "#^Call to protected method _getEnhancedEcommerceDataForAnalytics4\\(\\) of class Mage_GoogleAnalytics_Block_Ga\\.$#" + message: '#^Call to protected method _getEnhancedEcommerceDataForAnalytics4\(\) of class Mage_GoogleAnalytics_Block_Ga\.$#' + identifier: method.protected count: 1 path: app/design/frontend/base/default/template/googleanalytics/ga.phtml - - message: "#^Call to protected method _getPageTrackingCode\\(\\) of class Mage_GoogleAnalytics_Block_Ga\\.$#" + message: '#^Call to protected method _getPageTrackingCode\(\) of class Mage_GoogleAnalytics_Block_Ga\.$#' + identifier: method.protected count: 1 path: app/design/frontend/base/default/template/googleanalytics/ga.phtml - - message: "#^Variable \\$crumbs might not be defined\\.$#" + message: '#^Variable \$crumbs might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/page/html/breadcrumbs.phtml - - message: "#^File ends with a trailing whitespace\\. This may cause problems when running the code in the web browser\\. Remove the closing \\?\\> mark or remove the whitespace\\.$#" + message: '#^File ends with a trailing whitespace\. This may cause problems when running the code in the web browser\. Remove the closing \?\> mark or remove the whitespace\.$#' + identifier: whitespace.fileEnd count: 1 path: app/design/frontend/base/default/template/page/html/cookienotice.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/page/html/top.links.phtml - - message: "#^Variable \\$toplinks might not be defined\\.$#" + message: '#^Variable \$toplinks might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/page/html/top.links.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 5 path: app/design/frontend/base/default/template/page/html/wrapper.phtml - - message: "#^Variable \\$am might not be defined\\.$#" + message: '#^Variable \$am might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/page/js/calendar.phtml - - message: "#^Variable \\$days might not be defined\\.$#" + message: '#^Variable \$days might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/base/default/template/page/js/calendar.phtml - - message: "#^Variable \\$defaultFormat might not be defined\\.$#" + message: '#^Variable \$defaultFormat might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/page/js/calendar.phtml - - message: "#^Variable \\$enUS might not be defined\\.$#" + message: '#^Variable \$enUS might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/page/js/calendar.phtml - - message: "#^Variable \\$firstDay might not be defined\\.$#" + message: '#^Variable \$firstDay might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/page/js/calendar.phtml - - message: "#^Variable \\$months might not be defined\\.$#" + message: '#^Variable \$months might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/base/default/template/page/js/calendar.phtml - - message: "#^Variable \\$pm might not be defined\\.$#" + message: '#^Variable \$pm might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/page/js/calendar.phtml - - message: "#^Variable \\$today might not be defined\\.$#" + message: '#^Variable \$today might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/base/default/template/page/js/calendar.phtml - - message: "#^Variable \\$toolTipFormat might not be defined\\.$#" + message: '#^Variable \$toolTipFormat might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/page/js/calendar.phtml - - message: "#^Variable \\$week might not be defined\\.$#" + message: '#^Variable \$week might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/page/js/calendar.phtml - - message: "#^Variable \\$weekendDays might not be defined\\.$#" + message: '#^Variable \$weekendDays might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/page/js/calendar.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 7 path: app/design/frontend/base/default/template/page/redirect.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 15 path: app/design/frontend/base/default/template/paygate/form/cc.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 7 path: app/design/frontend/base/default/template/paygate/info/cc.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/frontend/base/default/template/payment/form/banktransfer.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 26 path: app/design/frontend/base/default/template/payment/form/cc.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 31 path: app/design/frontend/base/default/template/payment/form/ccsave.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 10 path: app/design/frontend/base/default/template/payment/form/checkmo.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 5 path: app/design/frontend/base/default/template/payment/form/purchaseorder.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 10 path: app/design/frontend/base/default/template/payment/info/checkmo.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 5 path: app/design/frontend/base/default/template/payment/info/purchaseorder.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/base/default/template/paypal/hss/iframe.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/base/default/template/paypal/hss/review/button.phtml - - message: "#^Class Mage_Paypal_Block_Express_Form referenced with incorrect case\\: Mage_PayPal_Block_Express_Form\\.$#" + message: '#^Class Mage_Paypal_Block_Express_Form referenced with incorrect case\: Mage_PayPal_Block_Express_Form\.$#' + identifier: class.nameCase count: 1 path: app/design/frontend/base/default/template/paypal/payment/redirect.phtml - - message: "#^Cannot call method isEnabled\\(\\) on Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^Cannot call method isEnabled\(\) on Mage_Core_Block_Abstract\|false\.$#' + identifier: method.nonObject count: 4 path: app/design/frontend/base/default/template/persistent/checkout/onepage/billing.phtml - - message: "#^If condition is always true\\.$#" + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue count: 1 path: app/design/frontend/base/default/template/persistent/checkout/onepage/login.phtml - - message: "#^Negated boolean expression is always false\\.$#" + message: '#^Negated boolean expression is always false\.$#' + identifier: booleanNot.alwaysFalse count: 1 path: app/design/frontend/base/default/template/persistent/checkout/onepage/login.phtml - - message: "#^Cannot call method isEnabled\\(\\) on Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^Cannot call method isEnabled\(\) on Mage_Core_Block_Abstract\|false\.$#' + identifier: method.nonObject count: 3 path: app/design/frontend/base/default/template/persistent/customer/form/register.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/base/default/template/rating/detailed.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/rating/empty.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 12 path: app/design/frontend/base/default/template/reports/widget/compared/column/compared_default_list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/frontend/base/default/template/reports/widget/compared/column/compared_images_list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/frontend/base/default/template/reports/widget/compared/column/compared_names_list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 21 path: app/design/frontend/base/default/template/reports/widget/compared/content/compared_grid.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 20 path: app/design/frontend/base/default/template/reports/widget/compared/content/compared_list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 17 path: app/design/frontend/base/default/template/review/customer/list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 9 path: app/design/frontend/base/default/template/review/customer/recent.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 34 path: app/design/frontend/base/default/template/review/customer/view.phtml - - message: "#^Variable \\$data might not be defined\\.$#" + message: '#^Variable \$data might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/frontend/base/default/template/review/form.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 30 path: app/design/frontend/base/default/template/review/form.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 11 path: app/design/frontend/base/default/template/review/helper/summary.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 9 path: app/design/frontend/base/default/template/review/helper/summary_short.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/review/product/view/count.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 13 path: app/design/frontend/base/default/template/review/product/view/list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/review/product/view/other.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 29 path: app/design/frontend/base/default/template/review/view.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 8 path: app/design/frontend/base/default/template/rss/list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/base/default/template/sales/guest/form.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 17 path: app/design/frontend/base/default/template/sales/order/creditmemo/items.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 21 path: app/design/frontend/base/default/template/sales/order/details.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 18 path: app/design/frontend/base/default/template/sales/order/history.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 10 path: app/design/frontend/base/default/template/sales/order/info/buttons.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 15 path: app/design/frontend/base/default/template/sales/order/invoice/items.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 18 path: app/design/frontend/base/default/template/sales/order/print.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 22 path: app/design/frontend/base/default/template/sales/order/print/creditmemo.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 20 path: app/design/frontend/base/default/template/sales/order/print/invoice.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 17 path: app/design/frontend/base/default/template/sales/order/recent.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 22 path: app/design/frontend/base/default/template/sales/order/shipment/items.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 23 path: app/design/frontend/base/default/template/sales/order/trackinginfo.phtml - - message: "#^Call to method __\\(\\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\\.$#" + message: '#^Call to method __\(\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\.$#' + identifier: class.notFound count: 6 path: app/design/frontend/base/default/template/sales/reorder/sidebar.phtml - - message: "#^Call to method escapeHtml\\(\\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\\.$#" + message: '#^Call to method escapeHtml\(\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\.$#' + identifier: class.notFound count: 1 path: app/design/frontend/base/default/template/sales/reorder/sidebar.phtml - - message: "#^Call to method getBlockHtml\\(\\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\\.$#" + message: '#^Call to method getBlockHtml\(\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\.$#' + identifier: class.notFound count: 1 path: app/design/frontend/base/default/template/sales/reorder/sidebar.phtml - - message: "#^Call to method getFormActionUrl\\(\\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\\.$#" + message: '#^Call to method getFormActionUrl\(\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\.$#' + identifier: class.notFound count: 1 path: app/design/frontend/base/default/template/sales/reorder/sidebar.phtml - - message: "#^Call to method getItems\\(\\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\\.$#" + message: '#^Call to method getItems\(\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\.$#' + identifier: class.notFound count: 1 path: app/design/frontend/base/default/template/sales/reorder/sidebar.phtml - - message: "#^Call to method getPagerHtml\\(\\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\\.$#" + message: '#^Call to method getPagerHtml\(\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\.$#' + identifier: class.notFound count: 1 path: app/design/frontend/base/default/template/sales/reorder/sidebar.phtml - - message: "#^Call to method getUrl\\(\\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\\.$#" + message: '#^Call to method getUrl\(\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\.$#' + identifier: class.notFound count: 1 path: app/design/frontend/base/default/template/sales/reorder/sidebar.phtml - - message: "#^Call to method isItemAvailableForReorder\\(\\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\\.$#" + message: '#^Call to method isItemAvailableForReorder\(\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\.$#' + identifier: class.notFound count: 1 path: app/design/frontend/base/default/template/sales/reorder/sidebar.phtml - - message: "#^PHPDoc tag @var for variable \\$this contains unknown class Mage_Sale_Block_Reorder_Sidebar\\.$#" + message: '#^PHPDoc tag @var for variable \$this contains unknown class Mage_Sale_Block_Reorder_Sidebar\.$#' + identifier: class.notFound count: 1 path: app/design/frontend/base/default/template/sales/reorder/sidebar.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 22 path: app/design/frontend/base/default/template/tax/order/tax.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/frontend/base/default/template/wishlist/email/rss.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/frontend/base/default/template/wishlist/item/column/remove.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 9 path: app/design/frontend/base/default/template/wishlist/item/configure/addto.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/frontend/base/default/template/wishlist/item/list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 19 path: app/design/frontend/base/default/template/wishlist/sharing.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle/availability.phtml - - message: "#^Call to protected method _getDefaultValues\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _getDefaultValues\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 1 path: app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml - - message: "#^Call to protected method _isSelected\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _isSelected\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 2 path: app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml - - message: "#^Call to protected method _showSingle\\(\\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\\.$#" + message: '#^Call to protected method _showSingle\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + identifier: method.protected count: 1 path: app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml - - message: "#^Cannot call method setFilter\\(\\) on class\\-string\\|object\\.$#" + message: '#^Cannot call method setFilter\(\) on class\-string\|object\.$#' + identifier: method.nonObject count: 1 path: app/design/frontend/rwd/default/template/catalog/layer/state.phtml - - message: "#^Cannot call method toHtml\\(\\) on class\\-string\\|object\\.$#" + message: '#^Cannot call method toHtml\(\) on class\-string\|object\.$#' + identifier: method.nonObject count: 1 path: app/design/frontend/rwd/default/template/catalog/layer/state.phtml - - message: "#^Parameter \\#2 \\$attribute of method Mage_Catalog_Block_Product_Compare_List\\:\\:getProductAttributeValue\\(\\) expects Mage_Catalog_Model_Resource_Eav_Attribute, Mage_Eav_Model_Entity_Attribute_Abstract given\\.$#" + message: '#^Parameter \#2 \$attribute of method Mage_Catalog_Block_Product_Compare_List\:\:getProductAttributeValue\(\) expects Mage_Catalog_Model_Resource_Eav_Attribute, Mage_Eav_Model_Entity_Attribute_Abstract given\.$#' + identifier: argument.type count: 2 path: app/design/frontend/rwd/default/template/catalog/product/compare/list.phtml - - message: "#^Parameter \\#1 \\$order of method Mage_Catalog_Block_Product_List_Toolbar\\:\\:getOrderUrl\\(\\) expects string, null given\\.$#" + message: '#^Parameter \#1 \$order of method Mage_Catalog_Block_Product_List_Toolbar\:\:getOrderUrl\(\) expects string, null given\.$#' + identifier: argument.type count: 2 path: app/design/frontend/rwd/default/template/catalog/product/list/toolbar.phtml - - message: "#^Left side of && is always true\\.$#" + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue count: 1 path: app/design/frontend/rwd/default/template/catalog/product/price.phtml - - message: "#^Ternary operator condition is always true\\.$#" + message: '#^Ternary operator condition is always true\.$#' + identifier: ternary.alwaysTrue count: 1 path: app/design/frontend/rwd/default/template/catalog/product/price.phtml - - message: "#^Call to protected method _isSecure\\(\\) of class Mage_Core_Block_Abstract\\.$#" + message: '#^Call to protected method _isSecure\(\) of class Mage_Core_Block_Abstract\.$#' + identifier: method.protected count: 1 path: app/design/frontend/rwd/default/template/catalog/product/view.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 7 path: app/design/frontend/rwd/default/template/catalog/product/view/type/availability/grouped.phtml - - message: "#^Cannot call method setAttributeObj\\(\\) on class\\-string\\|object\\.$#" + message: '#^Cannot call method setAttributeObj\(\) on class\-string\|object\.$#' + identifier: method.nonObject count: 1 path: app/design/frontend/rwd/default/template/catalog/product/view/type/options/configurable.phtml - - message: "#^Cannot call method setProduct\\(\\) on class\\-string\\|object\\.$#" + message: '#^Cannot call method setProduct\(\) on class\-string\|object\.$#' + identifier: method.nonObject count: 1 path: app/design/frontend/rwd/default/template/catalog/product/view/type/options/configurable.phtml - - message: "#^Cannot call method toHtml\\(\\) on class\\-string\\|object\\.$#" + message: '#^Cannot call method toHtml\(\) on class\-string\|object\.$#' + identifier: method.nonObject count: 1 path: app/design/frontend/rwd/default/template/catalog/product/view/type/options/configurable.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 9 path: app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_default_list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 7 path: app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_images_list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_names_list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 8 path: app/design/frontend/rwd/default/template/catalog/product/widget/new/content/new_list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/frontend/rwd/default/template/centinel/authentication/start.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/frontend/rwd/default/template/checkout/cart/item/configure/updatecart.phtml - - message: "#^Method Mage_Checkout_Helper_Data\\:\\:formatPrice\\(\\) invoked with 3 parameters, 1 required\\.$#" + message: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + identifier: arguments.count count: 12 path: app/design/frontend/rwd/default/template/checkout/cart/item/default.phtml - - message: "#^Parameter \\#2 \\$visibility of method Mage_Catalog_Helper_Data\\:\\:canApplyMsrp\\(\\) expects int\\|null, string given\\.$#" + message: '#^Parameter \#2 \$visibility of method Mage_Catalog_Helper_Data\:\:canApplyMsrp\(\) expects int\|null, string given\.$#' + identifier: argument.type count: 1 path: app/design/frontend/rwd/default/template/checkout/cart/item/default.phtml - - message: "#^Method Mage_Checkout_Helper_Data\\:\\:formatPrice\\(\\) invoked with 3 parameters, 1 required\\.$#" + message: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + identifier: arguments.count count: 6 path: app/design/frontend/rwd/default/template/checkout/cart/minicart/default.phtml - - message: "#^Parameter \\#2 \\$visibility of method Mage_Catalog_Helper_Data\\:\\:canApplyMsrp\\(\\) expects int\\|null, string given\\.$#" + message: '#^Parameter \#2 \$visibility of method Mage_Catalog_Helper_Data\:\:canApplyMsrp\(\) expects int\|null, string given\.$#' + identifier: argument.type count: 1 path: app/design/frontend/rwd/default/template/checkout/cart/minicart/default.phtml - - message: "#^Call to an undefined method Mage_Checkout_Block_Cart_Minicart\\:\\:isPossibleOnepageCheckout\\(\\)\\.$#" + message: '#^Call to an undefined method Mage_Checkout_Block_Cart_Minicart\:\:isPossibleOnepageCheckout\(\)\.$#' + identifier: method.notFound count: 1 path: app/design/frontend/rwd/default/template/checkout/cart/minicart/items.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 33 path: app/design/frontend/rwd/default/template/checkout/cart/render/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 33 path: app/design/frontend/rwd/default/template/checkout/cart/render/simple.phtml - - message: "#^Method Mage_Checkout_Helper_Data\\:\\:formatPrice\\(\\) invoked with 3 parameters, 1 required\\.$#" + message: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + identifier: arguments.count count: 6 path: app/design/frontend/rwd/default/template/checkout/cart/sidebar/default.phtml - - message: "#^Parameter \\#2 \\$visibility of method Mage_Catalog_Helper_Data\\:\\:canApplyMsrp\\(\\) expects int\\|null, string given\\.$#" + message: '#^Parameter \#2 \$visibility of method Mage_Catalog_Helper_Data\:\:canApplyMsrp\(\) expects int\|null, string given\.$#' + identifier: argument.type count: 1 path: app/design/frontend/rwd/default/template/checkout/cart/sidebar/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 45 path: app/design/frontend/rwd/default/template/checkout/cart/sidebar/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 9 path: app/design/frontend/rwd/default/template/checkout/multishipping/item/default.phtml - - message: "#^Parameter \\#1 \\$totals of method Mage_Checkout_Block_Multishipping_Overview\\:\\:renderTotals\\(\\) expects Mage_Sales_Model_Order_Total, array\\ given\\.$#" + message: '#^Parameter \#1 \$totals of method Mage_Checkout_Block_Multishipping_Overview\:\:renderTotals\(\) expects Mage_Sales_Model_Order_Total, array\ given\.$#' + identifier: argument.type count: 1 path: app/design/frontend/rwd/default/template/checkout/multishipping/overview.phtml - - message: "#^Method Mage_Checkout_Helper_Data\\:\\:formatPrice\\(\\) invoked with 3 parameters, 1 required\\.$#" + message: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + identifier: arguments.count count: 12 path: app/design/frontend/rwd/default/template/checkout/multishipping/overview/item.phtml - - message: "#^Method Mage_Checkout_Helper_Data\\:\\:formatPrice\\(\\) invoked with 3 parameters, 1 required\\.$#" + message: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + identifier: arguments.count count: 12 path: app/design/frontend/rwd/default/template/checkout/onepage/review/item.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 14 path: app/design/frontend/rwd/default/template/configurableswatches/catalog/layer/state/swatch.phtml - - message: "#^Variable \\$action might not be defined\\.$#" + message: '#^Variable \$action might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/rwd/default/template/customer/form/address.phtml - - message: "#^Variable \\$address might not be defined\\.$#" + message: '#^Variable \$address might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/rwd/default/template/customer/form/address.phtml - - message: "#^Variable \\$countries might not be defined\\.$#" + message: '#^Variable \$countries might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/rwd/default/template/customer/form/address.phtml - - message: "#^Variable \\$data might not be defined\\.$#" + message: '#^Variable \$data might not be defined\.$#' + identifier: variable.undefined count: 12 path: app/design/frontend/rwd/default/template/customer/form/address.phtml - - message: "#^Variable \\$primaryTypes might not be defined\\.$#" + message: '#^Variable \$primaryTypes might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/rwd/default/template/customer/form/address.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 52 path: app/design/frontend/rwd/default/template/customer/form/address.phtml - - message: "#^Variable \\$action might not be defined\\.$#" + message: '#^Variable \$action might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/rwd/default/template/customer/form/changepassword.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 15 path: app/design/frontend/rwd/default/template/customer/form/changepassword.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 13 path: app/design/frontend/rwd/default/template/customer/form/confirmation.phtml - - message: "#^Cannot call method isEnabled\\(\\) on Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^Cannot call method isEnabled\(\) on Mage_Core_Block_Abstract\|false\.$#' + identifier: method.nonObject count: 3 path: app/design/frontend/rwd/default/template/customer/form/edit.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 10 path: app/design/frontend/rwd/default/template/customer/form/resetforgottenpassword.phtml - - message: "#^Method Mage_Checkout_Helper_Data\\:\\:formatPrice\\(\\) invoked with 3 parameters, 1 required\\.$#" + message: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + identifier: arguments.count count: 12 path: app/design/frontend/rwd/default/template/downloadable/checkout/cart/item/default.phtml - - message: "#^Parameter \\#2 \\$visibility of method Mage_Catalog_Helper_Data\\:\\:canApplyMsrp\\(\\) expects int\\|null, string given\\.$#" + message: '#^Parameter \#2 \$visibility of method Mage_Catalog_Helper_Data\:\:canApplyMsrp\(\) expects int\|null, string given\.$#' + identifier: argument.type count: 1 path: app/design/frontend/rwd/default/template/downloadable/checkout/cart/item/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 79 path: app/design/frontend/rwd/default/template/downloadable/checkout/cart/item/default.phtml - - message: "#^Method Mage_Checkout_Helper_Data\\:\\:formatPrice\\(\\) invoked with 3 parameters, 1 required\\.$#" + message: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + identifier: arguments.count count: 12 path: app/design/frontend/rwd/default/template/downloadable/checkout/onepage/review/item.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 38 path: app/design/frontend/rwd/default/template/downloadable/checkout/onepage/review/item.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 20 path: app/design/frontend/rwd/default/template/downloadable/email/order/items/creditmemo/downloadable.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 19 path: app/design/frontend/rwd/default/template/downloadable/email/order/items/invoice/downloadable.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 10 path: app/design/frontend/rwd/default/template/email/catalog/product/new.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 8 path: app/design/frontend/rwd/default/template/email/order/creditmemo/items.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 8 path: app/design/frontend/rwd/default/template/email/order/invoice/items.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 17 path: app/design/frontend/rwd/default/template/email/order/items/creditmemo/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 17 path: app/design/frontend/rwd/default/template/email/order/items/invoice/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 8 path: app/design/frontend/rwd/default/template/email/order/items/shipment/default.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 7 path: app/design/frontend/rwd/default/template/email/order/shipment/items.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/frontend/rwd/default/template/email/order/shipment/track.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/frontend/rwd/default/template/email/order/totals/wrapper.phtml - - message: "#^Call to protected method _getRenderedMenuItemAttributes\\(\\) of class Mage_Page_Block_Html_Topmenu\\.$#" + message: '#^Call to protected method _getRenderedMenuItemAttributes\(\) of class Mage_Page_Block_Html_Topmenu\.$#' + identifier: method.protected count: 1 path: app/design/frontend/rwd/default/template/page/html/topmenu/renderer.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 28 path: app/design/frontend/rwd/default/template/payment/form/cc.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 32 path: app/design/frontend/rwd/default/template/payment/form/ccsave.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 70 path: app/design/frontend/rwd/default/template/paypal/express/review/address.phtml - - message: "#^Cannot call method isEnabled\\(\\) on Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^Cannot call method isEnabled\(\) on Mage_Core_Block_Abstract\|false\.$#' + identifier: method.nonObject count: 4 path: app/design/frontend/rwd/default/template/persistent/checkout/onepage/billing.phtml - - message: "#^If condition is always true\\.$#" + message: '#^If condition is always true\.$#' + identifier: if.alwaysTrue count: 1 path: app/design/frontend/rwd/default/template/persistent/checkout/onepage/login.phtml - - message: "#^Negated boolean expression is always false\\.$#" + message: '#^Negated boolean expression is always false\.$#' + identifier: booleanNot.alwaysFalse count: 1 path: app/design/frontend/rwd/default/template/persistent/checkout/onepage/login.phtml - - message: "#^Cannot call method isEnabled\\(\\) on Mage_Core_Block_Abstract\\|false\\.$#" + message: '#^Cannot call method isEnabled\(\) on Mage_Core_Block_Abstract\|false\.$#' + identifier: method.nonObject count: 3 path: app/design/frontend/rwd/default/template/persistent/customer/form/register.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 2 path: app/design/frontend/rwd/default/template/rating/detailed.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 8 path: app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_default_list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 6 path: app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_images_list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 4 path: app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_names_list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 20 path: app/design/frontend/rwd/default/template/reports/widget/compared/content/compared_grid.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 7 path: app/design/frontend/rwd/default/template/reports/widget/compared/content/compared_list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 34 path: app/design/frontend/rwd/default/template/review/customer/view.phtml - - message: "#^Variable \\$data might not be defined\\.$#" + message: '#^Variable \$data might not be defined\.$#' + identifier: variable.undefined count: 3 path: app/design/frontend/rwd/default/template/review/form.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 31 path: app/design/frontend/rwd/default/template/review/form.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 15 path: app/design/frontend/rwd/default/template/review/product/view/list.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 29 path: app/design/frontend/rwd/default/template/review/view.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 22 path: app/design/frontend/rwd/default/template/sales/order/creditmemo/items.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 19 path: app/design/frontend/rwd/default/template/sales/order/history.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 18 path: app/design/frontend/rwd/default/template/sales/order/invoice/items.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 17 path: app/design/frontend/rwd/default/template/sales/order/recent.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 22 path: app/design/frontend/rwd/default/template/sales/order/shipment/items.phtml - - message: "#^Variable \\$steps might not be defined\\.$#" + message: '#^Variable \$steps might not be defined\.$#' + identifier: variable.undefined count: 1 path: app/design/install/default/default/template/install/state.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 5 path: app/design/install/default/default/template/install/state.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 23 path: app/design/install/default/default/template/page.phtml - - message: "#^Variable \\$cronMode might not be defined\\.$#" + message: '#^Variable \$cronMode might not be defined\.$#' + identifier: variable.undefined count: 1 path: cron.php - - message: "#^Variable \\$contentTemplate might not be defined\\.$#" + message: '#^Variable \$contentTemplate might not be defined\.$#' + identifier: variable.undefined count: 1 path: errors/default/page.phtml - - message: "#^Variable \\$this might not be defined\\.$#" + message: '#^Variable \$this might not be defined\.$#' + identifier: variable.undefined count: 3 path: errors/default/page.phtml - - message: "#^Comparison operation \"\\>\\=\" between int\\<0, max\\> and 0 is always true\\.$#" + message: '#^Comparison operation "\>\=" between int\<0, max\> and 0 is always true\.$#' + identifier: greaterOrEqual.alwaysTrue count: 1 path: lib/Mage/Archive.php - - message: "#^Negated boolean expression is always true\\.$#" + message: '#^Negated boolean expression is always true\.$#' + identifier: booleanNot.alwaysTrue count: 1 path: lib/Mage/Cache/Backend/File.php - - message: "#^Function mysqli_connect_errno invoked with 1 parameter, 0 required\\.$#" + message: '#^Function mysqli_connect_errno invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: lib/Mage/DB/Mysqli.php - - message: "#^Function mysqli_connect_error invoked with 1 parameter, 0 required\\.$#" + message: '#^Function mysqli_connect_error invoked with 1 parameter, 0 required\.$#' + identifier: arguments.count count: 1 path: lib/Mage/DB/Mysqli.php - - message: "#^Property Mage_HTTP_Client_Socket\\:\\:\\$_postFields is never read, only written\\.$#" + message: '#^Property Mage_HTTP_Client_Socket\:\:\$_postFields is never read, only written\.$#' + identifier: property.onlyWritten count: 1 path: lib/Mage/HTTP/Client/Socket.php - - message: "#^Property Mage_HTTP_Client_Socket\\:\\:\\$_redirectCount is never read, only written\\.$#" + message: '#^Property Mage_HTTP_Client_Socket\:\:\$_redirectCount is never read, only written\.$#' + identifier: property.onlyWritten count: 1 path: lib/Mage/HTTP/Client/Socket.php - - message: "#^Empty array passed to foreach\\.$#" + message: '#^Empty array passed to foreach\.$#' + identifier: foreach.emptyArray count: 1 path: lib/Mage/System/Ftp.php - - message: "#^Parameter \\#4 \\$mode of function ftp_fput expects 1\\|2, int given\\.$#" + message: '#^Parameter \#1 \$input of function array_sum expects an array of values castable to number, list\ given\.$#' + identifier: argument.type + count: 3 + path: lib/Mage/System/Ftp.php + + - + message: '#^Parameter \#4 \$mode of function ftp_fput expects 1\|2, int given\.$#' + identifier: argument.type count: 1 path: lib/Mage/System/Ftp.php - - message: "#^Parameter \\#4 \\$mode of function ftp_get expects 1\\|2, int given\\.$#" + message: '#^Parameter \#4 \$mode of function ftp_get expects 1\|2, int given\.$#' + identifier: argument.type count: 1 path: lib/Mage/System/Ftp.php - - message: "#^Parameter \\#4 \\$mode of function ftp_put expects 1\\|2, int given\\.$#" + message: '#^Parameter \#4 \$mode of function ftp_put expects 1\|2, int given\.$#' + identifier: argument.type count: 1 path: lib/Mage/System/Ftp.php - - message: "#^Argument of an invalid type Zend_Db_Statement_Interface supplied for foreach, only iterables are supported\\.$#" + message: '#^Argument of an invalid type Zend_Db_Statement_Interface supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable count: 1 path: lib/Magento/Db/Object/Trigger.php - - message: "#^Left side of && is always true\\.$#" + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue count: 2 path: lib/Varien/Cache/Backend/Database.php - - message: "#^Method Varien_Cache_Backend_Database\\:\\:touch\\(\\) should return bool but returns int\\.$#" + message: '#^Method Varien_Cache_Backend_Database\:\:touch\(\) should return bool but returns int\.$#' + identifier: return.type count: 1 path: lib/Varien/Cache/Backend/Database.php - - message: "#^Parameter \\#2 \\$chunks of method Varien_Cache_Backend_Memcached\\:\\:_cleanTheMess\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#2 \$chunks of method Varien_Cache_Backend_Memcached\:\:_cleanTheMess\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: lib/Varien/Cache/Backend/Memcached.php - - message: "#^Parameter \\#4 \\$specificLifetime \\(bool\\) of method Varien_Cache_Backend_Memcached\\:\\:save\\(\\) should be compatible with parameter \\$specificLifetime \\(int\\) of method Zend_Cache_Backend_Interface\\:\\:save\\(\\)$#" + message: '#^Parameter \#4 \$specificLifetime \(bool\) of method Varien_Cache_Backend_Memcached\:\:save\(\) should be compatible with parameter \$specificLifetime \(int\) of method Zend_Cache_Backend_Interface\:\:save\(\)$#' + identifier: method.childParameterType count: 2 path: lib/Varien/Cache/Backend/Memcached.php - - message: "#^Parameter \\#4 \\$specificLifetime \\(bool\\) of method Varien_Cache_Backend_Memcached\\:\\:save\\(\\) should be compatible with parameter \\$specificLifetime \\(int\\) of method Zend_Cache_Backend_Memcached\\:\\:save\\(\\)$#" + message: '#^Parameter \#4 \$specificLifetime \(bool\) of method Varien_Cache_Backend_Memcached\:\:save\(\) should be compatible with parameter \$specificLifetime \(int\) of method Zend_Cache_Backend_Memcached\:\:save\(\)$#' + identifier: method.childParameterType count: 1 path: lib/Varien/Cache/Backend/Memcached.php - - message: "#^Parameter \\#4 \\$specificLifetime of method Zend_Cache_Backend_Memcached\\:\\:save\\(\\) expects int, bool given\\.$#" + message: '#^Parameter \#4 \$specificLifetime of method Zend_Cache_Backend_Memcached\:\:save\(\) expects int, bool given\.$#' + identifier: argument.type count: 2 path: lib/Varien/Cache/Backend/Memcached.php - - message: "#^Call to an undefined method Varien_Convert_Action\\:\\:getData\\(\\)\\.$#" + message: '#^Call to an undefined method Varien_Convert_Action\:\:getData\(\)\.$#' + identifier: method.notFound count: 1 path: lib/Varien/Convert.php - - message: "#^Call to an undefined method Varien_Convert_Action_Abstract\\:\\:addException\\(\\)\\.$#" + message: '#^Call to an undefined method Varien_Convert_Action_Abstract\:\:addException\(\)\.$#' + identifier: method.notFound count: 2 path: lib/Varien/Convert/Action/Abstract.php - - message: "#^Call to an undefined method Varien_Convert_Container_Interface\\:\\:getName\\(\\)\\.$#" + message: '#^Call to an undefined method Varien_Convert_Container_Interface\:\:getName\(\)\.$#' + identifier: method.notFound count: 2 path: lib/Varien/Convert/Container/Collection.php - - message: "#^Left side of && is always true\\.$#" + message: '#^Left side of && is always true\.$#' + identifier: booleanAnd.leftAlwaysTrue count: 1 path: lib/Varien/Convert/Mapper/Column.php - - message: "#^Variable \\$data might not be defined\\.$#" + message: '#^Variable \$data might not be defined\.$#' + identifier: variable.undefined count: 3 path: lib/Varien/Convert/Parser/Xml/Excel.php - - message: "#^Cannot access property \\$_items on array\\.$#" + message: '#^Cannot access property \$_items on array\.$#' + identifier: property.nonObject count: 2 path: lib/Varien/Data/Collection.php - - message: "#^Method Varien_Data_Collection\\:\\:getFilter\\(\\) should return array\\|Varien_Object\\|null but return statement is missing\\.$#" + message: '#^Method Varien_Data_Collection\:\:getFilter\(\) should return array\|Varien_Object\|null but return statement is missing\.$#' + identifier: return.missing count: 1 path: lib/Varien/Data/Collection.php - - message: "#^Method Varien_Data_Collection\\:\\:getLastPageNumber\\(\\) should return int but returns float\\.$#" + message: '#^Method Varien_Data_Collection\:\:getLastPageNumber\(\) should return int but returns float\.$#' + identifier: return.type count: 1 path: lib/Varien/Data/Collection.php - - message: "#^Call to an undefined method Varien_Data_Collection_Db\\:\\:_initSelect\\(\\)\\.$#" + message: '#^Call to an undefined method Varien_Data_Collection_Db\:\:_initSelect\(\)\.$#' + identifier: method.notFound count: 1 path: lib/Varien/Data/Collection/Db.php - - message: "#^Method Varien_Data_Collection_Db\\:\\:getConnection\\(\\) should return Varien_Db_Adapter_Interface but returns Zend_Db_Adapter_Abstract\\.$#" + message: '#^Method Varien_Data_Collection_Db\:\:getConnection\(\) should return Varien_Db_Adapter_Interface but returns Zend_Db_Adapter_Abstract\.$#' + identifier: return.type count: 1 path: lib/Varien/Data/Collection/Db.php - - message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(mixed\\)\\: bool\\)\\|null, Closure\\(mixed\\)\\: array\\, string\\> given\\.$#" + message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, Closure\(mixed\)\: array\, string\> given\.$#' + identifier: argument.type count: 1 path: lib/Varien/Data/Collection/Db.php - - message: "#^Property Varien_Data_Collection_Db\\:\\:\\$_fetchStmt \\(Zend_Db_Statement_Pdo\\) does not accept Zend_Db_Statement_Interface\\.$#" + message: '#^Property Varien_Data_Collection_Db\:\:\$_fetchStmt \(Zend_Db_Statement_Pdo\) does not accept Zend_Db_Statement_Interface\.$#' + identifier: assign.propertyType count: 1 path: lib/Varien/Data/Collection/Db.php - - message: "#^Property Varien_Data_Collection_Db\\:\\:\\$_select \\(Varien_Db_Select\\) does not accept Zend_Db_Select\\.$#" + message: '#^Property Varien_Data_Collection_Db\:\:\$_select \(Varien_Db_Select\) does not accept Zend_Db_Select\.$#' + identifier: assign.propertyType count: 1 path: lib/Varien/Data/Collection/Db.php - - message: "#^Property Varien_Data_Form_Abstract\\:\\:\\$_elements \\(Varien_Data_Form_Element_Collection\\) in empty\\(\\) is not falsy\\.$#" + message: '#^Property Varien_Data_Form_Abstract\:\:\$_elements \(Varien_Data_Form_Element_Collection\) in empty\(\) is not falsy\.$#' + identifier: empty.property count: 1 path: lib/Varien/Data/Form/Abstract.php - - message: "#^Access to an undefined property Varien_Data_Form_Element_Fieldset\\:\\:\\$_sortDirection\\.$#" + message: '#^Access to an undefined property Varien_Data_Form_Element_Fieldset\:\:\$_sortDirection\.$#' + identifier: property.notFound count: 1 path: lib/Varien/Data/Form/Element/Fieldset.php - - message: "#^Parameter \\#1 \\$idSuffix of method Varien_Data_Form_Element_Abstract\\:\\:getLabelHtml\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#1 \$idSuffix of method Varien_Data_Form_Element_Abstract\:\:getLabelHtml\(\) expects string, int given\.$#' + identifier: argument.type count: 1 path: lib/Varien/Data/Form/Element/Multiline.php - - message: "#^Parameter \\#1 \\$index of method Varien_Data_Form_Element_Abstract\\:\\:getEscapedValue\\(\\) expects string\\|null, int\\<0, max\\> given\\.$#" + message: '#^Parameter \#1 \$index of method Varien_Data_Form_Element_Abstract\:\:getEscapedValue\(\) expects string\|null, int\<0, max\> given\.$#' + identifier: argument.type count: 2 path: lib/Varien/Data/Form/Element/Multiline.php - - message: "#^Parameter \\#1 \\$suffix \\(int\\) of method Varien_Data_Form_Element_Multiline\\:\\:getLabelHtml\\(\\) should be compatible with parameter \\$idSuffix \\(string\\) of method Varien_Data_Form_Element_Abstract\\:\\:getLabelHtml\\(\\)$#" + message: '#^Parameter \#1 \$suffix \(int\) of method Varien_Data_Form_Element_Multiline\:\:getLabelHtml\(\) should be compatible with parameter \$idSuffix \(string\) of method Varien_Data_Form_Element_Abstract\:\:getLabelHtml\(\)$#' + identifier: method.childParameterType count: 1 path: lib/Varien/Data/Form/Element/Multiline.php - - message: "#^Parameter \\#1 \\$input of function str_pad expects string, int\\<0, 23\\> given\\.$#" + message: '#^Parameter \#1 \$input of function str_pad expects string, int\<0, 23\> given\.$#' + identifier: argument.type count: 1 path: lib/Varien/Data/Form/Element/Time.php - - message: "#^Parameter \\#1 \\$input of function str_pad expects string, int\\<0, 59\\> given\\.$#" + message: '#^Parameter \#1 \$input of function str_pad expects string, int\<0, 59\> given\.$#' + identifier: argument.type count: 2 path: lib/Varien/Data/Form/Element/Time.php - - message: "#^Variable \\$node might not be defined\\.$#" + message: '#^Variable \$node might not be defined\.$#' + identifier: variable.undefined count: 1 path: lib/Varien/Data/Tree.php - - message: "#^Method Varien_Data_Tree\\:\\:load\\(\\) invoked with 2 parameters, 0\\-1 required\\.$#" + message: '#^Method Varien_Data_Tree\:\:load\(\) invoked with 2 parameters, 0\-1 required\.$#' + identifier: arguments.count count: 1 path: lib/Varien/Data/Tree/Node.php - - message: "#^Parameter \\#1 \\$parent of method Varien_Data_Tree_Node\\:\\:setParent\\(\\) expects Varien_Data_Tree_Node, Varien_Data_Tree given\\.$#" + message: '#^Parameter \#1 \$parent of method Varien_Data_Tree_Node\:\:setParent\(\) expects Varien_Data_Tree_Node, Varien_Data_Tree given\.$#' + identifier: argument.type count: 1 path: lib/Varien/Data/Tree/Node/Collection.php - - message: "#^Variable \\$result might not be defined\\.$#" + message: '#^Variable \$result might not be defined\.$#' + identifier: variable.undefined count: 1 path: lib/Varien/Db/Adapter/Mysqli.php - - message: "#^Cannot access offset 'Engine' on bool\\.$#" + message: '#^Cannot access offset ''Engine'' on bool\.$#' + identifier: offsetAccess.nonOffsetAccessible count: 1 path: lib/Varien/Db/Adapter/Pdo/Mysql.php - - message: "#^Cannot call method query\\(\\) on object\\|resource\\.$#" + message: '#^Cannot call method query\(\) on object\|resource\.$#' + identifier: method.nonObject count: 1 path: lib/Varien/Db/Adapter/Pdo/Mysql.php - - message: "#^Cannot call method setAttribute\\(\\) on object\\|resource\\.$#" + message: '#^Cannot call method setAttribute\(\) on object\|resource\.$#' + identifier: method.nonObject count: 2 path: lib/Varien/Db/Adapter/Pdo/Mysql.php - - message: "#^Method Varien_Db_Adapter_Pdo_Mysql\\:\\:query\\(\\) should return Zend_Db_Statement_Pdo but returns PDOStatement\\|Zend_Db_Statement_Interface\\.$#" + message: '#^Method Varien_Db_Adapter_Pdo_Mysql\:\:query\(\) should return Zend_Db_Statement_Pdo but returns PDOStatement\|Zend_Db_Statement_Interface\.$#' + identifier: return.type count: 1 path: lib/Varien/Db/Adapter/Pdo/Mysql.php - - message: "#^Parameter \\#4 \\$result of method Varien_Db_Adapter_Pdo_Mysql\\:\\:_debugStat\\(\\) expects Zend_Db_Statement_Pdo\\|null, PDOStatement\\|Zend_Db_Statement_Interface given\\.$#" + message: '#^Parameter \#4 \$result of method Varien_Db_Adapter_Pdo_Mysql\:\:_debugStat\(\) expects Zend_Db_Statement_Pdo\|null, PDOStatement\|Zend_Db_Statement_Interface given\.$#' + identifier: argument.type count: 1 path: lib/Varien/Db/Adapter/Pdo/Mysql.php - - message: "#^Property Varien_Db_Adapter_Pdo_Mysql\\:\\:\\$_cacheAdapter \\(Zend_Cache_Core\\) does not accept Zend_Cache_Backend_Interface\\.$#" + message: '#^Property Varien_Db_Adapter_Pdo_Mysql\:\:\$_cacheAdapter \(Zend_Cache_Core\) does not accept Zend_Cache_Backend_Interface\.$#' + identifier: assign.propertyType count: 1 path: lib/Varien/Db/Adapter/Pdo/Mysql.php - - message: "#^Regex pattern is invalid\\: Compilation failed\\: invalid range in character class at offset 40 in pattern\\: \\#SQLSTATE\\\\\\[23000\\\\\\]\\: \\[\\^\\:\\]\\+\\: 1062\\[\\^'\\]\\+'\\(\\[\\\\d\\-\\\\\\.\\]\\+\\)'\\#$#" + message: '#^Regex pattern is invalid\: Compilation failed\: invalid range in character class at offset 40 in pattern\: \#SQLSTATE\\\[23000\\\]\: \[\^\:\]\+\: 1062\[\^''\]\+''\(\[\\d\-\\\.\]\+\)''\#$#' + identifier: regexp.pattern count: 1 path: lib/Varien/Db/Adapter/Pdo/Mysql.php - - message: "#^Return type \\(\\$this\\(Varien_Db_Adapter_Pdo_Mysql\\)\\) of method Varien_Db_Adapter_Pdo_Mysql\\:\\:dropTemporaryTable\\(\\) should be compatible with return type \\(bool\\) of method Varien_Db_Adapter_Interface\\:\\:dropTemporaryTable\\(\\)$#" + message: '#^Return type \(\$this\(Varien_Db_Adapter_Pdo_Mysql\)\) of method Varien_Db_Adapter_Pdo_Mysql\:\:dropTemporaryTable\(\) should be compatible with return type \(bool\) of method Varien_Db_Adapter_Interface\:\:dropTemporaryTable\(\)$#' + identifier: method.childReturnType count: 1 path: lib/Varien/Db/Adapter/Pdo/Mysql.php - - message: "#^Return type \\(array\\) of method Varien_Db_Adapter_Pdo_Mysql\\:\\:multiQuery\\(\\) should be compatible with return type \\(Varien_Db_Adapter_Interface\\) of method Varien_Db_Adapter_Interface\\:\\:multiQuery\\(\\)$#" + message: '#^Return type \(array\) of method Varien_Db_Adapter_Pdo_Mysql\:\:multiQuery\(\) should be compatible with return type \(Varien_Db_Adapter_Interface\) of method Varien_Db_Adapter_Interface\:\:multiQuery\(\)$#' + identifier: method.childReturnType count: 1 path: lib/Varien/Db/Adapter/Pdo/Mysql.php - - message: "#^Variable \\$result might not be defined\\.$#" + message: '#^Variable \$result might not be defined\.$#' + identifier: variable.undefined count: 3 path: lib/Varien/Db/Adapter/Pdo/Mysql.php - - message: "#^Cannot call method bindParam\\(\\) on object\\|resource\\.$#" + message: '#^Cannot call method bindParam\(\) on object\|resource\.$#' + identifier: method.nonObject count: 1 path: lib/Varien/Db/Statement/Pdo/Mysql.php - - message: "#^Cannot call method execute\\(\\) on object\\|resource\\.$#" + message: '#^Cannot call method execute\(\) on object\|resource\.$#' + identifier: method.nonObject count: 1 path: lib/Varien/Db/Statement/Pdo/Mysql.php - - message: "#^Right side of && is always false\\.$#" + message: '#^Right side of && is always false\.$#' + identifier: booleanAnd.rightAlwaysFalse count: 1 path: lib/Varien/Filter/Template/Tokenizer/Parameter.php - - message: "#^Left side of \\|\\| is always false\\.$#" + message: '#^Left side of \|\| is always false\.$#' + identifier: booleanOr.leftAlwaysFalse count: 1 path: lib/Varien/Filter/Template/Tokenizer/Variable.php - - message: "#^Method Varien_Http_Adapter_Curl\\:\\:_getResource\\(\\) has invalid return type CurlHandle\\.$#" + message: '#^Method Varien_Http_Adapter_Curl\:\:_getResource\(\) has invalid return type CurlHandle\.$#' + identifier: class.notFound count: 1 path: lib/Varien/Http/Adapter/Curl.php - - message: "#^Parameter \\#3 \\$value of function curl_setopt expects bool, int given\\.$#" + message: '#^Parameter \#3 \$value of function curl_setopt expects bool, int given\.$#' + identifier: argument.type count: 2 path: lib/Varien/Http/Adapter/Curl.php - - message: "#^Property Varien_Http_Adapter_Curl\\:\\:\\$_resource has unknown class CurlHandle as its type\\.$#" + message: '#^Property Varien_Http_Adapter_Curl\:\:\$_resource has unknown class CurlHandle as its type\.$#' + identifier: class.notFound count: 1 path: lib/Varien/Http/Adapter/Curl.php - - message: "#^Property Varien_Image_Adapter_Abstract\\:\\:\\$_imageHandler has unknown class GdImage as its type\\.$#" + message: '#^Property Varien_Image_Adapter_Abstract\:\:\$_imageHandler has unknown class GdImage as its type\.$#' + identifier: class.notFound count: 1 path: lib/Varien/Image/Adapter/Abstract.php - - message: "#^Parameter \\#1 \\$groupname of function posix_getgrnam expects string, int\\|false given\\.$#" + message: '#^Parameter \#1 \$groupname of function posix_getgrnam expects string, int\|false given\.$#' + identifier: argument.type count: 1 path: lib/Varien/Io/File.php - - message: "#^Parameter \\#2 \\$mode of method Varien_Io_File\\:\\:chmod\\(\\) expects int, string given\\.$#" + message: '#^Parameter \#2 \$mode of method Varien_Io_File\:\:chmod\(\) expects int, string given\.$#' + identifier: argument.type count: 1 path: lib/Varien/Io/File.php - - message: "#^Parameter \\#1 \\$prefix of function uniqid expects string, int\\<0, max\\> given\\.$#" + message: '#^Parameter \#1 \$prefix of function uniqid expects string, int\<0, max\> given\.$#' + identifier: argument.type count: 1 path: lib/Varien/Io/Ftp.php - - message: "#^Call to an undefined method SimpleXMLElement\\:\\:setNode\\(\\)\\.$#" + message: '#^Call to an undefined method SimpleXMLElement\:\:setNode\(\)\.$#' + identifier: method.notFound count: 1 path: lib/Varien/Simplexml/Config.php - - message: "#^Call to an undefined method Varien_Simplexml_Config_Cache_Abstract\\:\\:load\\(\\)\\.$#" + message: '#^Call to an undefined method Varien_Simplexml_Config_Cache_Abstract\:\:load\(\)\.$#' + identifier: method.notFound count: 2 path: lib/Varien/Simplexml/Config.php - - message: "#^Call to an undefined method Varien_Simplexml_Config_Cache_Abstract\\:\\:remove\\(\\)\\.$#" + message: '#^Call to an undefined method Varien_Simplexml_Config_Cache_Abstract\:\:remove\(\)\.$#' + identifier: method.notFound count: 1 path: lib/Varien/Simplexml/Config.php - - message: "#^Call to an undefined method Varien_Simplexml_Config_Cache_Abstract\\:\\:save\\(\\)\\.$#" + message: '#^Call to an undefined method Varien_Simplexml_Config_Cache_Abstract\:\:save\(\)\.$#' + identifier: method.notFound count: 1 path: lib/Varien/Simplexml/Config.php - - message: "#^Method Varien_Simplexml_Config\\:\\:getXpath\\(\\) should return array\\\\|false but returns non\\-empty\\-array\\\\.$#" + message: '#^Method Varien_Simplexml_Config\:\:getXpath\(\) should return array\\|false but returns non\-empty\-array\\.$#' + identifier: return.type count: 1 path: lib/Varien/Simplexml/Config.php - - message: "#^Method Varien_Simplexml_Config\\:\\:loadString\\(\\) invoked with 2 parameters, 1 required\\.$#" + message: '#^Method Varien_Simplexml_Config\:\:loadString\(\) invoked with 2 parameters, 1 required\.$#' + identifier: arguments.count count: 1 path: lib/Varien/Simplexml/Config.php - - message: "#^Parameter \\#1 \\$data of function simplexml_load_string expects string, true given\\.$#" + message: '#^Parameter \#1 \$data of function simplexml_load_string expects string, true given\.$#' + identifier: argument.type count: 1 path: lib/Varien/Simplexml/Config.php - - message: "#^Result of && is always false\\.$#" + message: '#^Result of && is always false\.$#' + identifier: booleanAnd.alwaysFalse count: 1 path: lib/Varien/Simplexml/Config.php - - message: "#^Strict comparison using \\=\\=\\= between mixed and false will always evaluate to false\\.$#" + message: '#^Strict comparison using \=\=\= between mixed and false will always evaluate to false\.$#' + identifier: identical.alwaysFalse count: 1 path: lib/Varien/Simplexml/Config.php - - message: "#^Parameter \\#1 \\$filename of method Varien_Simplexml_Element\\:\\:asNiceXml\\(\\) expects string, int given\\.$#" + message: '#^Parameter \#1 \$filename of method Varien_Simplexml_Element\:\:asNiceXml\(\) expects string, int given\.$#' + identifier: argument.type count: 1 path: lib/Varien/Simplexml/Element.php - - message: "#^Parameter \\#2 \\$timestamp of function gmdate expects int, float given\\.$#" + message: '#^Parameter \#2 \$timestamp of function gmdate expects int, float given\.$#' + identifier: argument.type count: 1 path: shell/indexer.php diff --git a/app/code/core/Mage/Adminhtml/Block/Customer/Online/Grid/Renderer/Ip.php b/app/code/core/Mage/Adminhtml/Block/Customer/Online/Grid/Renderer/Ip.php index 7a7d9053435..66de2b95569 100644 --- a/app/code/core/Mage/Adminhtml/Block/Customer/Online/Grid/Renderer/Ip.php +++ b/app/code/core/Mage/Adminhtml/Block/Customer/Online/Grid/Renderer/Ip.php @@ -23,7 +23,7 @@ class Mage_Adminhtml_Block_Customer_Online_Grid_Renderer_Ip extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract { /** - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function render(Varien_Object $row) { diff --git a/app/code/core/Mage/Adminhtml/Block/Report/Wishlist.php b/app/code/core/Mage/Adminhtml/Block/Report/Wishlist.php index 8390e70b960..1e2a98a69ad 100644 --- a/app/code/core/Mage/Adminhtml/Block/Report/Wishlist.php +++ b/app/code/core/Mage/Adminhtml/Block/Report/Wishlist.php @@ -19,7 +19,7 @@ * * @category Mage * @package Mage_Adminhtml - * @SuppressWarnings(PHPMD.CamelCasePropertyName) + * @SuppressWarnings("PHPMD.CamelCasePropertyName") */ class Mage_Adminhtml_Block_Report_Wishlist extends Mage_Adminhtml_Block_Template { diff --git a/app/code/core/Mage/Adminhtml/Block/System/Email/Template/Grid/Renderer/Type.php b/app/code/core/Mage/Adminhtml/Block/System/Email/Template/Grid/Renderer/Type.php index 081c4248057..7b8d62815d4 100644 --- a/app/code/core/Mage/Adminhtml/Block/System/Email/Template/Grid/Renderer/Type.php +++ b/app/code/core/Mage/Adminhtml/Block/System/Email/Template/Grid/Renderer/Type.php @@ -29,7 +29,7 @@ class Mage_Adminhtml_Block_System_Email_Template_Grid_Renderer_Type extends Mage /** * @return string - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ public function render(Varien_Object $row) { diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Ip.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Ip.php index f38cd0b0568..1d0fc14cb14 100644 --- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Ip.php +++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Ip.php @@ -26,7 +26,7 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Ip extends Mage_Adminhtml * Render the grid cell value * * @return string - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function render(Varien_Object $row) { diff --git a/app/code/core/Mage/Adminhtml/Controller/Action.php b/app/code/core/Mage/Adminhtml/Controller/Action.php index f4ba4a1ffac..2c84c954b55 100644 --- a/app/code/core/Mage/Adminhtml/Controller/Action.php +++ b/app/code/core/Mage/Adminhtml/Controller/Action.php @@ -330,8 +330,8 @@ public function setUsedModuleName($moduleName) * Translate a phrase * * @return string - * @SuppressWarnings(PHPMD.CamelCaseMethodName) - * @SuppressWarnings(PHPMD.ShortMethodName) + * @SuppressWarnings("PHPMD.CamelCaseMethodName") + * @SuppressWarnings("PHPMD.ShortMethodName") */ public function __() { diff --git a/app/code/core/Mage/Adminhtml/Model/Customer/Renderer/Region.php b/app/code/core/Mage/Adminhtml/Model/Customer/Renderer/Region.php index d175b6fb6b7..7dc85d4c9f3 100644 --- a/app/code/core/Mage/Adminhtml/Model/Customer/Renderer/Region.php +++ b/app/code/core/Mage/Adminhtml/Model/Customer/Renderer/Region.php @@ -35,7 +35,7 @@ class Mage_Adminhtml_Model_Customer_Renderer_Region implements Varien_Data_Form_ /** * @return string - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ public function render(Varien_Data_Form_Element_Abstract $element) { diff --git a/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Admin/Observer.php b/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Admin/Observer.php index 9ddc358cb21..7eac2f0a9c4 100644 --- a/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Admin/Observer.php +++ b/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Admin/Observer.php @@ -24,7 +24,7 @@ class Mage_Adminhtml_Model_System_Config_Backend_Admin_Observer * Log out user and redirect him to new admin custom url * * @param Varien_Event_Observer $observer - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function afterCustomUrlChanged($observer) { diff --git a/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/File.php b/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/File.php index 6f4f886108e..d0365d8c504 100644 --- a/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/File.php +++ b/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/File.php @@ -35,7 +35,7 @@ class Mage_Adminhtml_Model_System_Config_Backend_File extends Mage_Core_Model_Co * Save uploaded file before saving config value * * @return $this - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ protected function _beforeSave() { diff --git a/app/code/core/Mage/Adminhtml/controllers/AjaxController.php b/app/code/core/Mage/Adminhtml/controllers/AjaxController.php index a827cf38856..c33c3704885 100644 --- a/app/code/core/Mage/Adminhtml/controllers/AjaxController.php +++ b/app/code/core/Mage/Adminhtml/controllers/AjaxController.php @@ -25,7 +25,7 @@ class Mage_Adminhtml_AjaxController extends Mage_Adminhtml_Controller_Action /** * Ajax action for inline translation * - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function translateAction() { diff --git a/app/code/core/Mage/Adminhtml/controllers/CustomerController.php b/app/code/core/Mage/Adminhtml/controllers/CustomerController.php index e1678ccc40f..7e6e7b9d216 100644 --- a/app/code/core/Mage/Adminhtml/controllers/CustomerController.php +++ b/app/code/core/Mage/Adminhtml/controllers/CustomerController.php @@ -784,7 +784,7 @@ public function massAssignGroupAction() } /** - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function viewfileAction() { diff --git a/app/code/core/Mage/Adminhtml/controllers/System/Config/System/StorageController.php b/app/code/core/Mage/Adminhtml/controllers/System/Config/System/StorageController.php index 2630c8c771c..ff9c1c15c40 100644 --- a/app/code/core/Mage/Adminhtml/controllers/System/Config/System/StorageController.php +++ b/app/code/core/Mage/Adminhtml/controllers/System/Config/System/StorageController.php @@ -51,7 +51,7 @@ protected function _getSyncFlag() /** * Synchronize action between storages * - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function synchronizeAction() { diff --git a/app/code/core/Mage/Adminhtml/controllers/System/ConfigController.php b/app/code/core/Mage/Adminhtml/controllers/System/ConfigController.php index 999db8c56cc..95e3e98bb9c 100644 --- a/app/code/core/Mage/Adminhtml/controllers/System/ConfigController.php +++ b/app/code/core/Mage/Adminhtml/controllers/System/ConfigController.php @@ -127,7 +127,7 @@ public function editAction() /** * Save configuration * - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function saveAction() { diff --git a/app/code/core/Mage/Adminhtml/controllers/Tax/RateController.php b/app/code/core/Mage/Adminhtml/controllers/Tax/RateController.php index 2f66904c0e0..b8281621f67 100644 --- a/app/code/core/Mage/Adminhtml/controllers/Tax/RateController.php +++ b/app/code/core/Mage/Adminhtml/controllers/Tax/RateController.php @@ -248,7 +248,7 @@ public function importExportAction() /** * import action from import/export tax * - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function importPostAction() { @@ -269,7 +269,7 @@ public function importPostAction() } /** - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ protected function _importRates() { diff --git a/app/code/core/Mage/Api/Model/Server/Adapter/Soap.php b/app/code/core/Mage/Api/Model/Server/Adapter/Soap.php index c4e12629097..4ca5e114463 100644 --- a/app/code/core/Mage/Api/Model/Server/Adapter/Soap.php +++ b/app/code/core/Mage/Api/Model/Server/Adapter/Soap.php @@ -175,7 +175,7 @@ public function run() * * @param int $code * @param string $message - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function fault($code, $message) { diff --git a/app/code/core/Mage/Api/Model/Server/Handler/Abstract.php b/app/code/core/Mage/Api/Model/Server/Handler/Abstract.php index 57f48af85d8..2e5198c5a0c 100644 --- a/app/code/core/Mage/Api/Model/Server/Handler/Abstract.php +++ b/app/code/core/Mage/Api/Model/Server/Handler/Abstract.php @@ -93,7 +93,7 @@ protected function _startSession($sessionId = null) * * @param stdClass|string|null $sessionId * @return $this - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ protected function _instaLogin(&$sessionId) { diff --git a/app/code/core/Mage/Api2/Model/Acl/Filter.php b/app/code/core/Mage/Api2/Model/Acl/Filter.php index 488716ec6c3..2141be89c69 100644 --- a/app/code/core/Mage/Api2/Model/Acl/Filter.php +++ b/app/code/core/Mage/Api2/Model/Acl/Filter.php @@ -161,7 +161,7 @@ public function getAttributesToInclude() * Filter data for write operations * * @return array - * @SuppressWarnings(PHPMD.ShortMethodName) + * @SuppressWarnings("PHPMD.ShortMethodName") */ public function in(array $requestData) { diff --git a/app/code/core/Mage/Catalog/Helper/Product/View.php b/app/code/core/Mage/Catalog/Helper/Product/View.php index f21eb85afbf..0e2cd7b5529 100644 --- a/app/code/core/Mage/Catalog/Helper/Product/View.php +++ b/app/code/core/Mage/Catalog/Helper/Product/View.php @@ -19,7 +19,7 @@ * * @category Mage * @package Mage_Catalog - * @SuppressWarnings(PHPMD.CamelCasePropertyName) + * @SuppressWarnings("PHPMD.CamelCasePropertyName") */ class Mage_Catalog_Helper_Product_View extends Mage_Core_Helper_Abstract { diff --git a/app/code/core/Mage/Catalog/Model/Api2/Product/Image/Rest/Admin/V1.php b/app/code/core/Mage/Catalog/Model/Api2/Product/Image/Rest/Admin/V1.php index ca976463675..210200c0c0a 100644 --- a/app/code/core/Mage/Catalog/Model/Api2/Product/Image/Rest/Admin/V1.php +++ b/app/code/core/Mage/Catalog/Model/Api2/Product/Image/Rest/Admin/V1.php @@ -27,7 +27,7 @@ class Mage_Catalog_Model_Api2_Product_Image_Rest_Admin_V1 extends Mage_Catalog_M * * @throws Mage_Api2_Exception * @return string|void - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _create(array $data) { diff --git a/app/code/core/Mage/Catalog/Model/Api2/Product/Rest/Admin/V1.php b/app/code/core/Mage/Catalog/Model/Api2/Product/Rest/Admin/V1.php index 6e9c66d1022..2a6f2852809 100644 --- a/app/code/core/Mage/Catalog/Model/Api2/Product/Rest/Admin/V1.php +++ b/app/code/core/Mage/Catalog/Model/Api2/Product/Rest/Admin/V1.php @@ -343,7 +343,7 @@ protected function _filterStockData(&$stockData) } else { $nonManageStockFields = ['manage_stock', 'use_config_manage_stock', 'min_sale_qty', 'use_config_min_sale_qty', 'max_sale_qty', 'use_config_max_sale_qty']; - foreach ($stockData as $field => $value) { + foreach (array_keys($stockData) as $field) { if (!in_array($field, $nonManageStockFields)) { unset($stockData[$field]); } diff --git a/app/code/core/Mage/Catalog/Model/Category/Attribute/Backend/Image.php b/app/code/core/Mage/Catalog/Model/Category/Attribute/Backend/Image.php index 4697d0a16bd..719f2f66126 100644 --- a/app/code/core/Mage/Catalog/Model/Category/Attribute/Backend/Image.php +++ b/app/code/core/Mage/Catalog/Model/Category/Attribute/Backend/Image.php @@ -31,7 +31,7 @@ public function getAllowedExtensions(): array * Save uploaded file and set its name to category attribute * @param Varien_Object $object * @return $this - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function afterSave($object) { diff --git a/app/code/core/Mage/Catalog/Model/Product/Attribute/Media/Api.php b/app/code/core/Mage/Catalog/Model/Product/Attribute/Media/Api.php index 530c903c36b..69f90998bf9 100644 --- a/app/code/core/Mage/Catalog/Model/Product/Attribute/Media/Api.php +++ b/app/code/core/Mage/Catalog/Model/Product/Attribute/Media/Api.php @@ -107,7 +107,7 @@ public function info($productId, $file, $store = null, $identifierType = null) * @return string * @throws Mage_Api_Exception * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function create($productId, $data, $store = null, $identifierType = null) { @@ -200,7 +200,7 @@ public function create($productId, $data, $store = null, $identifierType = null) * @return bool * @throws Mage_Api_Exception * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function update($productId, $file, $data, $store = null, $identifierType = null) { diff --git a/app/code/core/Mage/Catalog/Model/Product/Attribute/Tierprice/Api/V2.php b/app/code/core/Mage/Catalog/Model/Product/Attribute/Tierprice/Api/V2.php index 0becf6b8a0d..1c2eb15419a 100644 --- a/app/code/core/Mage/Catalog/Model/Product/Attribute/Tierprice/Api/V2.php +++ b/app/code/core/Mage/Catalog/Model/Product/Attribute/Tierprice/Api/V2.php @@ -46,7 +46,7 @@ public function prepareTierPrices($product, $tierPrices = null) } if (!isset($tierPrice->website) || $tierPrice->website == 'all') { - $tierPrice->website = 0; // @phpstan-ignore-line + $tierPrice->website = 0; } else { try { $tierPrice->website = Mage::app()->getWebsite($tierPrice->website)->getId(); @@ -60,7 +60,7 @@ public function prepareTierPrices($product, $tierPrices = null) } if (!isset($tierPrice->customer_group_id)) { - $tierPrice->customer_group_id = 'all'; // @phpstan-ignore-line + $tierPrice->customer_group_id = 'all'; } if ($tierPrice->customer_group_id == 'all') { diff --git a/app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php b/app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php index 5db9f387dfe..8c6e5a97caa 100644 --- a/app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php +++ b/app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php @@ -154,7 +154,7 @@ public function validateUserValue($values) * * @return $this * @throws Mage_Core_Exception|Zend_File_Transfer_Exception - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ protected function _validateUploadedFile() { @@ -614,7 +614,7 @@ public function prepareOptionValueForRequest($optionValue) * * @return $this * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function copyQuoteToOrder() { @@ -797,7 +797,7 @@ protected function _getUploadMaxFilesize() * @param string $option php.ini Var name * @return int Setting value * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _getBytesIniValue($option) { diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Image.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Image.php index 3cb3151b332..26ea6e13319 100644 --- a/app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Image.php +++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Image.php @@ -31,7 +31,7 @@ public function getAllowedExtensions(): array * Save uploaded file and set its name to product attribute * @param Varien_Object $object * @return $this - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function afterSave($object) { diff --git a/app/code/core/Mage/Catalog/controllers/ProductController.php b/app/code/core/Mage/Catalog/controllers/ProductController.php index d09c49d9fc4..30e0291a975 100644 --- a/app/code/core/Mage/Catalog/controllers/ProductController.php +++ b/app/code/core/Mage/Catalog/controllers/ProductController.php @@ -103,7 +103,7 @@ protected function _applyCustomDesignSettings($object, $update) /** * Product view action * - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function viewAction() { @@ -141,7 +141,7 @@ public function viewAction() /** * View product gallery action * - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function galleryAction() { diff --git a/app/code/core/Mage/Cms/Controller/Router.php b/app/code/core/Mage/Cms/Controller/Router.php index 69bd646206a..deef66e289f 100644 --- a/app/code/core/Mage/Cms/Controller/Router.php +++ b/app/code/core/Mage/Cms/Controller/Router.php @@ -39,7 +39,7 @@ public function initControllerRouters($observer) * Validate and Match Cms Page and modify request * * @return bool - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function match(Zend_Controller_Request_Http $request) { diff --git a/app/code/core/Mage/Cms/Model/Wysiwyg/Images/Storage.php b/app/code/core/Mage/Cms/Model/Wysiwyg/Images/Storage.php index 8314ef1c67a..10039d135d4 100644 --- a/app/code/core/Mage/Cms/Model/Wysiwyg/Images/Storage.php +++ b/app/code/core/Mage/Cms/Model/Wysiwyg/Images/Storage.php @@ -95,7 +95,7 @@ public function getDirsCollection($path) * @param string $type Type of storage, e.g. image, media etc. * @return Varien_Data_Collection_Filesystem * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function getFilesCollection($path, $type = null) { diff --git a/app/code/core/Mage/ConfigurableSwatches/Helper/Data.php b/app/code/core/Mage/ConfigurableSwatches/Helper/Data.php index 983c2dfd745..ae54eaeb5c8 100644 --- a/app/code/core/Mage/ConfigurableSwatches/Helper/Data.php +++ b/app/code/core/Mage/ConfigurableSwatches/Helper/Data.php @@ -51,7 +51,7 @@ public function isEnabled() * * @param string $str * @return string - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function getHyphenatedString($str) { diff --git a/app/code/core/Mage/Core/Block/Abstract.php b/app/code/core/Mage/Core/Block/Abstract.php index e1e47c169bc..cb62f84227e 100644 --- a/app/code/core/Mage/Core/Block/Abstract.php +++ b/app/code/core/Mage/Core/Block/Abstract.php @@ -1171,8 +1171,8 @@ public function getModuleName() * * @return string * - * @SuppressWarnings(PHPMD.CamelCaseMethodName) - * @SuppressWarnings(PHPMD.ShortMethodName) + * @SuppressWarnings("PHPMD.CamelCaseMethodName") + * @SuppressWarnings("PHPMD.ShortMethodName") */ public function __() { diff --git a/app/code/core/Mage/Core/Block/Profiler.php b/app/code/core/Mage/Core/Block/Profiler.php index 543eb6f9ba1..4e9424fc52e 100644 --- a/app/code/core/Mage/Core/Block/Profiler.php +++ b/app/code/core/Mage/Core/Block/Profiler.php @@ -22,7 +22,7 @@ class Mage_Core_Block_Profiler extends Mage_Core_Block_Abstract { /** * @return string - * @SuppressWarnings(PHPMD.DevelopmentCodeFragment) + * @SuppressWarnings("PHPMD.DevelopmentCodeFragment") */ protected function _toHtml() { diff --git a/app/code/core/Mage/Core/Block/Text/Tag/Css/Admin.php b/app/code/core/Mage/Core/Block/Text/Tag/Css/Admin.php index 2a7d09739d5..419bf9e4076 100644 --- a/app/code/core/Mage/Core/Block/Text/Tag/Css/Admin.php +++ b/app/code/core/Mage/Core/Block/Text/Tag/Css/Admin.php @@ -25,7 +25,7 @@ class Mage_Core_Block_Text_Tag_Css_Admin extends Mage_Core_Block_Text_Tag_Css { /** - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ protected function _construct() { diff --git a/app/code/core/Mage/Core/Block/Text/Tag/Debug.php b/app/code/core/Mage/Core/Block/Text/Tag/Debug.php index b24633e2c96..5cd0f678b4e 100644 --- a/app/code/core/Mage/Core/Block/Text/Tag/Debug.php +++ b/app/code/core/Mage/Core/Block/Text/Tag/Debug.php @@ -33,7 +33,7 @@ protected function _construct() /** * @param mixed $value * @return $this - * @SuppressWarnings(PHPMD.DevelopmentCodeFragment) + * @SuppressWarnings("PHPMD.DevelopmentCodeFragment") */ public function setValue($value) { diff --git a/app/code/core/Mage/Core/Controller/Front/Action.php b/app/code/core/Mage/Core/Controller/Front/Action.php index 47275a6109c..8ba40b38a25 100644 --- a/app/code/core/Mage/Core/Controller/Front/Action.php +++ b/app/code/core/Mage/Core/Controller/Front/Action.php @@ -77,8 +77,8 @@ public function postDispatch() * Translate a phrase * * @return string - * @SuppressWarnings(PHPMD.CamelCaseMethodName) - * @SuppressWarnings(PHPMD.ShortMethodName) + * @SuppressWarnings("PHPMD.CamelCaseMethodName") + * @SuppressWarnings("PHPMD.ShortMethodName") */ public function __() { @@ -97,7 +97,7 @@ public function __() * @param string $contentType * @param int $contentLength explicit content length, if strlen($content) isn't applicable * @return $this - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ protected function _prepareDownloadResponse( $fileName, diff --git a/app/code/core/Mage/Core/Controller/Request/Http.php b/app/code/core/Mage/Core/Controller/Request/Http.php index f4672ce4a00..a0de03dc98b 100644 --- a/app/code/core/Mage/Core/Controller/Request/Http.php +++ b/app/code/core/Mage/Core/Controller/Request/Http.php @@ -318,8 +318,8 @@ public function getScheme() * @param bool $trimPort * @return false|string * - * @SuppressWarnings(PHPMD.ExitExpression) - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.ExitExpression") + * @SuppressWarnings("PHPMD.Superglobals") */ public function getHttpHost($trimPort = true) { @@ -347,7 +347,7 @@ public function getHttpHost($trimPort = true) * @param string|array $key * @param mixed $value * @return $this - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function setPost($key, $value = null) { diff --git a/app/code/core/Mage/Core/Controller/Response/Http.php b/app/code/core/Mage/Core/Controller/Response/Http.php index d8073261882..3933380efa4 100644 --- a/app/code/core/Mage/Core/Controller/Response/Http.php +++ b/app/code/core/Mage/Core/Controller/Response/Http.php @@ -100,7 +100,7 @@ public function setRedirect($url, $code = 302) /** * Method send already collected headers and exit from script * @return void - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function sendHeadersAndExit() { diff --git a/app/code/core/Mage/Core/Controller/Varien/Action.php b/app/code/core/Mage/Core/Controller/Varien/Action.php index 2b6a54ab2d7..03a71127598 100644 --- a/app/code/core/Mage/Core/Controller/Varien/Action.php +++ b/app/code/core/Mage/Core/Controller/Varien/Action.php @@ -464,7 +464,7 @@ public function getActionMethodName($action) * Dispatch event before action * * @return void - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function preDispatch() { @@ -1034,7 +1034,7 @@ protected function _filterDateTime($array, $dateFields) * @param string $contentType * @param int $contentLength explicit content length, if strlen($content) isn't applicable * @return $this - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ protected function _prepareDownloadResponse( $fileName, diff --git a/app/code/core/Mage/Core/Controller/Varien/Front.php b/app/code/core/Mage/Core/Controller/Varien/Front.php index 6f9081e8a8f..381e705ea44 100644 --- a/app/code/core/Mage/Core/Controller/Varien/Front.php +++ b/app/code/core/Mage/Core/Controller/Varien/Front.php @@ -322,8 +322,8 @@ protected function _processRewriteUrl($url) * * @param Mage_Core_Controller_Request_Http $request * - * @SuppressWarnings(PHPMD.ErrorControlOperator) - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ErrorControlOperator") + * @SuppressWarnings("PHPMD.ExitExpression") */ protected function _checkBaseUrl($request) { diff --git a/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php b/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php index ca2753adeff..02277d060c1 100644 --- a/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php +++ b/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php @@ -57,7 +57,7 @@ protected function _beforeModuleMatch() * checking if we installed or not and doing redirect * * @return bool - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ protected function _afterModuleMatch() { diff --git a/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php b/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php index d414da8fe2a..1eed35c0711 100644 --- a/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php +++ b/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php @@ -478,7 +478,7 @@ public function rewrite(array $p) * * @param Mage_Core_Controller_Request_Http $request * @param string $path - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ protected function _checkShouldBeSecure($request, $path = '') { diff --git a/app/code/core/Mage/Core/Helper/Abstract.php b/app/code/core/Mage/Core/Helper/Abstract.php index dd41ba6f9a1..bf5bbc2f38a 100644 --- a/app/code/core/Mage/Core/Helper/Abstract.php +++ b/app/code/core/Mage/Core/Helper/Abstract.php @@ -172,8 +172,8 @@ public function isModuleEnabled($moduleName = null) * Translate * * @return string - * @SuppressWarnings(PHPMD.CamelCaseMethodName) - * @SuppressWarnings(PHPMD.ShortMethodName) + * @SuppressWarnings("PHPMD.CamelCaseMethodName") + * @SuppressWarnings("PHPMD.ShortMethodName") */ public function __() { diff --git a/app/code/core/Mage/Core/Helper/Data.php b/app/code/core/Mage/Core/Helper/Data.php index 993869a8b5b..695521a2dfb 100644 --- a/app/code/core/Mage/Core/Helper/Data.php +++ b/app/code/core/Mage/Core/Helper/Data.php @@ -345,7 +345,7 @@ public function getStoreId($store = null) * @param bool $german * @return false|string * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function removeAccents($string, $german = false) { @@ -771,7 +771,7 @@ public function uniqHash($prefix = '') * @param callable $beforeMergeCallback * @param array|string $extensionsFilter * @return bool|string - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function mergeFiles( array $srcFiles, diff --git a/app/code/core/Mage/Core/Helper/Http.php b/app/code/core/Mage/Core/Helper/Http.php index 595a1795873..ab5e0fb002f 100644 --- a/app/code/core/Mage/Core/Helper/Http.php +++ b/app/code/core/Mage/Core/Helper/Http.php @@ -36,7 +36,7 @@ class Mage_Core_Helper_Http extends Mage_Core_Helper_Abstract * Validate and retrieve user and password from HTTP * @param array|null $headers * @return array - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function authValidate($headers = null) { @@ -81,7 +81,7 @@ public function authValidate($headers = null) * Send auth failed Headers and exit * * @return void - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function authFailed() { @@ -116,7 +116,7 @@ public function getRemoteAddrHeaders() * * @param bool $ipToLong converting IP to long format * @return false|string IPv4|long - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function getRemoteAddr($ipToLong = false) { diff --git a/app/code/core/Mage/Core/Helper/String.php b/app/code/core/Mage/Core/Helper/String.php index 11878f8a7a4..ef23fe93223 100644 --- a/app/code/core/Mage/Core/Helper/String.php +++ b/app/code/core/Mage/Core/Helper/String.php @@ -157,7 +157,7 @@ public function strrev($str) * @param bool $trim * @param string $wordSeparatorRegex * @return array - * @SuppressWarnings(PHPMD.CamelCaseMethodName) + * @SuppressWarnings("PHPMD.CamelCaseMethodName") */ // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps public function str_split($str, $length = 1, $keepWords = false, $trim = false, $wordSeparatorRegex = '\s') diff --git a/app/code/core/Mage/Core/Model/App.php b/app/code/core/Mage/Core/Model/App.php index 54d85901f3c..3063d14f296 100644 --- a/app/code/core/Mage/Core/Model/App.php +++ b/app/code/core/Mage/Core/Model/App.php @@ -536,7 +536,7 @@ public function getCookie() * * @param string $type * @return $this - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ protected function _checkGetStore($type) { @@ -1297,7 +1297,7 @@ public function setRequest(Mage_Core_Controller_Request_Http $request) /** * @return bool - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function isCurrentlySecure() { diff --git a/app/code/core/Mage/Core/Model/Config.php b/app/code/core/Mage/Core/Model/Config.php index dcc7b2f8941..f88d34aa119 100644 --- a/app/code/core/Mage/Core/Model/Config.php +++ b/app/code/core/Mage/Core/Model/Config.php @@ -517,7 +517,7 @@ public function getCache() * * @return void * @throws Exception - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function getCacheSaveLock($waitTime = null, $ignoreFailure = false) { @@ -1096,7 +1096,7 @@ public function getTempVarDir() * Get default server variables values * * @return array - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function getDistroServerVars() { diff --git a/app/code/core/Mage/Core/Model/Config/Element.php b/app/code/core/Mage/Core/Model/Config/Element.php index 1aea13e5c13..1f89d87acdd 100644 --- a/app/code/core/Mage/Core/Model/Config/Element.php +++ b/app/code/core/Mage/Core/Model/Config/Element.php @@ -26,7 +26,7 @@ class Mage_Core_Model_Config_Element extends Varien_Simplexml_Element * @param string $var * @param string|true $value * @return bool - * @SuppressWarnings(PHPMD.ShortMethodName) + * @SuppressWarnings("PHPMD.ShortMethodName") */ public function is($var, $value = true) { diff --git a/app/code/core/Mage/Core/Model/Config/Options.php b/app/code/core/Mage/Core/Model/Config/Options.php index 25256984127..49c5556d447 100644 --- a/app/code/core/Mage/Core/Model/Config/Options.php +++ b/app/code/core/Mage/Core/Model/Config/Options.php @@ -258,7 +258,7 @@ public function getExportDir() * @param string $dir * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function createDirIfNotExists($dir) { diff --git a/app/code/core/Mage/Core/Model/Date.php b/app/code/core/Mage/Core/Model/Date.php index 5156d0b5b11..9260e371875 100644 --- a/app/code/core/Mage/Core/Model/Date.php +++ b/app/code/core/Mage/Core/Model/Date.php @@ -62,7 +62,7 @@ protected function _getConfigTimezone() * @param string $timezone * @return int offset between timezone and gmt * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function calculateOffset($timezone = null) { diff --git a/app/code/core/Mage/Core/Model/Design/Package.php b/app/code/core/Mage/Core/Model/Design/Package.php index e1ff52ffaa4..39f59b30606 100644 --- a/app/code/core/Mage/Core/Model/Design/Package.php +++ b/app/code/core/Mage/Core/Model/Design/Package.php @@ -608,8 +608,8 @@ private function _listDirectories($path, $fullPath = false) * @param string $regexpsConfigPath * @return false|string * - * @SuppressWarnings(PHPMD.CamelCaseVariableName)) - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.CamelCaseVariableName")) + * @SuppressWarnings("PHPMD.Superglobals") */ protected function _checkUserAgentAgainstRegexps($regexpsConfigPath) { @@ -647,9 +647,9 @@ protected function _checkUserAgentAgainstRegexps($regexpsConfigPath) * @param string $regexpsConfigPath * @return bool|string * - * @SuppressWarnings(PHPMD.ErrorControlOperator) - * @SuppressWarnings(PHPMD.CamelCaseVariableName) - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.ErrorControlOperator") + * @SuppressWarnings("PHPMD.CamelCaseVariableName") + * @SuppressWarnings("PHPMD.Superglobals") */ public static function getPackageByUserAgent(array $rules, $regexpsConfigPath = 'path_mock') { diff --git a/app/code/core/Mage/Core/Model/Email/Queue.php b/app/code/core/Mage/Core/Model/Email/Queue.php index d0ccb9c87b0..5d3a84f4a3d 100644 --- a/app/code/core/Mage/Core/Model/Email/Queue.php +++ b/app/code/core/Mage/Core/Model/Email/Queue.php @@ -120,7 +120,7 @@ public function addMessageToQueue() * @param array|string|null $names * @param int $type * @return $this - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ public function addRecipients($emails, $names = null, $type = self::EMAIL_TYPE_TO) { diff --git a/app/code/core/Mage/Core/Model/File/Storage/Abstract.php b/app/code/core/Mage/Core/Model/File/Storage/Abstract.php index 334db7f4bf7..b775d36155b 100644 --- a/app/code/core/Mage/Core/Model/File/Storage/Abstract.php +++ b/app/code/core/Mage/Core/Model/File/Storage/Abstract.php @@ -58,7 +58,7 @@ public function getMediaBaseDirectory() * @param string $path * @return array * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function collectFileInfo($path) { diff --git a/app/code/core/Mage/Core/Model/Locale.php b/app/code/core/Mage/Core/Model/Locale.php index 20a0686598a..c7457f72589 100644 --- a/app/code/core/Mage/Core/Model/Locale.php +++ b/app/code/core/Mage/Core/Model/Locale.php @@ -582,7 +582,7 @@ public function utcDate($store, $date, $includeTime = false, $format = null) * @param mixed $store * @return int * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function storeTimeStamp($store = null) { @@ -599,7 +599,7 @@ public function storeTimeStamp($store = null) * * @param string $currency * @return Zend_Currency - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ public function currency($currency) { diff --git a/app/code/core/Mage/Core/Model/Resource/Abstract.php b/app/code/core/Mage/Core/Model/Resource/Abstract.php index 92b536135de..55497b83026 100644 --- a/app/code/core/Mage/Core/Model/Resource/Abstract.php +++ b/app/code/core/Mage/Core/Model/Resource/Abstract.php @@ -70,7 +70,7 @@ public function beginTransaction() * * @param callable $callback * @return $this - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ public function addCommitCallback($callback) { @@ -83,7 +83,7 @@ public function addCommitCallback($callback) * Commit resource transaction * * @return $this - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ public function commit() { @@ -108,7 +108,7 @@ public function commit() * Roll back resource transaction * * @return $this - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ public function rollBack() { diff --git a/app/code/core/Mage/Core/Model/Resource/File/Storage/File.php b/app/code/core/Mage/Core/Model/Resource/File/Storage/File.php index ed996280f19..82ac159b713 100644 --- a/app/code/core/Mage/Core/Model/Resource/File/Storage/File.php +++ b/app/code/core/Mage/Core/Model/Resource/File/Storage/File.php @@ -108,7 +108,7 @@ public function getStorageData($dir = '') * @param string $dir * @return $this * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function clear($dir = '') { @@ -158,7 +158,7 @@ protected function _getIgnoredFiles() * @param array $dir * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function saveDir($dir) { @@ -191,7 +191,7 @@ public function saveDir($dir) * @return bool true if file written, otherwise false * @throws Mage_Core_Exception * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function saveFile($filePath, $content, $overwrite = false) { @@ -237,7 +237,7 @@ public function saveFile($filePath, $content, $overwrite = false) * @param string $filePath * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function lockCreateFile($filePath) { @@ -282,7 +282,7 @@ public function lockCreateFile($filePath) * * @param string $filePath * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function removeLockedFile($filePath) { diff --git a/app/code/core/Mage/Core/Model/Resource/Resource.php b/app/code/core/Mage/Core/Model/Resource/Resource.php index 8e1042d96c9..711611cd9ee 100644 --- a/app/code/core/Mage/Core/Model/Resource/Resource.php +++ b/app/code/core/Mage/Core/Model/Resource/Resource.php @@ -50,7 +50,7 @@ protected function _construct() * * @param string $needType Can be 'db' or 'data' * @return $this - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ protected function _loadVersionData($needType) { @@ -85,7 +85,7 @@ protected function _loadVersionData($needType) * * @param string $resName * @return string|false - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ public function getDbVersion($resName) { @@ -102,7 +102,7 @@ public function getDbVersion($resName) * @param string $resName * @param string $version * @return int - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ public function setDbVersion($resName, $version) { @@ -129,7 +129,7 @@ public function setDbVersion($resName, $version) * * @param string $resName * @return string|false - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ public function getDataVersion($resName) { @@ -148,7 +148,7 @@ public function getDataVersion($resName) * @param string $resName * @param string $version * @return $this - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ public function setDataVersion($resName, $version) { diff --git a/app/code/core/Mage/Core/Model/Resource/Session.php b/app/code/core/Mage/Core/Model/Resource/Session.php index 7b795cb7eeb..a125cedf358 100644 --- a/app/code/core/Mage/Core/Model/Resource/Session.php +++ b/app/code/core/Mage/Core/Model/Resource/Session.php @@ -259,7 +259,7 @@ public function destroy($sessId) * * @param int $sessMaxLifeTime ignored * @return bool - * @SuppressWarnings(PHPMD.ShortMethodName) + * @SuppressWarnings("PHPMD.ShortMethodName") */ #[\ReturnTypeWillChange] public function gc($sessMaxLifeTime) diff --git a/app/code/core/Mage/Core/Model/Session/Abstract.php b/app/code/core/Mage/Core/Model/Session/Abstract.php index 8a54017b042..0b8cd0ceb86 100644 --- a/app/code/core/Mage/Core/Model/Session/Abstract.php +++ b/app/code/core/Mage/Core/Model/Session/Abstract.php @@ -358,7 +358,7 @@ public function addUniqueMessages($messages) * Specify session identifier * * @inheritDoc - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function setSessionId($id = null) { @@ -426,7 +426,7 @@ public function getSkipSessionIdFlag() * * @param string $urlHost can be host or url * @return string {session_id_key}={session_id_encrypted} - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ public function getSessionIdForHost($urlHost) { diff --git a/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php b/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php index c77dd201a5b..efaabb063b9 100644 --- a/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php +++ b/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php @@ -51,8 +51,8 @@ class Mage_Core_Model_Session_Abstract_Varien extends Varien_Object * @param string $sessionName * @return $this * @throws Mage_Core_Model_Store_Exception - * @SuppressWarnings(PHPMD.Superglobals) - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.Superglobals") + * @SuppressWarnings("PHPMD.ExitExpression") */ public function start($sessionName = null) { @@ -270,7 +270,7 @@ public function revalidateCookie() * @param string $namespace * @param string $sessionName * @return $this - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function init($namespace, $sessionName = null) { @@ -468,7 +468,7 @@ public function getValidateHttpUserAgentSkip() * * @throws Mage_Core_Model_Session_Exception * @return $this - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function validate() { @@ -502,7 +502,7 @@ public function validate() * * @param int $timestamp * @return void - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function setValidatorSessionRenewTimestamp($timestamp) { @@ -513,7 +513,7 @@ public function setValidatorSessionRenewTimestamp($timestamp) * Validate data * * @return bool - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ protected function _validate() { @@ -573,7 +573,7 @@ protected function _validate() * Retrieve unique user data for validator * * @return array - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function getValidatorData() { @@ -611,7 +611,7 @@ public function getValidatorData() /** * @return array - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function getSessionValidatorData() { diff --git a/app/code/core/Mage/Core/Model/Store.php b/app/code/core/Mage/Core/Model/Store.php index 7ca1698e1a5..6ceb63b02a0 100644 --- a/app/code/core/Mage/Core/Model/Store.php +++ b/app/code/core/Mage/Core/Model/Store.php @@ -539,7 +539,7 @@ public function processSubst($value) * Retrieve default base path * * @return string - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function getDefaultBasePath() { @@ -629,7 +629,7 @@ public function getBaseUrl($type = self::URL_TYPE_LINK, $secure = null) * * @param string $url * @return string - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ protected function _updatePathUseRewrites($url) { diff --git a/app/code/core/Mage/Core/Model/Translate.php b/app/code/core/Mage/Core/Model/Translate.php index 02c7b408e27..35fda12c0cf 100644 --- a/app/code/core/Mage/Core/Model/Translate.php +++ b/app/code/core/Mage/Core/Model/Translate.php @@ -381,7 +381,7 @@ public function getTranslate() * * @param array $args * @return string - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function translate($args) { diff --git a/app/code/core/Mage/Core/Model/Url.php b/app/code/core/Mage/Core/Model/Url.php index 7ea2ba6c0e7..b1d357cfd34 100644 --- a/app/code/core/Mage/Core/Model/Url.php +++ b/app/code/core/Mage/Core/Model/Url.php @@ -259,7 +259,7 @@ public function getDefaultActionName() * @param string $key * @param string|null $prefix * @return string - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ public function getConfigData($key, $prefix = null) { diff --git a/app/code/core/Mage/Core/Model/Url/Rewrite.php b/app/code/core/Mage/Core/Model/Url/Rewrite.php index 8f66630c584..662451d2d77 100644 --- a/app/code/core/Mage/Core/Model/Url/Rewrite.php +++ b/app/code/core/Mage/Core/Model/Url/Rewrite.php @@ -205,7 +205,7 @@ public function removeTag($tags) * @return bool * @throws Mage_Core_Model_Store_Exception * @deprecated since 1.7.0.2. Refactored and moved to Mage_Core_Controller_Request_Rewrite - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function rewrite(?Zend_Controller_Request_Http $request = null, ?Zend_Controller_Response_Http $response = null) { @@ -312,7 +312,7 @@ public function rewrite(?Zend_Controller_Request_Http $request = null, ?Zend_Con * * @return bool|string * @deprecated since 1.7.0.2. Refactored and moved to Mage_Core_Controller_Request_Rewrite - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ protected function _getQueryString() { @@ -349,7 +349,7 @@ public function getStoreId() * @param string $url * @param bool $isPermanent * @deprecated since 1.7.0.2. Refactored and moved to Mage_Core_Controller_Request_Rewrite - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ protected function _sendRedirectHeaders($url, $isPermanent = false) { diff --git a/app/code/core/Mage/Core/Model/Url/Rewrite/Request.php b/app/code/core/Mage/Core/Model/Url/Rewrite/Request.php index 9f8f7d14d55..c9e9b023f44 100644 --- a/app/code/core/Mage/Core/Model/Url/Rewrite/Request.php +++ b/app/code/core/Mage/Core/Model/Url/Rewrite/Request.php @@ -281,7 +281,7 @@ protected function _getRequestCases() * * @param string $url * @param bool $isPermanent - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ protected function _sendRedirectHeaders($url, $isPermanent = false) { @@ -299,7 +299,7 @@ protected function _sendRedirectHeaders($url, $isPermanent = false) * Prepare and return QUERY_STRING * * @return bool|string - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ protected function _getQueryString() { diff --git a/app/code/core/Mage/Core/functions.php b/app/code/core/Mage/Core/functions.php index 884336953f7..47698522792 100644 --- a/app/code/core/Mage/Core/functions.php +++ b/app/code/core/Mage/Core/functions.php @@ -34,7 +34,7 @@ function destruct($object) * * @return string * @deprecated 1.3 - * @SuppressWarnings(PHPMD.ShortMethodName) + * @SuppressWarnings("PHPMD.ShortMethodName") */ function __() { @@ -196,7 +196,7 @@ function mageCoreErrorHandler($errno, $errstr, $errfile, $errline) * @param bool $showFirst * @return string|null * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ function mageDebugBacktrace($return = false, $html = true, $showFirst = false) { @@ -236,7 +236,7 @@ function mageSendErrorFooter() /** * @param string $path * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ function mageDelTree($path) { @@ -294,7 +294,7 @@ function mageParseCsv($string, $delimiter = ',', $enclosure = '"', $escape = '\\ * @param string $dir * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ function isDirWriteable($dir) { diff --git a/app/code/core/Mage/Customer/Model/Address/Abstract.php b/app/code/core/Mage/Customer/Model/Address/Abstract.php index 62e091ca2e0..9dfe5085969 100644 --- a/app/code/core/Mage/Customer/Model/Address/Abstract.php +++ b/app/code/core/Mage/Customer/Model/Address/Abstract.php @@ -334,7 +334,7 @@ public function getCountry() * Retrieve country model * * @return Mage_Directory_Model_Country - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ public function getCountryModel() { @@ -351,7 +351,7 @@ public function getCountryModel() * * @param int|null $region * @return Mage_Directory_Model_Country - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ public function getRegionModel($region = null) { diff --git a/app/code/core/Mage/Customer/Model/Group.php b/app/code/core/Mage/Customer/Model/Group.php index a1cad1617af..f7d4ec3f522 100644 --- a/app/code/core/Mage/Customer/Model/Group.php +++ b/app/code/core/Mage/Customer/Model/Group.php @@ -90,7 +90,7 @@ public function getCode() /** * @param int|null $groupId * @return int - * @SuppressWarnings(PHPMD.CamelCaseVariableName) + * @SuppressWarnings("PHPMD.CamelCaseVariableName") */ public function getTaxClassId($groupId = null) { diff --git a/app/code/core/Mage/Dataflow/Model/Convert/Adapter/Http.php b/app/code/core/Mage/Dataflow/Model/Convert/Adapter/Http.php index 277b3f1abee..67b59315400 100644 --- a/app/code/core/Mage/Dataflow/Model/Convert/Adapter/Http.php +++ b/app/code/core/Mage/Dataflow/Model/Convert/Adapter/Http.php @@ -23,8 +23,8 @@ class Mage_Dataflow_Model_Convert_Adapter_Http extends Mage_Dataflow_Model_Convert_Adapter_Abstract { /** - * @SuppressWarnings(PHPMD.ExitExpression) - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.ExitExpression") + * @SuppressWarnings("PHPMD.Superglobals") */ public function load() { @@ -54,8 +54,8 @@ public function save() /** * Experimental code * - * @SuppressWarnings(PHPMD.ExitExpression) - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.ExitExpression") + * @SuppressWarnings("PHPMD.Superglobals") */ public function loadFile() { diff --git a/app/code/core/Mage/Dataflow/Model/Convert/Iterator/Http.php b/app/code/core/Mage/Dataflow/Model/Convert/Iterator/Http.php index 2576ab233f7..7bdd94f4739 100644 --- a/app/code/core/Mage/Dataflow/Model/Convert/Iterator/Http.php +++ b/app/code/core/Mage/Dataflow/Model/Convert/Iterator/Http.php @@ -23,8 +23,8 @@ class Mage_Dataflow_Model_Convert_Iterator_Http extends Mage_Dataflow_Model_Convert_Adapter_Abstract { /** - * @SuppressWarnings(PHPMD.ExitExpression) - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.ExitExpression") + * @SuppressWarnings("PHPMD.Superglobals") */ public function load() { diff --git a/app/code/core/Mage/Dataflow/Model/Convert/Profile/Abstract.php b/app/code/core/Mage/Dataflow/Model/Convert/Profile/Abstract.php index 65682651f47..c8ff4449861 100644 --- a/app/code/core/Mage/Dataflow/Model/Convert/Profile/Abstract.php +++ b/app/code/core/Mage/Dataflow/Model/Convert/Profile/Abstract.php @@ -18,7 +18,7 @@ * * @category Mage * @package Mage_Dataflow - * @SuppressWarnings(PHPMD.CamelCasePropertyName) + * @SuppressWarnings("PHPMD.CamelCasePropertyName") */ abstract class Mage_Dataflow_Model_Convert_Profile_Abstract implements Mage_Dataflow_Model_Convert_Profile_Interface { diff --git a/app/code/core/Mage/Dataflow/Model/Convert/Profile/Collection.php b/app/code/core/Mage/Dataflow/Model/Convert/Profile/Collection.php index 751cc915299..f7dde16408f 100644 --- a/app/code/core/Mage/Dataflow/Model/Convert/Profile/Collection.php +++ b/app/code/core/Mage/Dataflow/Model/Convert/Profile/Collection.php @@ -91,7 +91,7 @@ public function getClassNameByType($type) } /** - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function importXml($xml) { diff --git a/app/code/core/Mage/Dataflow/Model/Profile.php b/app/code/core/Mage/Dataflow/Model/Profile.php index cd84c3c91d1..1163196d315 100644 --- a/app/code/core/Mage/Dataflow/Model/Profile.php +++ b/app/code/core/Mage/Dataflow/Model/Profile.php @@ -84,7 +84,7 @@ protected function _afterLoad() } /** - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _beforeSave() { @@ -141,7 +141,7 @@ protected function _beforeSave() } /** - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ protected function _afterSave() { diff --git a/app/code/core/Mage/Dataflow/Model/Session/Adapter/Http.php b/app/code/core/Mage/Dataflow/Model/Session/Adapter/Http.php index f5991dc1166..d612e8c597f 100644 --- a/app/code/core/Mage/Dataflow/Model/Session/Adapter/Http.php +++ b/app/code/core/Mage/Dataflow/Model/Session/Adapter/Http.php @@ -23,8 +23,8 @@ class Mage_Dataflow_Model_Session_Adapter_Http extends Mage_Dataflow_Model_Convert_Adapter_Abstract { /** - * @SuppressWarnings(PHPMD.ExitExpression) - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.ExitExpression") + * @SuppressWarnings("PHPMD.Superglobals") */ public function load() { diff --git a/app/code/core/Mage/Directory/Model/Currency/Import/Abstract.php b/app/code/core/Mage/Directory/Model/Currency/Import/Abstract.php index 29e7a8ec91b..4b0df235a29 100644 --- a/app/code/core/Mage/Directory/Model/Currency/Import/Abstract.php +++ b/app/code/core/Mage/Directory/Model/Currency/Import/Abstract.php @@ -85,7 +85,7 @@ public function importRates() /** * @return array - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function fetchRates() { diff --git a/app/code/core/Mage/Directory/Model/Currency/Import/Currencyconverterapi.php b/app/code/core/Mage/Directory/Model/Currency/Import/Currencyconverterapi.php index a38b10245f1..92c9662b498 100644 --- a/app/code/core/Mage/Directory/Model/Currency/Import/Currencyconverterapi.php +++ b/app/code/core/Mage/Directory/Model/Currency/Import/Currencyconverterapi.php @@ -97,7 +97,7 @@ public function fetchRates() * * @param string $currencyFrom * @return array - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _convertBatch(array $data, $currencyFrom, array $currenciesTo) { diff --git a/app/code/core/Mage/Directory/Model/Currency/Import/Fixerio.php b/app/code/core/Mage/Directory/Model/Currency/Import/Fixerio.php index 13986f7f026..04c5a53c35b 100644 --- a/app/code/core/Mage/Directory/Model/Currency/Import/Fixerio.php +++ b/app/code/core/Mage/Directory/Model/Currency/Import/Fixerio.php @@ -97,7 +97,7 @@ public function fetchRates() * * @param string $currencyFrom * @return array - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _convertBatch(array $data, $currencyFrom, array $currenciesTo) { diff --git a/app/code/core/Mage/Downloadable/Helper/Download.php b/app/code/core/Mage/Downloadable/Helper/Download.php index b4ded15e7e4..c0898f68523 100644 --- a/app/code/core/Mage/Downloadable/Helper/Download.php +++ b/app/code/core/Mage/Downloadable/Helper/Download.php @@ -215,7 +215,7 @@ public function getContentType() /** * @return bool|mixed|string * @throws Exception - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function getFilename() { diff --git a/app/code/core/Mage/Downloadable/controllers/Adminhtml/Downloadable/Product/EditController.php b/app/code/core/Mage/Downloadable/controllers/Adminhtml/Downloadable/Product/EditController.php index 72693faa9ae..0ae79184d2f 100644 --- a/app/code/core/Mage/Downloadable/controllers/Adminhtml/Downloadable/Product/EditController.php +++ b/app/code/core/Mage/Downloadable/controllers/Adminhtml/Downloadable/Product/EditController.php @@ -85,7 +85,7 @@ protected function _processDownload($resource, $resourceType) /** * Download link action * - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function linkAction() { diff --git a/app/code/core/Mage/Downloadable/controllers/DownloadController.php b/app/code/core/Mage/Downloadable/controllers/DownloadController.php index 26b06769a41..2e969e3a32c 100644 --- a/app/code/core/Mage/Downloadable/controllers/DownloadController.php +++ b/app/code/core/Mage/Downloadable/controllers/DownloadController.php @@ -83,7 +83,7 @@ protected function _processDownload($resource, $resourceType) /** * Download sample action * - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function sampleAction() { @@ -119,7 +119,7 @@ public function sampleAction() /** * Download link's sample action * - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function linkSampleAction() { @@ -156,7 +156,7 @@ public function linkSampleAction() * Download link action * * @return Mage_Core_Controller_Varien_Action|void - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function linkAction() { diff --git a/app/code/core/Mage/Eav/Model/Attribute/Data/File.php b/app/code/core/Mage/Eav/Model/Attribute/Data/File.php index 0bf683e9073..049bd345d09 100644 --- a/app/code/core/Mage/Eav/Model/Attribute/Data/File.php +++ b/app/code/core/Mage/Eav/Model/Attribute/Data/File.php @@ -33,7 +33,7 @@ class Mage_Eav_Model_Attribute_Data_File extends Mage_Eav_Model_Attribute_Data_A * Extract data from request and return value * * @return false|array|string - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function extractValue(Zend_Controller_Request_Http $request) { diff --git a/app/code/core/Mage/Eav/Model/Attribute/Data/Image.php b/app/code/core/Mage/Eav/Model/Attribute/Data/Image.php index d4fa3a1f86f..e9720b2e1cf 100644 --- a/app/code/core/Mage/Eav/Model/Attribute/Data/Image.php +++ b/app/code/core/Mage/Eav/Model/Attribute/Data/Image.php @@ -29,7 +29,7 @@ class Mage_Eav_Model_Attribute_Data_Image extends Mage_Eav_Model_Attribute_Data_ * @param array $value * @return array * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _validateByRules($value) { diff --git a/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php b/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php index d0c63bc48df..5e2b41da7e2 100644 --- a/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php +++ b/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php @@ -186,7 +186,7 @@ protected function _init($model, $entityModel = null) * @param Mage_Eav_Model_Entity_Abstract $entity * @throws Mage_Eav_Exception * @return $this - * @SuppressWarnings(PHPMD.DevelopmentCodeFragment) + * @SuppressWarnings("PHPMD.DevelopmentCodeFragment") */ public function setEntity($entity) { diff --git a/app/code/core/Mage/ImportExport/Model/Import.php b/app/code/core/Mage/ImportExport/Model/Import.php index 5c22e4f1a65..1bcfc28180d 100644 --- a/app/code/core/Mage/ImportExport/Model/Import.php +++ b/app/code/core/Mage/ImportExport/Model/Import.php @@ -382,7 +382,7 @@ public function expandSource() * * @throws Mage_Core_Exception * @return string Source file path - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function uploadSource() { diff --git a/app/code/core/Mage/ImportExport/Model/Import/Entity/Product.php b/app/code/core/Mage/ImportExport/Model/Import/Entity/Product.php index 4e17ad33520..302a3a3d961 100644 --- a/app/code/core/Mage/ImportExport/Model/Import/Entity/Product.php +++ b/app/code/core/Mage/ImportExport/Model/Import/Entity/Product.php @@ -1688,7 +1688,7 @@ protected function _saveProductGroupPrices(array $groupPriceData) /** * Returns an object for upload a media files * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _getUploader() { diff --git a/app/code/core/Mage/ImportExport/controllers/Adminhtml/ImportController.php b/app/code/core/Mage/ImportExport/controllers/Adminhtml/ImportController.php index 76aaf8a5189..6562a0410bd 100644 --- a/app/code/core/Mage/ImportExport/controllers/Adminhtml/ImportController.php +++ b/app/code/core/Mage/ImportExport/controllers/Adminhtml/ImportController.php @@ -102,7 +102,7 @@ public function startAction() /** * Validate uploaded files action. * - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function validateAction() { diff --git a/app/code/core/Mage/Install/Model/Installer/Console.php b/app/code/core/Mage/Install/Model/Installer/Console.php index bd7ebd29114..8d8fa109907 100644 --- a/app/code/core/Mage/Install/Model/Installer/Console.php +++ b/app/code/core/Mage/Install/Model/Installer/Console.php @@ -93,7 +93,7 @@ protected function _getOptions() * * @param array $args * @return bool - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function setArgs($args = null) { @@ -311,7 +311,7 @@ protected function _prepareData() * * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function install() { diff --git a/app/code/core/Mage/Install/controllers/WizardController.php b/app/code/core/Mage/Install/controllers/WizardController.php index e51d570fb00..b80edff6327 100644 --- a/app/code/core/Mage/Install/controllers/WizardController.php +++ b/app/code/core/Mage/Install/controllers/WizardController.php @@ -75,7 +75,7 @@ protected function _prepareLayout() * Checking installation status * * @return bool - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ protected function _checkIfInstalled() { diff --git a/app/code/core/Mage/Media/Model/File/Image.php b/app/code/core/Mage/Media/Model/File/Image.php index 6ff740be68a..1f685188738 100644 --- a/app/code/core/Mage/Media/Model/File/Image.php +++ b/app/code/core/Mage/Media/Model/File/Image.php @@ -195,7 +195,7 @@ public function saveAs(Mage_Media_Model_Image $object, $extension = null) * Retrieve image dimensions * * @return Varien_Object - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function getDimensions(Mage_Media_Model_Image $object) { diff --git a/app/code/core/Mage/Oauth/Model/Observer.php b/app/code/core/Mage/Oauth/Model/Observer.php index dd05c141303..802c7576e14 100644 --- a/app/code/core/Mage/Oauth/Model/Observer.php +++ b/app/code/core/Mage/Oauth/Model/Observer.php @@ -35,7 +35,7 @@ protected function _getOauthToken() /** * Redirect customer to callback page after login * - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function afterCustomerLogin(Varien_Event_Observer $observer) { @@ -53,7 +53,7 @@ public function afterCustomerLogin(Varien_Event_Observer $observer) /** * Redirect admin to authorize controller after login success * - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function afterAdminLogin(Varien_Event_Observer $observer) { @@ -71,7 +71,7 @@ public function afterAdminLogin(Varien_Event_Observer $observer) /** * Redirect admin to authorize controller after login fail * - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function afterAdminLoginFailed(Varien_Event_Observer $observer) { diff --git a/app/code/core/Mage/Page/Block/Template/Links.php b/app/code/core/Mage/Page/Block/Template/Links.php index ac85c59eec1..01b4cc5ee51 100644 --- a/app/code/core/Mage/Page/Block/Template/Links.php +++ b/app/code/core/Mage/Page/Block/Template/Links.php @@ -69,7 +69,7 @@ public function getLinks() * @param string $beforeText * @param string $afterText * @return $this - * @SuppressWarnings(PHPMD.ExcessiveParameterList) + * @SuppressWarnings("PHPMD.ExcessiveParameterList") */ public function addLink( $label, diff --git a/app/code/core/Mage/Paypal/Model/Ipn.php b/app/code/core/Mage/Paypal/Model/Ipn.php index 62d1a63b790..28c687be827 100644 --- a/app/code/core/Mage/Paypal/Model/Ipn.php +++ b/app/code/core/Mage/Paypal/Model/Ipn.php @@ -172,7 +172,7 @@ protected function _postBack(Zend_Http_Client_Adapter_Interface $httpAdapter) * * @return Mage_Sales_Model_Order * @throws Exception - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ protected function _getOrder() { diff --git a/app/code/core/Mage/Paypal/Model/Payflow/Request.php b/app/code/core/Mage/Paypal/Model/Payflow/Request.php index 9b5da876175..d1b082ca1cc 100644 --- a/app/code/core/Mage/Paypal/Model/Payflow/Request.php +++ b/app/code/core/Mage/Paypal/Model/Payflow/Request.php @@ -29,7 +29,7 @@ class Mage_Paypal_Model_Payflow_Request extends Varien_Object * @param string $method * @param array $args * @return mixed - * @SuppressWarnings(PHPMD.DevelopmentCodeFragment) + * @SuppressWarnings("PHPMD.DevelopmentCodeFragment") */ public function __call($method, $args) { diff --git a/app/code/core/Mage/Paypal/Model/Report/Settlement.php b/app/code/core/Mage/Paypal/Model/Report/Settlement.php index babed93e72e..699006fdfb0 100644 --- a/app/code/core/Mage/Paypal/Model/Report/Settlement.php +++ b/app/code/core/Mage/Paypal/Model/Report/Settlement.php @@ -182,7 +182,7 @@ protected function _beforeSave() * @param array $config SFTP credentials * @return int Number of report rows that were fetched and saved successfully * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function fetchAndSave($config) { diff --git a/app/code/core/Mage/Paypal/Model/System/Config/Backend/Cert.php b/app/code/core/Mage/Paypal/Model/System/Config/Backend/Cert.php index 69b89132e31..7463fe57e4d 100644 --- a/app/code/core/Mage/Paypal/Model/System/Config/Backend/Cert.php +++ b/app/code/core/Mage/Paypal/Model/System/Config/Backend/Cert.php @@ -26,7 +26,7 @@ class Mage_Paypal_Model_System_Config_Backend_Cert extends Mage_Core_Model_Confi * Process additional data before save config * * @return $this - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ protected function _beforeSave() { diff --git a/app/code/core/Mage/Paypal/controllers/IpnController.php b/app/code/core/Mage/Paypal/controllers/IpnController.php index 295effb0468..fc5401484dd 100644 --- a/app/code/core/Mage/Paypal/controllers/IpnController.php +++ b/app/code/core/Mage/Paypal/controllers/IpnController.php @@ -25,7 +25,7 @@ class Mage_Paypal_IpnController extends Mage_Core_Controller_Front_Action /** * Instantiate IPN model and pass IPN request to it * - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function indexAction() { diff --git a/app/code/core/Mage/Paypal/controllers/StandardController.php b/app/code/core/Mage/Paypal/controllers/StandardController.php index fa13823e6c4..b5455687a72 100644 --- a/app/code/core/Mage/Paypal/controllers/StandardController.php +++ b/app/code/core/Mage/Paypal/controllers/StandardController.php @@ -40,7 +40,7 @@ public function getOrder() /** * Send expire header to ajax response * - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ protected function _expireAjax() { diff --git a/app/code/core/Mage/Reports/Model/Resource/Report/Abstract.php b/app/code/core/Mage/Reports/Model/Resource/Report/Abstract.php index 934199d9d17..71b1a6713cf 100644 --- a/app/code/core/Mage/Reports/Model/Resource/Report/Abstract.php +++ b/app/code/core/Mage/Reports/Model/Resource/Report/Abstract.php @@ -257,7 +257,7 @@ protected function _makeConditionFromDateRangeSelect($select, $periodColumn) * @param string $alias * @param string $relatedAlias * @return Varien_Db_Select - * @SuppressWarnings(PHPMD.ExcessiveParameterList) + * @SuppressWarnings("PHPMD.ExcessiveParameterList") */ protected function _getTableDateRangeRelatedSelect( $table, diff --git a/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php b/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php index 4fc4885f2ce..f4552a9a245 100644 --- a/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php +++ b/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php @@ -81,7 +81,7 @@ abstract public function getPdf(); * @param float $fontSize Font size in points * @return float * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function widthForStringUsingFontSize($string, $font, $fontSize) { diff --git a/app/code/core/Mage/Sales/controllers/DownloadController.php b/app/code/core/Mage/Sales/controllers/DownloadController.php index 7047c9f848a..01b457865fa 100644 --- a/app/code/core/Mage/Sales/controllers/DownloadController.php +++ b/app/code/core/Mage/Sales/controllers/DownloadController.php @@ -73,7 +73,7 @@ protected function _validateFilePath($info) * @param string $filePath * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _processDatabaseFile($filePath) { @@ -149,7 +149,7 @@ public function downloadProfileCustomOptionAction() /** * Custom options download action * - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function downloadCustomOptionAction() { diff --git a/app/code/core/Mage/SalesRule/Model/Observer.php b/app/code/core/Mage/SalesRule/Model/Observer.php index 4916553ef4c..c97c4f2336c 100644 --- a/app/code/core/Mage/SalesRule/Model/Observer.php +++ b/app/code/core/Mage/SalesRule/Model/Observer.php @@ -50,7 +50,7 @@ public function getValidator($event) * * @deprecated process call moved to total model * @param Varien_Event_Observer $observer - * @SuppressWarnings(PHPMD.CamelCaseMethodName) + * @SuppressWarnings("PHPMD.CamelCaseMethodName") */ // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps public function sales_quote_address_discount_item($observer) @@ -64,7 +64,7 @@ public function sales_quote_address_discount_item($observer) * * @param Varien_Event_Observer $observer * @return $this - * @SuppressWarnings(PHPMD.CamelCaseMethodName) + * @SuppressWarnings("PHPMD.CamelCaseMethodName") */ // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps public function sales_order_afterPlace($observer) @@ -132,7 +132,7 @@ public function sales_order_afterPlace($observer) * Registered callback: called after an order payment is canceled * * @param Varien_Event_Observer $observer - * @SuppressWarnings(PHPMD.CamelCaseMethodName) + * @SuppressWarnings("PHPMD.CamelCaseMethodName") */ // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps public function sales_order_paymentCancel($observer) diff --git a/app/code/core/Mage/Shipping/Block/Tracking/Popup.php b/app/code/core/Mage/Shipping/Block/Tracking/Popup.php index df49a413b73..4106c4e7f72 100644 --- a/app/code/core/Mage/Shipping/Block/Tracking/Popup.php +++ b/app/code/core/Mage/Shipping/Block/Tracking/Popup.php @@ -22,7 +22,7 @@ * * @method string getProtectCode() * - * @SuppressWarnings(PHPMD.CamelCasePropertyName) + * @SuppressWarnings("PHPMD.CamelCasePropertyName") */ class Mage_Shipping_Block_Tracking_Popup extends Mage_Core_Block_Template { diff --git a/app/code/core/Mage/Shipping/Model/Carrier/Tablerate.php b/app/code/core/Mage/Shipping/Model/Carrier/Tablerate.php index 44847080768..f4fd7c6ce4b 100644 --- a/app/code/core/Mage/Shipping/Model/Carrier/Tablerate.php +++ b/app/code/core/Mage/Shipping/Model/Carrier/Tablerate.php @@ -19,7 +19,7 @@ * * @category Mage * @package Mage_Shipping - * @SuppressWarnings(PHPMD.CamelCasePropertyName) + * @SuppressWarnings("PHPMD.CamelCasePropertyName") */ class Mage_Shipping_Model_Carrier_Tablerate extends Mage_Shipping_Model_Carrier_Abstract implements Mage_Shipping_Model_Carrier_Interface { diff --git a/app/code/core/Mage/Shipping/Model/Resource/Carrier/Tablerate.php b/app/code/core/Mage/Shipping/Model/Resource/Carrier/Tablerate.php index 0b5eead5455..e714e28a4da 100644 --- a/app/code/core/Mage/Shipping/Model/Resource/Carrier/Tablerate.php +++ b/app/code/core/Mage/Shipping/Model/Resource/Carrier/Tablerate.php @@ -179,7 +179,7 @@ public function getRate(Mage_Shipping_Model_Rate_Request $request) * * @throws Mage_Core_Exception * @return $this - * @SuppressWarnings(PHPMD.Superglobals) + * @SuppressWarnings("PHPMD.Superglobals") */ public function uploadAndImport(Varien_Object $object) { diff --git a/app/code/core/Mage/Uploader/Model/Config/Abstract.php b/app/code/core/Mage/Uploader/Model/Config/Abstract.php index 3b83d66bf6b..0d0b2fa0dd2 100644 --- a/app/code/core/Mage/Uploader/Model/Config/Abstract.php +++ b/app/code/core/Mage/Uploader/Model/Config/Abstract.php @@ -40,7 +40,7 @@ protected function _getHelper() * @param array $args * @return bool|mixed|Varien_Object * @throws Varien_Exception - * @SuppressWarnings(PHPMD.DevelopmentCodeFragment) + * @SuppressWarnings("PHPMD.DevelopmentCodeFragment") */ public function __call($method, $args) { diff --git a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/PageBuilder.php b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/PageBuilder.php index 028fa4bfaf1..79634a09e8f 100644 --- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/PageBuilder.php +++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/PageBuilder.php @@ -78,7 +78,7 @@ public function setPage(Zend_Pdf_Page $page) * * @param int $pt * @return int - * @SuppressWarnings(PHPMD.ShortMethodName) + * @SuppressWarnings("PHPMD.ShortMethodName") */ protected function _x($pt) { @@ -90,7 +90,7 @@ protected function _x($pt) * * @param int $pt * @return int - * @SuppressWarnings(PHPMD.ShortMethodName) + * @SuppressWarnings("PHPMD.ShortMethodName") */ protected function _y($pt) { diff --git a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php index 0d48ea61e95..7992c7b9521 100644 --- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php +++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php @@ -2312,7 +2312,7 @@ protected function _getRestQuotes() /** * Prepare shipping rate result based on response * @return Mage_Shipping_Model_Rate_Result - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _parseRestResponse(string $rateResponse) { diff --git a/app/code/core/Mage/Wishlist/controllers/IndexController.php b/app/code/core/Mage/Wishlist/controllers/IndexController.php index 8cba85dd37e..73634edfaa4 100644 --- a/app/code/core/Mage/Wishlist/controllers/IndexController.php +++ b/app/code/core/Mage/Wishlist/controllers/IndexController.php @@ -733,7 +733,7 @@ public function sendAction() /** * Custom options download action * @return void - * @SuppressWarnings(PHPMD.ExitExpression) + * @SuppressWarnings("PHPMD.ExitExpression") */ public function downloadCustomOptionAction() { diff --git a/composer.json b/composer.json index e900f684dfb..cb784a9d0c8 100644 --- a/composer.json +++ b/composer.json @@ -49,16 +49,16 @@ "ext-xmlreader": "*", "composer/composer": "^2.7", "dealerdirect/phpcodesniffer-composer-installer": "^1.0.0", - "friendsofphp/php-cs-fixer": "^3.4", - "macopedia/phpstan-magento1": "^1.0.5", + "friendsofphp/php-cs-fixer": "^3.6", + "macopedia/phpstan-magento1": "^1.1", "magento-ecg/coding-standard": "^4.5", "openmage/dev-meta-package": "^1.0.5", "perftools/php-profiler": "^1.1", "phpcompatibility/php-compatibility": "^9.3", "phpmd/phpmd": "^2.13", - "phpstan/phpstan": "^1.12.1", - "phpunit/phpunit": "^9.5", - "rector/rector": "^1.2", + "phpstan/phpstan": "^2.1", + "phpunit/phpunit": "^9.6", + "rector/rector": "^2.0.5", "squizlabs/php_codesniffer": "^3.7", "symplify/vendor-patches": "^11.1" }, diff --git a/composer.lock b/composer.lock index 22305644e6c..c7fd66306d3 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "726cec3c24c9211dd8f0eeeed8901420", + "content-hash": "8ab5b0a7d21ed992d661f401b45576d2", "packages": [ { "name": "colinmollenhour/cache-backend-redis", @@ -4485,20 +4485,20 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.11", + "version": "2.1.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "0d1fc20a962a91be578bcfe7cf939e6e1a2ff733" + "reference": "2392d360fdf54ea253aa6c68cad1d4ba2e54e927" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0d1fc20a962a91be578bcfe7cf939e6e1a2ff733", - "reference": "0d1fc20a962a91be578bcfe7cf939e6e1a2ff733", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/2392d360fdf54ea253aa6c68cad1d4ba2e54e927", + "reference": "2392d360fdf54ea253aa6c68cad1d4ba2e54e927", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -4539,7 +4539,7 @@ "type": "github" } ], - "time": "2024-11-17T14:08:01+00:00" + "time": "2024-12-31T07:30:03+00:00" }, { "name": "phpunit/php-code-coverage", @@ -5595,21 +5595,21 @@ }, { "name": "rector/rector", - "version": "1.2.10", + "version": "2.0.5", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "40f9cf38c05296bd32f444121336a521a293fa61" + "reference": "f3354fbbdbeb090a53f5260fa5841d373540a831" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/40f9cf38c05296bd32f444121336a521a293fa61", - "reference": "40f9cf38c05296bd32f444121336a521a293fa61", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/f3354fbbdbeb090a53f5260fa5841d373540a831", + "reference": "f3354fbbdbeb090a53f5260fa5841d373540a831", "shasum": "" }, "require": { - "php": "^7.2|^8.0", - "phpstan/phpstan": "^1.12.5" + "php": "^7.4|^8.0", + "phpstan/phpstan": "^2.1.0" }, "conflict": { "rector/rector-doctrine": "*", @@ -5642,7 +5642,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/1.2.10" + "source": "https://github.com/rectorphp/rector/tree/2.0.5" }, "funding": [ { @@ -5650,7 +5650,7 @@ "type": "github" } ], - "time": "2024-11-08T13:59:10+00:00" + "time": "2024-12-31T13:11:55+00:00" }, { "name": "sebastian/cli-parser", @@ -7489,7 +7489,7 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": true, "prefer-lowest": false, "platform": { diff --git a/lib/Mage/Archive/Abstract.php b/lib/Mage/Archive/Abstract.php index aa3cf91ef8b..8ad6365cbfc 100644 --- a/lib/Mage/Archive/Abstract.php +++ b/lib/Mage/Archive/Abstract.php @@ -46,7 +46,7 @@ protected function _writeFile($destination, $data) * @return string * @throws Mage_Exception * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _readFile($source) { diff --git a/lib/Mage/Archive/Helper/File.php b/lib/Mage/Archive/Helper/File.php index e9a8327235c..2e1bfce51db 100644 --- a/lib/Mage/Archive/Helper/File.php +++ b/lib/Mage/Archive/Helper/File.php @@ -157,7 +157,7 @@ public function eof() /** * Close file * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function close() { @@ -173,7 +173,7 @@ public function close() * @param string $mode * @throws Mage_Exception * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _open($mode) { @@ -190,7 +190,7 @@ protected function _open($mode) * @param string $data * @throws Mage_Exception * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _write($data) { diff --git a/lib/Mage/Archive/Helper/File/Bz.php b/lib/Mage/Archive/Helper/File/Bz.php index dc139306fb1..b02d27df8d6 100644 --- a/lib/Mage/Archive/Helper/File/Bz.php +++ b/lib/Mage/Archive/Helper/File/Bz.php @@ -28,7 +28,7 @@ class Mage_Archive_Helper_File_Bz extends Mage_Archive_Helper_File * @throws Mage_Exception * @param string $mode * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _open($mode) { @@ -45,7 +45,7 @@ protected function _open($mode) * @throws Mage_Exception * @param $data * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _write($data) { diff --git a/lib/Mage/Archive/Helper/File/Gz.php b/lib/Mage/Archive/Helper/File/Gz.php index 9ba12569e59..a9625bf2481 100644 --- a/lib/Mage/Archive/Helper/File/Gz.php +++ b/lib/Mage/Archive/Helper/File/Gz.php @@ -39,7 +39,7 @@ public function __construct($filePath) /** * @see Mage_Archive_Helper_File::_open() * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _open($mode) { @@ -53,7 +53,7 @@ protected function _open($mode) /** * @see Mage_Archive_Helper_File::_write() * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _write($data) { diff --git a/lib/Mage/Archive/Tar.php b/lib/Mage/Archive/Tar.php index e5395781d92..8b5218c7ed2 100644 --- a/lib/Mage/Archive/Tar.php +++ b/lib/Mage/Archive/Tar.php @@ -406,7 +406,7 @@ protected function _composeHeader($long = false) * @return array list of files * @throws Mage_Exception * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _unpackCurrentTar($destination) { diff --git a/lib/Mage/Cache/Backend/File.php b/lib/Mage/Cache/Backend/File.php index a6f14dfa79a..379580a38a5 100644 --- a/lib/Mage/Cache/Backend/File.php +++ b/lib/Mage/Cache/Backend/File.php @@ -255,7 +255,7 @@ public function clean($mode = Zend_Cache::CLEANING_MODE_ALL, $tags = []) * * @return array Array of stored tags (string) * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function getTags() { @@ -369,7 +369,7 @@ public function touch($id, $extraLifetime) * @param bool $withData * @return array|bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _getCache($file, $withData) { @@ -475,7 +475,7 @@ protected function _path($id, $parts = false) * @throws Zend_Cache_Exception * @return boolean In case of success returns true * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _clean($dir, $mode = Zend_Cache::CLEANING_MODE_ALL, $tags = []) { @@ -644,7 +644,7 @@ protected function _tagFile($id) * * @return string Complete directory path * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _tagPath() { @@ -669,7 +669,7 @@ protected function _tagPath() * * @return array * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _getTagIds($tag) { @@ -744,7 +744,7 @@ protected function _updateIdsTags($ids, $tags, $mode) * * @return boolean In case of success returns true * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _filePutContents($file, $string) { @@ -762,7 +762,7 @@ protected function _filePutContents($file, $string) * @param string $id cache id * @return boolean true * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _recursiveMkdirAndChmod($id) { diff --git a/lib/Mage/DB/Mysqli.php b/lib/Mage/DB/Mysqli.php index 115e52d981b..4bcf146306f 100644 --- a/lib/Mage/DB/Mysqli.php +++ b/lib/Mage/DB/Mysqli.php @@ -68,7 +68,7 @@ public function __construct() * @param int $port * @return mixed * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function connect($host, $user, $paswd, $db, $port = self::DEFAULT_PORT) { diff --git a/lib/Mage/HTTP/Client/Socket.php b/lib/Mage/HTTP/Client/Socket.php index dcbd84c6b32..f8f99428acf 100644 --- a/lib/Mage/HTTP/Client/Socket.php +++ b/lib/Mage/HTTP/Client/Socket.php @@ -125,7 +125,7 @@ public function connect($host, $port = 80) /** * Disconnect * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function disconnect() { @@ -382,7 +382,7 @@ protected function processResponseHeaders() /** * Process response body * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function processResponseBody() { @@ -436,7 +436,7 @@ public function getStatus() * @param string $uri * @param array $params * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function makeRequest($method, $uri, $params = []) { diff --git a/lib/Mage/System/Dirs.php b/lib/Mage/System/Dirs.php index 8a693bdfe75..4854ff6b2de 100644 --- a/lib/Mage/System/Dirs.php +++ b/lib/Mage/System/Dirs.php @@ -16,7 +16,7 @@ class Mage_System_Dirs { /** - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public static function rm($dirname) { @@ -69,7 +69,7 @@ public static function rm($dirname) } /** - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public static function mkdirStrict($path, $recursive = true, $mode = 0777) { diff --git a/lib/Mage/System/Ftp.php b/lib/Mage/System/Ftp.php index a57d665975d..e3c51dc21fb 100644 --- a/lib/Mage/System/Ftp.php +++ b/lib/Mage/System/Ftp.php @@ -48,7 +48,7 @@ protected function checkConnected() * @param string $name * @return string * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function mdkir($name) { @@ -63,7 +63,7 @@ public function mdkir($name) * @param int $mode * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function mkdirRecursive($path, $mode = 0777) { @@ -94,7 +94,7 @@ public function mkdirRecursive($path, $mode = 0777) * @throws Exception on invalid login credentials * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function login($login = 'anonymous', $password = 'test@gmail.com') { @@ -116,7 +116,7 @@ public function login($login = 'anonymous', $password = 'test@gmail.com') * @throws Exception * @return array * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function validateConnectionString($string) { @@ -169,7 +169,7 @@ public function connect($string, $timeout = 900) * @param int $startPos * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function fput($remoteFile, $handle, $mode = FTP_BINARY, $startPos = 0) { @@ -220,7 +220,7 @@ public function getcwd() * @param string $cmd * @return mixed * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function raw($cmd) { @@ -294,7 +294,7 @@ public function download($remote, $local, $ftpMode = FTP_BINARY) * @param bool $pasv * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function pasv($pasv) { @@ -307,7 +307,7 @@ public function pasv($pasv) * * @return void * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function close() { @@ -323,7 +323,7 @@ public function close() * @param $remoteFile * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function chmod($mode, $remoteFile) { @@ -337,7 +337,7 @@ public function chmod($mode, $remoteFile) * @param string $dir * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function chdir($dir) { @@ -350,7 +350,7 @@ public function chdir($dir) * * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function cdup() { @@ -367,7 +367,7 @@ public function cdup() * @param int $resumeOffset * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function get($localFile, $remoteFile, $fileMode = FTP_BINARY, $resumeOffset = 0) { @@ -382,7 +382,7 @@ public function get($localFile, $remoteFile, $fileMode = FTP_BINARY, $resumeOffs * @param string $dir * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function nlist($dir = '/') { @@ -398,7 +398,7 @@ public function nlist($dir = '/') * @param bool $recursive * @return mixed * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function rawlist($dir = '/', $recursive = false) { @@ -518,7 +518,7 @@ public function correctFilePath($str) * @param string $file * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function delete($file) { diff --git a/lib/Varien/Db/Adapter/Mysqli.php b/lib/Varien/Db/Adapter/Mysqli.php index 3bb3439a7be..3cf02e2515a 100644 --- a/lib/Varien/Db/Adapter/Mysqli.php +++ b/lib/Varien/Db/Adapter/Mysqli.php @@ -25,7 +25,7 @@ class Varien_Db_Adapter_Mysqli extends Zend_Db_Adapter_Mysqli * @return void * @throws Zend_Db_Adapter_Mysqli_Exception * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _connect() { diff --git a/lib/Varien/File/Uploader.php b/lib/Varien/File/Uploader.php index 64ca4e9fe9b..cca0c7ccd7f 100644 --- a/lib/Varien/File/Uploader.php +++ b/lib/Varien/File/Uploader.php @@ -535,7 +535,7 @@ private function _setUploadFileId($fileId) } /** - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ private function _createDestinationFolder($destinationFolder) { diff --git a/lib/Varien/Image/Adapter/Abstract.php b/lib/Varien/Image/Adapter/Abstract.php index 5b891cdb22f..938df7a322e 100644 --- a/lib/Varien/Image/Adapter/Abstract.php +++ b/lib/Varien/Image/Adapter/Abstract.php @@ -142,7 +142,7 @@ abstract public function watermark($watermarkImage, $positionX = 0, $positionY = abstract public function checkDependencies(); /** - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function getMimeType() { diff --git a/lib/Varien/Image/Adapter/Gd2.php b/lib/Varien/Image/Adapter/Gd2.php index 0436d048452..0be4facefa8 100644 --- a/lib/Varien/Image/Adapter/Gd2.php +++ b/lib/Varien/Image/Adapter/Gd2.php @@ -42,7 +42,7 @@ public function __construct() /** * Destroy object image on shutdown * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function destruct() { diff --git a/lib/Varien/Io/File.php b/lib/Varien/Io/File.php index 6224ed060d6..b431461c29a 100644 --- a/lib/Varien/Io/File.php +++ b/lib/Varien/Io/File.php @@ -121,7 +121,7 @@ public function destruct() * @param string $mode * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function streamOpen($fileName, $mode = 'w+', $chmod = 0666) { @@ -185,7 +185,7 @@ public function streamUnlock() * @param int $length * @return bool|string * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function streamRead($length = 1024) { @@ -203,7 +203,7 @@ public function streamRead($length = 1024) * * @return array|false|null * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function streamReadCsv($delimiter = ',', $enclosure = '"') { @@ -219,7 +219,7 @@ public function streamReadCsv($delimiter = ',', $enclosure = '"') * @param string $str * @return bool|int * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function streamWrite($str) { @@ -235,7 +235,7 @@ public function streamWrite($str) * @param string $delimiter * @param string $enclosure * @return bool|int - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function streamWriteCsv(array $row, $delimiter = ',', $enclosure = '"') { @@ -252,7 +252,7 @@ public function streamWriteCsv(array $row, $delimiter = ',', $enclosure = '"') * * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function streamClose() { @@ -278,7 +278,7 @@ public function streamClose() * @param mixed $default default value for part * @return array|bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function streamStat($part = null, $default = null) { @@ -352,7 +352,7 @@ public function close() * @param boolean $recursive * @return boolean * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function mkdir($dir, $mode = 0777, $recursive = true) { @@ -376,7 +376,7 @@ public function mkdir($dir, $mode = 0777, $recursive = true) * @param string $dir * @return boolean * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function rmdir($dir, $recursive = false) { @@ -396,7 +396,7 @@ public function rmdir($dir, $recursive = false) * @param bool $recursive * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public static function rmdirRecursive($dir, $recursive = true) { @@ -436,7 +436,7 @@ public function pwd() * @return boolean * @throws Exception * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function cd($dir) { @@ -459,7 +459,7 @@ public function cd($dir) * @param string|resource $dest * @return boolean|string * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function read($filename, $dest = null) { @@ -520,7 +520,7 @@ public function write($filename, $src, $mode = null) * @param string|resource $src * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _isValidSource($src) { @@ -544,7 +544,7 @@ protected function _isValidSource($src) * @throws Varien_Io_Exception * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _isFilenameWriteable($filename) { @@ -578,7 +578,7 @@ protected function _isFilenameWriteable($filename) * @param string $src * @return bool * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ protected function _checkSrcIsFile($src) { @@ -598,7 +598,7 @@ protected function _checkSrcIsFile($src) * * @return int * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function filePutContent($filename, $src) { @@ -614,7 +614,7 @@ public function filePutContent($filename, $src) } /** - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function fileExists($file, $onlyFile = true) { @@ -632,7 +632,7 @@ public function fileExists($file, $onlyFile = true) } /** - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function isWriteable($path) { @@ -697,7 +697,7 @@ public function checkAndCreateFolder($folder, $mode = 0777) * @param string $filename * @return boolean * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function rm($filename) { @@ -718,7 +718,7 @@ public function rm($filename) * @param string $dest * @return boolean * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function mv($src, $dest) { @@ -739,7 +739,7 @@ public function mv($src, $dest) * @param string $dest * @return boolean * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function cp($src, $dest) { @@ -760,7 +760,7 @@ public function cp($src, $dest) * @param int $mode * @return boolean * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function chmod($filename, $mode) { diff --git a/lib/Varien/Io/Ftp.php b/lib/Varien/Io/Ftp.php index 73c9a686139..65e087db6c9 100644 --- a/lib/Varien/Io/Ftp.php +++ b/lib/Varien/Io/Ftp.php @@ -68,7 +68,7 @@ class Varien_Io_Ftp extends Varien_Io_Abstract * - file_mode default FTP_BINARY * * @return boolean - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function open(array $args = []) { @@ -140,7 +140,7 @@ public function open(array $args = []) * * @return boolean * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function close() { @@ -156,7 +156,7 @@ public function close() * @param boolean $recursive * @return boolean * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function mkdir($dir, $mode = 0777, $recursive = true) { @@ -169,7 +169,7 @@ public function mkdir($dir, $mode = 0777, $recursive = true) * @param string $dir * @return boolean * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function rmdir($dir, $recursive = false) { @@ -181,7 +181,7 @@ public function rmdir($dir, $recursive = false) * * @return string * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function pwd() { @@ -194,7 +194,7 @@ public function pwd() * @param string $dir * @return boolean * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function cd($dir) { @@ -241,7 +241,7 @@ public function read($filename, $dest = null) * @param string|resource $src filename, string data or source stream * @return int|boolean * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function write($filename, $src, $mode = null) { @@ -273,7 +273,7 @@ public function write($filename, $src, $mode = null) * @param string $filename * @return boolean * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function rm($filename) { @@ -287,7 +287,7 @@ public function rm($filename) * @param string $dest * @return boolean * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function mv($src, $dest) { @@ -301,7 +301,7 @@ public function mv($src, $dest) * @param int $mode * @return boolean * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function chmod($filename, $mode) { @@ -309,7 +309,7 @@ public function chmod($filename, $mode) } /** - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function ls($grep = null) { diff --git a/lib/Varien/Simplexml/Config.php b/lib/Varien/Simplexml/Config.php index 57d1882aaaa..626e5e9d8f8 100644 --- a/lib/Varien/Simplexml/Config.php +++ b/lib/Varien/Simplexml/Config.php @@ -134,7 +134,7 @@ public function getNode($path = null) * @param string $xpath * @return Varien_Simplexml_Element[]|false * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function getXpath($xpath) { diff --git a/lib/Varien/Simplexml/Config/Cache/File.php b/lib/Varien/Simplexml/Config/Cache/File.php index 95099f4e7b6..8737fe1ec22 100644 --- a/lib/Varien/Simplexml/Config/Cache/File.php +++ b/lib/Varien/Simplexml/Config/Cache/File.php @@ -44,7 +44,7 @@ public function setKey($key) * * @return boolean * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function load() { @@ -82,7 +82,7 @@ public function load() * * @return boolean * - * @SuppressWarnings(PHPMD.ErrorControlOperator) + * @SuppressWarnings("PHPMD.ErrorControlOperator") */ public function save() {