diff --git a/.phpstan.dist.baseline.neon b/.phpstan.dist.baseline.neon index b6ae7b9dac5..d2ece40d7a0 100644 --- a/.phpstan.dist.baseline.neon +++ b/.phpstan.dist.baseline.neon @@ -1,6529 +1,6397 @@ parameters: ignoreErrors: - - message: '#^Call to an undefined method Mage_Core_Model_Abstract\:\:addError\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 'Comparison operation "==" between (Varien_Simplexml_Element|null) and 1 results in an error.' identifier: equal.invalid count: 1 path: app/code/core/Mage/Admin/Model/Config.php - - message: '#^Cannot call method getClassName\(\) on SimpleXMLElement\|false\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Admin_Model_Resource_Roles::update().' identifier: method.notFound count: 1 path: app/code/core/Mage/Admin/Model/Roles.php - - message: '#^Comparison operation "\=\=" between \(Varien_Simplexml_Element\|null\) and 1 results in an error\.$#' + rawMessage: 'Comparison operation "==" between (Varien_Simplexml_Element|null) and 1 results in an error.' identifier: equal.invalid count: 1 path: app/code/core/Mage/Admin/Model/Roles.php - - message: '#^Call to an undefined method Mage_Admin_Model_Resource_Rules\:\:update\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Admin_Model_Resource_Rules::update().' identifier: method.notFound count: 1 path: app/code/core/Mage/Admin/Model/Rules.php - - message: '#^If condition is always true\.$#' + rawMessage: 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\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Api_Model_Resource_Roles_User_Collection::setUserFilter().' identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Api/Tab/Userroles.php - - message: '#^Parameter \#1 \$collection of method Mage_Adminhtml_Block_Widget_Grid\:\:setCollection\(\) expects Varien_Data_Collection_Db, Varien_Data_Collection given\.$#' + rawMessage: 'Parameter #1 $collection of method Mage_Adminhtml_Block_Widget_Grid::setCollection() expects Varien_Data_Collection_Db, Varien_Data_Collection given.' identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Cache/Grid.php - - message: '#^Cannot call method addAttributeToSelect\(\) on Mage_Core_Model_Resource_Db_Collection_Abstract\|false\.$#' + rawMessage: 'Cannot call method addAttributeToSelect() on Mage_Core_Model_Resource_Db_Collection_Abstract|false.' identifier: method.nonObject count: 1 path: app/code/core/Mage/Adminhtml/Block/Catalog/Category/Widget/Chooser.php - - message: '#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\:\:getAllOptions\(\) invoked with 2 parameters, 0 required\.$#' + rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 2 parameters, 0 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Simple.php - - message: '#^Method Mage_Catalog_Model_Product_Type_Configurable\:\:canUseAttribute\(\) invoked with 2 parameters, 1 required\.$#' + rawMessage: 'Method Mage_Catalog_Model_Product_Type_Configurable::canUseAttribute() invoked with 2 parameters, 1 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Settings.php - - message: '#^Property Mage_Adminhtml_Block_Customer_Edit_Tab_View_Sales\:\:\$_collection \(Mage_Sales_Model_Entity_Sale_Collection\) does not accept Varien_Data_Collection_Db\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 'Comparison operation "==" between (Varien_Simplexml_Element|null) and 1 results in an error.' identifier: equal.invalid count: 1 path: app/code/core/Mage/Adminhtml/Block/Page/Menu.php - - message: '#^Call to method getCollection\(\) on an unknown class Mage_Permissions_Model_Users\.$#' + rawMessage: 'Call to method getCollection() on an unknown class Mage_Permissions_Model_Users.' identifier: class.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Permissions/Grid/User.php - - message: '#^If condition is always true\.$#' + rawMessage: 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\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Admin_Model_Resource_Roles_User_Collection::setUserFilter().' identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Permissions/Tab/Userroles.php - - message: '#^Call to method getCollection\(\) on an unknown class Mage_Permissions_Model_Roles\.$#' + rawMessage: 'Call to method getCollection() on an unknown class Mage_Permissions_Model_Roles.' identifier: class.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Permissions/Usernroles.php - - message: '#^Call to method getCollection\(\) on an unknown class Mage_Permissions_Model_Users\.$#' + rawMessage: 'Call to method getCollection() on an unknown class Mage_Permissions_Model_Users.' identifier: class.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Permissions/Usernroles.php - - message: '#^Parameter \#3 \$refValues of method Mage_Adminhtml_Block_Widget_Form_Element_Dependence\:\:addFieldDependence\(\) expects array\|string, int given\.$#' + rawMessage: '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\.$#' + rawMessage: 'Parameter #1 $collection of method Mage_Adminhtml_Block_Widget_Grid::setCollection() expects Varien_Data_Collection_Db, Mage_Reports_Model_Resource_Report_Collection given.' identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Report/Grid.php - - 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\.$#' + rawMessage: 'Method Mage_Adminhtml_Block_Report_Grid_Abstract::getCollection() should return Mage_Core_Model_Resource_Db_Collection_Abstract|Mage_Reports_Model_Grouped_Collection but returns Varien_Data_Collection_Db|null.' identifier: return.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Report/Grid/Abstract.php - - message: '#^Parameter \#1 \$collection of method Mage_Adminhtml_Block_Widget_Grid\:\:setCollection\(\) expects Varien_Data_Collection_Db, Mage_Reports_Model_Grouped_Collection given\.$#' + rawMessage: 'Parameter #1 $collection of method Mage_Adminhtml_Block_Widget_Grid::setCollection() expects Varien_Data_Collection_Db, Mage_Reports_Model_Grouped_Collection given.' identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Report/Grid/Abstract.php - - message: '#^Property Mage_Adminhtml_Block_Report_Grid_Abstract\:\:\$_columnGroupBy \(string\) in isset\(\) is not nullable\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: 'Method Mage_Reports_Model_Totals::countTotals() invoked with 1 parameter, 3 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Adminhtml/Block/Report/Product/Grid.php - - 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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Parameter #1 $collection of method Mage_Adminhtml_Block_Widget_Grid::setCollection() expects Varien_Data_Collection_Db, Varien_Data_Collection given.' identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Report/Refresh/Statistics/Grid.php - - message: '#^Parameter \#2 \$filter of method Mage_Reports_Model_Resource_Quote_Collection\:\:prepareForAbandonedReport\(\) expects string\|null, array\\|string\> given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)$#' + rawMessage: 'Return type (int) of method Mage_Adminhtml_Block_Review_Grid_Filter_Type::getCondition() should be compatible with return type (array|null) of method Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Select::getCondition()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Adminhtml/Block/Review/Grid/Filter/Type.php - - message: '#^Call to method getIsOldCustomer\(\) on an unknown class Mage_Adminhtml_Model_Quote\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)$#' + rawMessage: '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\(\)$#' + rawMessage: '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\(\)$#' + rawMessage: '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\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Shipping_Model_Carrier_Abstract::isGirthAllowed().' identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Shipment/Packaging.php - - message: '#^Method Mage_Adminhtml_Block_Sales_Order_Shipment_Packaging\:\:getQtyOrderedItem\(\) should return int\|null but empty return statement found\.$#' + rawMessage: '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\(\)$#' + rawMessage: '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 \$entity of method Mage_Adminhtml_Block_Sales_Order_View_Giftmessage\:\:setEntity\(\) expects Mage_Sales_Model_Order, Mage_Eav_Model_Entity_Abstract given\.$#' + rawMessage: '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 \#2 \$array of function implode expects array\, array\\|string\|null\> given\.$#' + rawMessage: '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: '#^Property Mage_Adminhtml_Block_Sales_Order_View_Items_Renderer_Default\:\:\$_giftMessage \(Mage_GiftMessage_Model_Message\) does not accept default value of type array\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Parameter #1 $collection of method Mage_Adminhtml_Block_Widget_Grid::setCollection() expects Varien_Data_Collection_Db, Varien_Data_Collection given.' identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Block/Sales/Transactions/Detail/Grid.php - - message: '#^Property Mage_Adminhtml_Block_Store_Switcher_Form_Renderer_Fieldset\:\:\$_element \(Varien_Data_Form_Element_Fieldset\) does not accept Varien_Data_Form_Element_Abstract\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Cannot call method initForm() on Mage_Core_Block_Abstract|false.' identifier: method.nonObject count: 1 path: app/code/core/Mage/Adminhtml/Block/System/Config/Edit.php - - message: '#^Parameter \#1 \$array \(array\{non\-empty\-string, non\-empty\-string\}\) of array_values is already a list, call has no effect\.$#' + rawMessage: 'Parameter #1 $array (array{non-empty-string, non-empty-string}) of array_values is already a list, call has no effect.' identifier: arrayValues.list count: 1 path: app/code/core/Mage/Adminhtml/Block/System/Config/Form.php - - message: '#^Parameter \#1 \$element of method Mage_Adminhtml_Block_System_Config_Form\:\:_prepareFieldComment\(\) expects Mage_Core_Model_Config_Element, Varien_Simplexml_Element given\.$#' + rawMessage: '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\:\:_prepareFieldTooltip\(\) expects Mage_Core_Model_Config_Element, Varien_Simplexml_Element given\.$#' + rawMessage: '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 \$element of method Mage_Adminhtml_Block_System_Config_Form\:\:_prepareGroupComment\(\) expects Mage_Core_Model_Config_Element, Varien_Simplexml_Element given\.$#' + rawMessage: '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 \$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\.$#' - 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\.$#' - 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\.$#' + rawMessage: '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 \$characters of function rtrim expects string, int given\.$#' + rawMessage: 'Parameter #2 $characters 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\.$#' + rawMessage: 'Method Mage_Core_Model_Email_Template::getProcessedTemplate() invoked with 2 parameters, 0-1 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Adminhtml/Block/System/Email/Template/Preview.php - - message: '#^Call to an undefined method Mage_Tag_Model_Resource_Tag_Collection\:\:addAttributeToFilter\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Tag_Model_Resource_Tag_Collection::addAttributeToFilter().' identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Tag/Grid/All.php - - message: '#^Binary operation "\*" between string and 1 results in an error\.$#' + rawMessage: Binary operation "*" between string and 1 results in an error. identifier: binaryOp.invalid count: 1 path: app/code/core/Mage/Adminhtml/Block/Tax/Rate/Grid/Renderer/Data.php - - message: '#^Method Mage_Adminhtml_Block_Widget_Container\:\:_addButtonChildBlock\(\) should return Mage_Adminhtml_Block_Widget_Button but returns Mage_Core_Block_Abstract\|false\.$#' + rawMessage: '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\.$#' + rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 2 parameters, 0 required.' identifier: arguments.count count: 2 path: app/code/core/Mage/Adminhtml/Block/Widget/Form.php - - message: '#^Parameter \#1 \$emptyLabel of method Mage_Directory_Model_Resource_Country_Collection\:\:toOptionArray\(\) expects string, false given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Parameter \#2 \$array of function implode expects array\, list\\|string\|null\> given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Adminhtml_Block_Widget_Tab_Interface::getSkipGenerateContent().' identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php - - message: '#^Call to an undefined method Mage_Adminhtml_Block_Widget_Tab_Interface\:\:getTabId\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Adminhtml_Block_Widget_Tab_Interface::getTabId().' identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php - - message: '#^Call to an undefined method Mage_Adminhtml_Block_Widget_Tab_Interface\:\:toHtml\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Adminhtml_Block_Widget_Tab_Interface::toHtml().' identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php - - message: '#^PHPDoc tag @param references unknown parameter\: \$tabNId$#' + rawMessage: 'PHPDoc tag @param references unknown parameter: $tabNId' identifier: parameter.notFound count: 1 path: app/code/core/Mage/Adminhtml/Block/Widget/Tabs.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\(\)$#' + rawMessage: 'Return type (Mage_Admin_Model_Session) of method Mage_Adminhtml_Controller_Report_Abstract::_getSession() should be compatible with return type (Mage_Adminhtml_Model_Session) of method Mage_Adminhtml_Controller_Action::_getSession()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Adminhtml/Controller/Report/Abstract.php - - message: '#^Parameter \#1 \$creditmemos of method Mage_Sales_Model_Order_Pdf_Creditmemo\:\:getPdf\(\) expects array\, Mage_Sales_Model_Resource_Order_Creditmemo_Collection given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Parameter #1 $cache of method Varien_Simplexml_Config::setCache() expects Varien_Simplexml_Config_Cache_Abstract, Zend_Cache_Core given.' identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Model/Config.php - - message: '#^Property Mage_Adminhtml_Model_Config\:\:\$_config \(Mage_Core_Model_Config_Base\) does not accept Varien_Simplexml_Config\.$#' + rawMessage: 'Property Mage_Adminhtml_Model_Config::$_config (Mage_Core_Model_Config_Base) does not accept Varien_Simplexml_Config.' identifier: assign.propertyType count: 1 path: app/code/core/Mage/Adminhtml/Model/Config.php - - message: '#^Call to an undefined method Mage_Adminhtml_Model_Config_Data\:\:__\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Adminhtml_Model_Config_Data::__().' identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/Model/Config/Data.php - - message: '#^Parameter \#1 \$field of method Mage_Adminhtml_Model_Config_Data\:\:_isValidField\(\) expects Mage_Core_Model_Config_Element, Varien_Simplexml_Element\|false given\.$#' + rawMessage: 'Parameter #1 $field of method Mage_Adminhtml_Model_Config_Data::_isValidField() expects Mage_Core_Model_Config_Element, Varien_Simplexml_Element|false given.' identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/Model/Config/Data.php - - message: '#^Method Mage_Eav_Model_Entity_Abstract\:\:load\(\) invoked with 1 parameter, 2\-3 required\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Sales_Model_Order::createFromQuoteAddress().' identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/Model/Sales/Order/Random.php - - message: '#^Call to an undefined method Mage_Sales_Model_Order\:\:validate\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Sales_Model_Order::validate().' identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/Model/Sales/Order/Random.php - - message: '#^Call to an undefined method Mage_Sales_Model_Quote\:\:addCatalogProduct\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Sales_Model_Quote::addCatalogProduct().' identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/Model/Sales/Order/Random.php - - message: '#^Comparison operation "\=\=" between \(Varien_Simplexml_Element\|null\) and 1 results in an error\.$#' + rawMessage: 'Comparison operation "==" between (Varien_Simplexml_Element|null) and 1 results in an error.' identifier: equal.invalid count: 1 path: app/code/core/Mage/Adminhtml/Model/System/Config/Source/Admin/Page.php - - message: '#^Parameter \#1 \$emptyLabel of method Mage_Directory_Model_Resource_Country_Collection\:\:toOptionArray\(\) expects string, false given\.$#' + rawMessage: '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\.$#' + rawMessage: 'Method Varien_Data_Collection::toOptionArray() invoked with 1 parameter, 0 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Adminhtml/Model/System/Config/Source/Country.php - - 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\(\)$#' + rawMessage: 'Return type (Mage_Adminhtml_Helper_Catalog_Product_Edit_Action_Attribute) of method Mage_Adminhtml_Catalog_Product_Action_AttributeController::_getHelper() should be compatible with return type (Mage_Adminhtml_Helper_Data) of method Mage_Adminhtml_Controller_Action::_getHelper()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Adminhtml/controllers/Catalog/Product/Action/AttributeController.php - - message: '#^Ternary operator condition is always true\.$#' + rawMessage: Ternary operator condition is always true. identifier: ternary.alwaysTrue count: 1 path: app/code/core/Mage/Adminhtml/controllers/Catalog/Product/SetController.php - - message: '#^Method Mage_Adminhtml_Controller_Action\:\:_setForcedFormKeyActions\(\) invoked with 2 parameters, 1 required\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Parameter #1 $content of method Zend_Controller_Response_Abstract::setBody() expects string, int given.' identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/controllers/Customer/System/Config/ValidatevatController.php - - message: '#^Parameter \#2 \$timestamp of function date expects int\|null, array\|bool given\.$#' + rawMessage: 'Parameter #2 $timestamp of function date expects int|null, 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Cannot call method aggregate() on Mage_Core_Model_Resource_Db_Collection_Abstract|false.' identifier: method.nonObject count: 2 path: app/code/core/Mage/Adminhtml/controllers/Report/StatisticsController.php - - 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\(\)$#' + rawMessage: 'Return type (Mage_Admin_Model_Session) of method Mage_Adminhtml_Report_StatisticsController::_getSession() should be compatible with return type (Mage_Adminhtml_Model_Session) of method Mage_Adminhtml_Controller_Action::_getSession()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Adminhtml/controllers/Report/StatisticsController.php - - message: '#^Method Mage_Adminhtml_Model_Sales_Order_Create\:\:moveQuoteItem\(\) invoked with 2 parameters, 3 required\.$#' + rawMessage: 'Method Mage_Adminhtml_Model_Sales_Order_Create::moveQuoteItem() invoked with 2 parameters, 3 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/CreateController.php - - message: '#^Method Mage_Adminhtml_Model_Sales_Order_Create\:\:resetShippingMethod\(\) invoked with 1 parameter, 0 required\.$#' + rawMessage: '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\(\)$#' + rawMessage: 'Return type (Mage_Adminhtml_Model_Session_Quote) of method Mage_Adminhtml_Sales_Order_CreateController::_getSession() should be compatible with return type (Mage_Adminhtml_Model_Session) of method Mage_Adminhtml_Controller_Action::_getSession()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/CreateController.php - - message: '#^Call to an undefined method Mage_Sales_Model_Order_Creditmemo\:\:void\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Sales_Model_Order_Creditmemo::void().' identifier: method.notFound count: 1 path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/CreditmemoController.php - - message: '#^Right side of && is always true\.$#' + rawMessage: 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\.$#' + rawMessage: 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$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Parameter \#2 \$enable of function imageinterlace expects bool\|null, int given\.$#' + rawMessage: 'Parameter #2 $enable of function imageinterlace expects bool|null, int given.' identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php - - message: '#^Method Mage_Adminhtml_Controller_Action\:\:_setForcedFormKeyActions\(\) invoked with 2 parameters, 1 required\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Method Mage_Directory_Model_Country::loadByCode() invoked with 2 parameters, 1 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Adminhtml/controllers/Tax/RateController.php - - message: '#^Parameter \#1 \$ruleModel of method Mage_Adminhtml_Tax_RuleController\:\:_isValidRuleRequest\(\) expects Mage_Tax_Model_Calculation_Rule, Mage_Core_Model_Abstract given\.$#' + rawMessage: 'Parameter #1 $ruleModel of method Mage_Adminhtml_Tax_RuleController::_isValidRuleRequest() expects Mage_Tax_Model_Calculation_Rule, Mage_Core_Model_Abstract given.' identifier: argument.type count: 1 path: app/code/core/Mage/Adminhtml/controllers/Tax/RuleController.php - - message: '#^Method Mage_Api_Model_Acl\:\:_getRoleRegistry\(\) should return Mage_Api_Model_Acl_Role_Registry but returns Zend_Acl_Role_Registry\.$#' + rawMessage: '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\.$#' + rawMessage: 'Parameter #2 $resource of method Mage_Api_Model_Config::loadAclResources() expects Mage_Core_Model_Config_Element|null, Varien_Simplexml_Element given.' identifier: argument.type count: 1 path: app/code/core/Mage/Api/Model/Config.php - - message: '#^Parameter \#4 \$lifeTime of method Mage_Core_Model_App\:\:saveCache\(\) expects int\|false\|null, bool given\.$#' + rawMessage: 'Parameter #4 $lifeTime of method Mage_Core_Model_App::saveCache() expects int|false|null, bool given.' identifier: argument.type count: 1 path: app/code/core/Mage/Api/Model/Config.php - - 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\(\)$#' + rawMessage: 'Return type (Zend_Cache_Core) of method Mage_Api_Model_Config::getCache() should be compatible with return type (Varien_Simplexml_Config_Cache_Abstract) of method Varien_Simplexml_Config::getCache()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Api/Model/Config.php - - message: '#^Cannot call method getClassName\(\) on bool\|SimpleXMLElement\.$#' + rawMessage: '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\.$#' + rawMessage: 'Method Mage_Core_Model_Resource_Db_Abstract::load() invoked with 1 parameter, 2-3 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Api/Model/Resource/Roles.php - - message: '#^Parameter \#1 \$role of method Mage_Api_Model_Resource_Roles\:\:_updateRoleUsersAcl\(\) expects Mage_Api_Model_Roles, Mage_Core_Model_Abstract given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Api_Model_Resource_Roles::update().' identifier: method.notFound count: 1 path: app/code/core/Mage/Api/Model/Roles.php - - message: '#^Call to an undefined method Mage_Api_Model_Resource_Rules\:\:update\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Api_Model_Resource_Rules::update().' identifier: method.notFound count: 1 path: app/code/core/Mage/Api/Model/Rules.php - - message: '#^Parameter \#1 \$code of class SoapFault constructor expects array\|string\|null, int given\.$#' + rawMessage: 'Parameter #1 $code of class SoapFault constructor expects array|string|null, int given.' identifier: argument.type count: 1 path: app/code/core/Mage/Api/Model/Server/Adapter/Soap.php - - 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\(\)$#' + rawMessage: 'Return type (Varien_Object) of method Mage_Api_Model_Server_Adapter_Soap::getController() should be compatible with return type (Mage_Api_Controller_Action) of method Mage_Api_Model_Server_Adapter_Interface::getController()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Api/Model/Server/Adapter/Soap.php - - 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\(\)$#' + rawMessage: 'Return type (Mage_Api_Model_Wsdl_Config) of method Mage_Api_Model_Server_V2_Adapter_Soap::_getWsdlConfig() should be compatible with return type (Varien_Object) of method Mage_Api_Model_Server_Adapter_Soap::_getWsdlConfig()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Api/Model/Server/V2/Adapter/Soap.php - - message: '#^Parameter \#1 \$string of function strlen expects string, array given\.$#' + rawMessage: '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, array given\.$#' + rawMessage: 'Parameter #2 $needle of function str_contains expects string, array given.' identifier: argument.type count: 1 path: app/code/core/Mage/Api/Model/Server/V2/Handler.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\(\)$#' + rawMessage: 'Return type (Mage_Api_Model_Wsdl_Config) of method Mage_Api_Model_Server_Wsi_Adapter_Soap::_getWsdlConfig() should be compatible with return type (Varien_Object) of method Mage_Api_Model_Server_Adapter_Soap::_getWsdlConfig()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Api/Model/Server/Wsi/Adapter/Soap.php - - message: '#^Parameter \#1 \$string of function strlen expects string, array given\.$#' + rawMessage: '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, array given\.$#' + rawMessage: 'Parameter #2 $needle of function str_contains expects string, 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\(\)$#' + rawMessage: 'Return type (stdClass) of method Mage_Api_Model_Server_Wsi_Handler::endSession() should be compatible with return type (true) of method Mage_Api_Model_Server_Handler_Abstract::endSession()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Api/Model/Server/Wsi/Handler.php - - 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\(\)$#' + rawMessage: 'Return type (bool) of method Mage_Api_Model_Session::clear() should be compatible with return type ($this(Mage_Core_Model_Session_Abstract_Varien)) of method Mage_Core_Model_Session_Abstract_Varien::clear()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Api/Model/Session.php - - 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\(\)$#' + rawMessage: 'Return type (void) of method Mage_Api_Model_Session::revalidateCookie() should be compatible with return type ($this(Mage_Core_Model_Session_Abstract_Varien)) of method Mage_Core_Model_Session_Abstract_Varien::revalidateCookie()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Api/Model/Session.php - - message: '#^Invalid array key type array\.$#' + rawMessage: 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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: 'Parameter #1 $source of static method Mage_Api_Model_Wsdl_Config_Element::_getChildren() expects Varien_Simplexml_Element, SimpleXMLElement given.' identifier: argument.type count: 1 path: app/code/core/Mage/Api/Model/Wsdl/Config/Element.php - - message: '#^Return type \(array\) of method Mage_Api_Model_Wsdl_Config_Element\:\:getChildren\(\) should be compatible with return type \(RecursiveIterator\|null\) of method RecursiveIterator\\:\:getChildren\(\)$#' + rawMessage: 'Return type (array) of method Mage_Api_Model_Wsdl_Config_Element::getChildren() should be compatible with return type (RecursiveIterator|null) of method RecursiveIterator::getChildren()' identifier: method.childReturnType 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\.$#' + rawMessage: 'Parameter #1 $collection of method Mage_Adminhtml_Block_Widget_Grid::setCollection() expects Varien_Data_Collection_Db, Varien_Data_Collection given.' identifier: argument.type count: 1 path: app/code/core/Mage/Api2/Block/Adminhtml/Attribute/Grid.php - - 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\(\)$#' + rawMessage: 'Parameter #1 $roleId (int) of method Mage_Api2_Model_Acl::addRole() should be compatible with parameter $role (string|Zend_Acl_Role_Interface) of method Zend_Acl::addRole()' identifier: method.childParameterType count: 1 path: app/code/core/Mage/Api2/Model/Acl.php - - message: '#^Parameter \#1 \$role of method Zend_Acl\:\:hasRole\(\) expects string\|Zend_Acl_Role_Interface, int given\.$#' + rawMessage: 'Parameter #1 $role of method Zend_Acl::hasRole() expects string|Zend_Acl_Role_Interface, int given.' identifier: argument.type count: 1 path: app/code/core/Mage/Api2/Model/Acl/Global.php - - message: '#^Parameter \#1 \$role of method Zend_Acl\:\:isAllowed\(\) expects string\|Zend_Acl_Role_Interface\|null, int given\.$#' + rawMessage: 'Parameter #1 $role of method Zend_Acl::isAllowed() expects string|Zend_Acl_Role_Interface|null, int given.' identifier: argument.type count: 1 path: app/code/core/Mage/Api2/Model/Acl/Global.php - - message: '#^Variable \$operationName might not be defined\.$#' + rawMessage: 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\.$#' + rawMessage: 'Method Mage_Api2_Model_Config::getResourceGroup() should return bool|Mage_Core_Model_Config_Element but returns Varien_Simplexml_Element.' identifier: return.type count: 1 path: app/code/core/Mage/Api2/Model/Config.php - - message: '#^Parameter \#1 \$cache of method Varien_Simplexml_Config\:\:setCache\(\) expects Varien_Simplexml_Config_Cache_Abstract, Zend_Cache_Core given\.$#' + rawMessage: 'Parameter #1 $cache of method Varien_Simplexml_Config::setCache() expects Varien_Simplexml_Config_Cache_Abstract, Zend_Cache_Core given.' identifier: argument.type count: 1 path: app/code/core/Mage/Api2/Model/Config.php - - message: '#^Parameter \#2 \$lowerOrEqualsTo of method Mage_Api2_Model_Config\:\:getResourceLastVersion\(\) expects int\|null, bool\|string given\.$#' + rawMessage: 'Parameter #2 $lowerOrEqualsTo of method Mage_Api2_Model_Config::getResourceLastVersion() expects int|null, bool|string given.' identifier: argument.type count: 1 path: app/code/core/Mage/Api2/Model/Dispatcher.php - - message: '#^Call to an undefined method Mage_Api2_Model_Config\:\:getMainRoute\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Api2_Model_Config::getMainRoute().' identifier: method.notFound count: 1 path: app/code/core/Mage/Api2/Model/Multicall.php - - message: '#^Call to an undefined method Mage_Api2_Model_Resource\:\:_multiDelete\(\)\.$#' + rawMessage: '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: '#^Call to an undefined method Varien_Data_Collection_Db\:\:addAttributeToFilter\(\)\.$#' + rawMessage: 'Call to an undefined method Varien_Data_Collection_Db::addAttributeToFilter().' identifier: method.notFound count: 1 path: app/code/core/Mage/Api2/Model/Resource.php - - message: '#^Method Mage_Api2_Model_Resource\:\:_create\(\) invoked with 1 parameter, 0 required\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Parameter #1 $renderer of method Mage_Api2_Model_Resource::setRenderer() expects Mage_Api2_Model_Renderer_Interface, Mage_Core_Model_Abstract|false given.' identifier: argument.type count: 1 path: app/code/core/Mage/Api2/Model/Resource.php - - message: '#^Parameter \#1 \$version of method Mage_Api2_Model_Resource\:\:setVersion\(\) expects int, string given\.$#' + rawMessage: '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\.$#' + rawMessage: 'Parameter #2 $code of method Mage_Api2_Model_Response::addMessage() expects string, int given.' identifier: argument.type count: 2 path: app/code/core/Mage/Api2/Model/Resource.php - - message: '#^Parameter \#2 \$value of method Varien_Data_Collection\:\:addFilter\(\) expects array\|string, int given\.$#' + rawMessage: '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\.$#' + rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 1 parameter, 0 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Api2/Model/Resource/Validator/Eav.php - - message: '#^Parameter \#2 \.\.\.\$arrays of function array_merge expects array, false given\.$#' + rawMessage: 'Parameter #2 ...$arrays 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: '#^Call to an undefined method Zend_Validate_Interface\:\:setMessage\(\)\.$#' + rawMessage: 'Call to an undefined method Zend_Validate_Interface::setMessage().' identifier: method.notFound count: 1 path: app/code/core/Mage/Api2/Model/Resource/Validator/Fields.php - - 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\(\)$#' + rawMessage: 'Parameter #1 $request (Mage_Api2_Model_Request) of method Mage_Api2_Model_Route_Abstract::match() should be compatible with parameter $path (string) of method Zend_Controller_Router_Route::match()' identifier: method.childParameterType count: 1 path: app/code/core/Mage/Api2/Model/Route/Abstract.php - - message: '#^Constructor of class Mage_Api2_Model_Route_ApiType has an unused parameter \$defaults\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: 'Parameter #2 $amount of method Mage_Authorizenet_Model_Directpost::_refund() expects string, float given.' identifier: argument.type count: 1 path: app/code/core/Mage/Authorizenet/Model/Directpost.php - - 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\(\)$#' + rawMessage: 'Return type (bool) of method Mage_Authorizenet_Model_Directpost::validate() should be compatible with return type ($this(Mage_Payment_Model_Method_Cc)) of method Mage_Payment_Model_Method_Cc::validate()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Authorizenet/Model/Directpost.php - - 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\(\)$#' + rawMessage: 'Return type (void) of method Mage_Authorizenet_Model_Directpost::authorize() should be compatible with return type ($this(Mage_Paygate_Model_Authorizenet)) of method Mage_Paygate_Model_Authorizenet::authorize()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Authorizenet/Model/Directpost.php - - message: '#^Call to an undefined method Mage_Payment_Model_Method_Abstract\:\:generateRequestFromOrder\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Payment_Model_Method_Abstract::generateRequestFromOrder().' identifier: method.notFound count: 1 path: app/code/core/Mage/Authorizenet/Model/Directpost/Observer.php - - message: '#^Parameter \#1 \$spec of method Zend_Controller_Response_Abstract\:\:getBody\(\) expects bool, string given\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Payment_Model_Method_Abstract::generateRequestFromOrder().' identifier: method.notFound count: 1 path: app/code/core/Mage/Authorizenet/controllers/Adminhtml/Authorizenet/Directpost/PaymentController.php - - message: '#^Method Mage_Authorizenet_Directpost_PaymentController\:\:_getIframeBlock\(\) should return Mage_Authorizenet_Block_Directpost_Iframe but returns Mage_Core_Block_Abstract\|false\.$#' + rawMessage: 'Method Mage_Authorizenet_Directpost_PaymentController::_getIframeBlock() should return Mage_Authorizenet_Block_Directpost_Iframe but returns Mage_Core_Block_Abstract|false.' identifier: return.type count: 1 path: app/code/core/Mage/Authorizenet/controllers/Directpost/PaymentController.php - - message: '#^Call to an undefined method Mage_Catalog_Model_Product_Configuration_Item_Interface\:\:getQty\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Catalog_Model_Product_Configuration_Item_Interface::getQty().' identifier: method.notFound count: 1 path: app/code/core/Mage/Bundle/Helper/Catalog/Product/Configuration.php - - message: '#^Call to an undefined method Mage_Bundle_Model_CatalogIndex_Data_Bundle\:\:_addAttributeFilter\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Bundle_Model_CatalogIndex_Data_Bundle::_addAttributeFilter().' identifier: method.notFound count: 1 path: app/code/core/Mage/Bundle/Model/CatalogIndex/Data/Bundle.php - - message: '#^Call to an undefined method Mage_Bundle_Model_CatalogIndex_Data_Bundle\:\:_getLinkSelect\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Bundle_Model_CatalogIndex_Data_Bundle::_getLinkSelect().' identifier: method.notFound count: 1 path: app/code/core/Mage/Bundle/Model/CatalogIndex/Data/Bundle.php - - 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\.$#' + rawMessage: 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\\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Bundle_Model_Resource_Price_Index::reindexProduct().' identifier: method.notFound count: 1 path: app/code/core/Mage/Bundle/Model/Price/Index.php - - message: '#^Call to an undefined method Mage_Bundle_Model_Product_Price\:\:getPricesTierPrice\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Bundle_Model_Product_Price::getPricesTierPrice().' identifier: method.notFound count: 2 path: app/code/core/Mage/Bundle/Model/Product/Price.php - - message: '#^Method Mage_Bundle_Model_Product_Price\:\:getOptions\(\) should return Mage_Bundle_Model_Resource_Option_Collection but returns array\.$#' + rawMessage: 'Method Mage_Bundle_Model_Product_Price::getOptions() should return Mage_Bundle_Model_Resource_Option_Collection but returns array.' identifier: return.type count: 1 path: app/code/core/Mage/Bundle/Model/Product/Price.php - - 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 \$selectionProduct of method Mage_Bundle_Model_Product_Price\:\:getSelectionFinalTotalPrice\(\) expects Mage_Catalog_Model_Product, Mage_Bundle_Model_Selection given\.$#' + rawMessage: 'Parameter #2 $selectionProduct of method Mage_Bundle_Model_Product_Price::getSelectionFinalTotalPrice() expects Mage_Catalog_Model_Product, Mage_Bundle_Model_Selection given.' identifier: argument.type count: 1 path: app/code/core/Mage/Bundle/Model/Product/Price.php - - message: '#^Parameter \#3 \$bundleQty of method Mage_Bundle_Model_Product_Price\:\:getLowestPrice\(\) expects int, float given\.$#' + rawMessage: '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: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\(\)$#' + rawMessage: 'Return type (int) of method Mage_Bundle_Model_Product_Type::prepareQuoteItemQty() should be compatible with return type (float) of method Mage_Catalog_Model_Product_Type_Abstract::prepareQuoteItemQty()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Bundle/Model/Product/Type.php - - message: '#^Parameter \#1 \$selection of method Mage_Bundle_Model_Option\:\:addSelection\(\) expects Mage_Bundle_Model_Selection, Mage_Catalog_Model_Product given\.$#' + rawMessage: 'Parameter #1 $selection of method Mage_Bundle_Model_Option::addSelection() expects Mage_Bundle_Model_Selection, Mage_Catalog_Model_Product given.' identifier: argument.type count: 1 path: app/code/core/Mage/Bundle/Model/Resource/Option/Collection.php - - message: '#^Property Mage_Captcha_Model_Zend\:\:\$_helper \(Mage_Captcha_Helper_Data\) in empty\(\) is not falsy\.$#' + rawMessage: '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\(\)$#' + rawMessage: 'Return type (Mage_Customer_Model_Session) of method Mage_Captcha_Model_Zend::getSession() should be compatible with return type (Zend_Session_Namespace) of method Zend_Captcha_Word::getSession()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Captcha/Model/Zend.php - - message: '#^Argument of an invalid type string supplied for foreach, only iterables are supported\.$#' + rawMessage: 'Argument of an invalid type string supplied for foreach, only iterables are supported.' identifier: foreach.nonIterable count: 1 path: app/code/core/Mage/Catalog/Block/Navigation.php - - message: '#^Cannot call method count\(\) on string\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: '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_Toolbar\:\:\$_collection \(Mage_Core_Model_Resource_Db_Collection_Abstract\) does not accept Varien_Data_Collection\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Invalid array key type array\.$#' + rawMessage: Invalid array key type array. identifier: offsetAccess.invalidOffset count: 1 path: app/code/core/Mage/Catalog/Block/Product/View/Type/Configurable.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\(\)$#' + rawMessage: 'Parameter #1 $category (Mage_Catalog_Model_Category) of method Mage_Catalog_Block_Seo_Sitemap_Category::getItemUrl() should be compatible with parameter $item (Mage_Catalog_Block_Seo_Sitemap_Abstract) of method Mage_Catalog_Block_Seo_Sitemap_Abstract::getItemUrl()' identifier: method.childParameterType count: 1 path: app/code/core/Mage/Catalog/Block/Seo/Sitemap/Category.php - - 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\(\)$#' + rawMessage: 'Parameter #1 $product (Mage_Catalog_Model_Product) of method Mage_Catalog_Block_Seo_Sitemap_Product::getItemUrl() should be compatible with parameter $item (Mage_Catalog_Block_Seo_Sitemap_Abstract) of method Mage_Catalog_Block_Seo_Sitemap_Abstract::getItemUrl()' identifier: method.childParameterType count: 1 path: app/code/core/Mage/Catalog/Block/Seo/Sitemap/Product.php - - message: '#^Parameter \#1 \$entityId of method Mage_Catalog_Model_Resource_Abstract\:\:getAttributeRawValue\(\) expects int, string given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Call to an undefined method Mage_Eav_Model_Entity_Attribute_Frontend_Abstract\:\:getUrl\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Eav_Model_Entity_Attribute_Frontend_Abstract::getUrl().' identifier: method.notFound count: 3 path: app/code/core/Mage/Catalog/Helper/Product.php - - message: '#^Ternary operator condition is always true\.$#' + rawMessage: 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\.$#' + rawMessage: 'Method Mage_Catalog_Helper_Product_Compare::getItemCollection() should return Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Compare_Item_Collection but returns Mage_Catalog_Model_Resource_Product_Compare_Item_Collection.' identifier: return.type count: 1 path: app/code/core/Mage/Catalog/Helper/Product/Compare.php - - message: '#^Parameter \#3 \$subject of function str_replace expects array\\|string, float given\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Core_Model_Resource_Db_Collection_Abstract::setStoreId().' identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Abstract.php - - message: '#^Method Mage_Core_Model_Website\:\:getStoreIds\(\) invoked with 1 parameter, 0 required\.$#' + rawMessage: 'Method Mage_Core_Model_Website::getStoreIds() invoked with 1 parameter, 0 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Catalog/Model/Abstract.php - - 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\(\)$#' + rawMessage: 'Return type (Mage_Catalog_Model_Resource_Collection_Abstract) of method Mage_Catalog_Model_Abstract::getResourceCollection() should be compatible with return type (Mage_Core_Model_Resource_Db_Collection_Abstract) of method Mage_Core_Model_Abstract::getResourceCollection()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Catalog/Model/Abstract.php - - message: '#^Call to an undefined method Mage_Catalog_Model_Api_Resource\:\:_checkAttributeAcl\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Catalog_Model_Api_Resource::_checkAttributeAcl().' identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Api/Resource.php - - message: '#^Elseif condition is always false\.$#' + rawMessage: Elseif condition is always false. identifier: elseif.alwaysFalse count: 1 path: app/code/core/Mage/Catalog/Model/Api2/Product/Rest.php - - message: '#^If condition is always false\.$#' + rawMessage: If condition is always false. identifier: if.alwaysFalse count: 1 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Core_Model_Abstract::toOptionArray().' identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Api2/Product/Validator/Product.php - - message: '#^Call to an undefined method Mage_Eav_Model_Entity_Attribute_Backend_Abstract\:\:formatDate\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Eav_Model_Entity_Attribute_Backend_Abstract::formatDate().' identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Api2/Product/Validator/Product.php - - message: '#^Strict comparison using \!\=\= between mixed and 0 will always evaluate to true\.$#' + rawMessage: 'Strict comparison using !== between mixed and 0 will always evaluate to true.' identifier: notIdentical.alwaysTrue count: 1 path: app/code/core/Mage/Catalog/Model/Api2/Product/Validator/Product.php - - message: '#^Call to an undefined method Varien_Object\:\:formatUrlKey\(\)\.$#' + rawMessage: 'Call to an undefined method Varien_Object::formatUrlKey().' identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Attribute/Backend/Urlkey/Abstract.php - - message: '#^If condition is always true\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 1 parameter, 0 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Catalog/Model/Category/Attribute/Api.php - - message: '#^Call to an undefined method Mage_Catalog_Model_Config\:\:_init\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Catalog_Model_Config::_init().' identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Config.php - - message: '#^Method Mage_Catalog_Model_Config\:\:getAttributeSetId\(\) invoked with 1 parameter, 2 required\.$#' + rawMessage: 'Method Mage_Catalog_Model_Config::getAttributeSetId() invoked with 1 parameter, 2 required.' identifier: arguments.count count: 2 path: app/code/core/Mage/Catalog/Model/Config.php - - message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:getStoreId\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: 'Cannot call method setStoreId() on Mage_Eav_Model_Entity_Collection|false.' identifier: method.nonObject count: 1 path: app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php - - message: '#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\:\:getAllOptions\(\) invoked with 1 parameter, 0 required\.$#' + rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 1 parameter, 0 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php - - 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\.$#' + rawMessage: 'Property Mage_Catalog_Model_Convert_Adapter_Product::$_galleryBackendModel (Mage_Catalog_Model_Product_Attribute_Backend_Media) does not accept Mage_Eav_Model_Entity_Attribute_Backend_Abstract.' identifier: assign.propertyType count: 1 path: app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php - - 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\(\)$#' + rawMessage: 'Return type (Mage_Catalog_Model_Resource_Product_Collection) of method Mage_Catalog_Model_Convert_Adapter_Product::_getCollectionForLoad() should be compatible with return type (Mage_Eav_Model_Entity_Collection|false) of method Mage_Eav_Model_Convert_Adapter_Entity::_getCollectionForLoad()' identifier: method.childReturnType count: 1 path: app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php - - message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:setStore\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: 'Method Mage_Catalog_Model_Category::getParentDesignCategory() invoked with 1 parameter, 0 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Catalog/Model/Design.php - - message: '#^Property Mage_Catalog_Model_Entity_Product_Attribute_Design_Options_Container\:\:\$_configNodePath \(Mage_Core_Model_Config_Element\) does not accept string\.$#' + rawMessage: 'Property Mage_Catalog_Model_Entity_Product_Attribute_Design_Options_Container::$_configNodePath (Mage_Core_Model_Config_Element) does not accept string.' identifier: assign.propertyType count: 1 path: app/code/core/Mage/Catalog/Model/Entity/Product/Attribute/Design/Options/Container.php - - 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\.$#' + rawMessage: 'Parameter #1 $attribute of method Mage_Catalog_Model_Layer::_filterFilterableAttributes() expects Mage_Catalog_Model_Resource_Eav_Attribute, Mage_Eav_Model_Entity_Attribute_Abstract|false given.' identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Layer.php - - 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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Parameter #3 $index of method Mage_Catalog_Model_Resource_Layer_Filter_Decimal::applyFilterToCollection() expects int, string given.' identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Layer/Filter/Decimal.php - - message: '#^Parameter \#1 \$string of function strlen expects string, float given\.$#' + rawMessage: '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: '#^Method Mage_Catalog_Model_Resource_Category_Flat\:\:move\(\) invoked with 3 parameters, 1 required\.$#' + rawMessage: 'Method Mage_Catalog_Model_Resource_Category_Flat::move() invoked with 3 parameters, 1 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Catalog/Model/Observer.php - - message: '#^Call to an undefined method Mage_Eav_Model_Entity_Attribute_Backend_Abstract\:\:addImage\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Eav_Model_Entity_Attribute_Backend_Abstract::addImage().' identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Product.php - - message: '#^Method Mage_Catalog_Model_Product\:\:getPriceModel\(\) should return Mage_Bundle_Model_Product_Price but returns Mage_Catalog_Model_Product_Type_Price\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Parameter #2 $attributes of method Mage_Catalog_Model_Api_Resource::_isAllowedAttribute() expects array|null, stdClass|null given.' identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Product/Api/V2.php - - 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\(\)$#' + rawMessage: 'Parameter #3 $attributes (stdClass) of method Mage_Catalog_Model_Product_Api_V2::info() should be compatible with parameter $attributes (array) of method Mage_Catalog_Model_Product_Api::info()' identifier: method.childParameterType count: 1 path: app/code/core/Mage/Catalog/Model/Product/Api/V2.php - - message: '#^Cannot call method getBackend\(\) on bool\|Mage_Catalog_Model_Resource_Attribute\.$#' + rawMessage: 'Cannot call method getBackend() on bool|Mage_Catalog_Model_Resource_Attribute.' identifier: method.nonObject count: 11 path: app/code/core/Mage/Catalog/Model/Product/Attribute/Media/Api.php - - 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\(\)$#' + rawMessage: 'Parameter #1 $data (stdClass) of method Mage_Catalog_Model_Product_Attribute_Media_Api_V2::_prepareImageData() should be compatible with parameter $data (array) of method Mage_Catalog_Model_Product_Attribute_Media_Api::_prepareImageData()' identifier: method.childParameterType count: 1 path: app/code/core/Mage/Catalog/Model/Product/Attribute/Media/Api/V2.php - - message: '#^Parameter \#1 \$skeletonId of method Mage_Eav_Model_Entity_Attribute_Set\:\:initFromSkeleton\(\) expects int, string given\.$#' + rawMessage: 'Parameter #1 $skeletonId of method Mage_Eav_Model_Entity_Attribute_Set::initFromSkeleton() expects int, string given.' identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Product/Attribute/Set/Api.php - - message: '#^Method Mage_Catalog_Model_Resource_Product_Compare_Item\:\:clean\(\) invoked with 1 parameter, 0 required\.$#' + rawMessage: 'Method Mage_Catalog_Model_Resource_Product_Compare_Item::clean() invoked with 1 parameter, 0 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Catalog/Model/Product/Compare/Item.php - - message: '#^Call to an undefined method Mage_Catalog_Model_Resource_Product_Flat_Indexer\:\:prepareFlatTables\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Catalog_Model_Resource_Product_Flat_Indexer::prepareFlatTables().' identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Product/Flat/Indexer.php - - message: '#^Parameter \#1 \$height of method Mage_Catalog_Model_Product_Image\:\:setHeight\(\) expects int, string given\.$#' + rawMessage: '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\.$#' + rawMessage: 'Parameter #1 $heigth of method Varien_Image::setWatermarkHeigth() expects int, string given.' identifier: argument.type count: 1 path: app/code/core/Mage/Catalog/Model/Product/Image.php - - message: '#^Parameter \#1 \$size of method Mage_Catalog_Model_Product_Image\:\:setWatermarkSize\(\) expects array, string given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Cannot call method isIndexable() on Mage_Eav_Model_Entity_Attribute_Abstract|false.' identifier: method.nonObject count: 1 path: app/code/core/Mage/Catalog/Model/Product/Indexer/Eav.php - - message: '#^Call to an undefined method Mage_Catalog_Model_Product_Configuration_Item_Option_Interface\:\:getId\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Catalog_Model_Product_Configuration_Item_Option_Interface::getId().' identifier: method.notFound count: 2 path: app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php - - message: '#^Call to an undefined method Mage_Catalog_Model_Product_Configuration_Item_Option_Interface\:\:setValue\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Catalog_Model_Product_Configuration_Item_Option_Interface::setValue().' identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php - - message: '#^Elseif condition is always true\.$#' + rawMessage: 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\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Eav_Model_Entity_Collection_Abstract::getStoreId().' identifier: method.notFound count: 1 path: app/code/core/Mage/Catalog/Model/Product/Status.php - - message: '#^Method Mage_Catalog_Model_Product_Type\:\:priceFactory\(\) should return Mage_Catalog_Model_Product_Type_Price but returns Mage_Core_Model_Abstract\|false\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Method Mage_Catalog_Model_Product_Type_Configurable::getProductByAttributes() should return Mage_Catalog_Model_Product|null but returns Varien_Object.' identifier: return.type count: 1 path: app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php - - message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, ''\\\\intval'' given\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Call to function is_array\(\) with string will always evaluate to false\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Call to an undefined method Mage_Eav_Model_Entity_Attribute_Abstract\:\:isScopeStore\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Method Mage_Core_Model_Website::getStoreIds() invoked with 1 parameter, 0 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Catalog/Model/Resource/Abstract.php - - message: '#^PHPDoc tag @var with type Mage_Catalog_Model_Entity_Attribute is not subtype of native type non\-empty\-array\\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: 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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Call to an undefined method Zend_Db_Select\:\:insertFromSelect\(\)\.$#' + rawMessage: '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: '#^Call to an undefined method Zend_Db_Adapter_Abstract\:\:getCheckSql\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Argument of an invalid type hasOffsetValue\(string, mixed\) supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 1 - path: app/code/core/Mage/Catalog/Model/Resource/Layer/Filter/Price.php - - - - message: '#^Binary operation "\-" between int and non\-falsy\-string results in an error\.$#' + rawMessage: 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\.$#' + rawMessage: 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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Property Mage_Catalog_Model_Resource_Product_Collection\:\:\$_urlRewriteCategory \(int\) does not accept default value of type string\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Call to an undefined method Mage_Catalog_Model_Resource_Product_Indexer_Price_Interface\:\:getIsComposite\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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 \#2 \$alias of method Varien_Db_Adapter_Interface\:\:quoteColumnAs\(\) expects string, null given\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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: '#^Loose comparison using \=\= between true and true will always evaluate to true\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^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\(\)$#' + rawMessage: '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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Cannot call method setTypeId\(\) on Mage_Core_Model_Resource_Db_Collection_Abstract\|false\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Call to an undefined method Mage_Rule_Model_Condition_Combine\:\:collectValidatedAttributes\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 1 parameter, 0 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/CatalogSearch/Block/Advanced/Form.php - - message: '#^Parameter \#2 \$array of function implode expects array\, array\\|string\|null\> given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Parameter \#1 \$typeId of method Mage_CatalogSearch_Model_Resource_Fulltext\:\:_getProductTypeInstance\(\) expects string, int given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Cannot call method setItem() on array.' identifier: method.nonObject count: 1 path: app/code/core/Mage/Checkout/Block/Cart/Abstract.php - - message: '#^Parameter \#1 \$productThumbnail of method Mage_Checkout_Block_Cart_Item_Renderer\:\:overrideProductThumbnail\(\) expects Mage_Catalog_Helper_Image, null given\.$#' + rawMessage: '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: '#^PHPDoc tag @var with type Mage_Sales_Model_Quote_Item is not subtype of native type null\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\(\)$#' + rawMessage: '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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 2 parameters, 0 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/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\.$#' + rawMessage: '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\.$#' + rawMessage: 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 \$array of function array_unshift expects array, null given\.$#' + rawMessage: 'Parameter #1 $array 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: 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 \#2 \$value of method Zend_Controller_Response_Abstract\:\:setHeader\(\) expects string, int\|false given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: Negated boolean expression is always true. identifier: booleanNot.alwaysTrue count: 1 path: app/code/core/Mage/Core/Controller/Varien/Router/Standard.php - - message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''trim'' given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Parameter \#1 \$group of method Mage_Core_Model_App\:\:_getStoreByGroup\(\) expects int, string given\.$#' + rawMessage: '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: '#^Property Mage_Core_Model_App\:\:\$_request \(Mage_Core_Controller_Request_Http\) in empty\(\) is not falsy\.$#' + rawMessage: '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 \(Mage_Core_Controller_Response_Http\) in empty\(\) is not falsy\.$#' + rawMessage: 'Property Mage_Core_Model_App::$_response (Mage_Core_Controller_Response_Http) in empty() is not falsy.' identifier: empty.property 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\.$#' + rawMessage: '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 \#2 \$constructArguments of method Mage_Core_Model_Config\:\:getModelInstance\(\) expects array\|object, string given\.$#' + rawMessage: '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\(\)$#' + rawMessage: '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\(\)$#' + rawMessage: '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\(\)$#' + rawMessage: '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: '#^Binary operation "\+" between string and string results in an error\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: 'Parameter #1 $cache of method Varien_Simplexml_Config::setCache() expects Varien_Simplexml_Config_Cache_Abstract, Zend_Cache_Core given.' identifier: argument.type count: 1 path: app/code/core/Mage/Core/Model/Design/Config.php - - message: '#^Parameter \#2 \$value of method Varien_Simplexml_Config\:\:setNode\(\) expects string, null given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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 Mage_Core_Model_Email_Template\:\:getProcessedTemplate\(\) invoked with 2 parameters, 0\-1 required\.$#' + rawMessage: 'Method Mage_Core_Model_Email_Template::getProcessedTemplate() invoked with 2 parameters, 0-1 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Core/Model/Email/Template.php - - message: '#^Parameter \#1 \$value of method Mage_Core_Model_Email_Template\:\:setId\(\) expects int, string given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: 'Call to an undefined method Varien_Crypt_Abstract::init().' identifier: method.notFound count: 1 path: app/code/core/Mage/Core/Model/Encryption.php - - message: '#^Negated boolean expression is always false\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Call to an undefined method SimpleXMLElement\:\:getAttribute\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\}\)\.$#' - identifier: unset.offset - count: 1 - path: app/code/core/Mage/Core/Model/Layout.php - - - - message: '#^If condition is always true\.$#' + rawMessage: 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\|false\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: 'Call to an undefined method SimpleXMLElement::getClassName().' identifier: method.notFound 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\:\:_getReadAdapter\(\) should return Magento_Db_Adapter_Pdo_Mysql but returns Varien_Db_Adapter_Interface\|false\.$#' + rawMessage: 'Method Mage_Core_Model_Resource_Db_Abstract::_getReadAdapter() 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: '#^Method Mage_Core_Model_Resource_Db_Abstract\:\:_getWriteAdapter\(\) should return Magento_Db_Adapter_Pdo_Mysql but returns Varien_Db_Adapter_Interface\|false\.$#' + rawMessage: 'Method Mage_Core_Model_Resource_Db_Abstract::_getWriteAdapter() 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^PHPDoc tag @param for parameter \$callbacks with type array\|string is not subtype of native type array\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\:\:\$_resourceConfig \(Mage_Core_Model_Config_Element\) does not accept SimpleXMLElement\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\(\)$#' + rawMessage: '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\.$#' + rawMessage: 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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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: '#^Parameter \#1 \$options of class Zend_Translate constructor expects array\|Zend_Config\|Zend_Translate_Adapter, string given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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: '#^Unreachable statement \- code above always terminates\.$#' + rawMessage: Unreachable statement - code above always terminates. identifier: deadCode.unreachable count: 1 path: app/code/core/Mage/Core/Model/Url/Rewrite.php - - message: '#^Negated boolean expression is always true\.$#' + rawMessage: Negated boolean expression is always true. identifier: booleanNot.alwaysTrue count: 1 path: app/code/core/Mage/Core/Model/Url/Rewrite/Request.php - - message: '#^Unreachable statement \- code above always terminates\.$#' + rawMessage: 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\.$#' + rawMessage: '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: '#^Call to an undefined method Mage_Wishlist_Model_Resource_Item_Collection\:\:addAttributeToSelect\(\)\.$#' + rawMessage: '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: '#^Return type \(string\) of method Mage_Customer_Block_Newsletter\:\:getAction\(\) should be compatible with return type \(Mage_Core_Controller_Varien_Action\) of method Mage_Core_Block_Abstract\:\:getAction\(\)$#' + rawMessage: 'Return type (string) of method Mage_Customer_Block_Newsletter::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/Customer/Block/Newsletter.php - - message: '#^Property Mage_Customer_Helper_Data\:\:\$_customer \(Mage_Customer_Model_Customer\) in empty\(\) is not falsy\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 1 parameter, 0 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/Customer/Model/Convert/Adapter/Customer.php - - message: '#^Call to an undefined method Mage_Eav_Model_Entity_Abstract\:\:setStore\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: Variable $regionId might not be defined. identifier: variable.undefined count: 1 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\.$#' + rawMessage: '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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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 \#1 \$url of method Mage_Core_Controller_Response_Http\:\:setRedirect\(\) expects string, bool given\.$#' + rawMessage: '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: '#^Property Mage_Dataflow_Model_Batch\:\:\$_batchExport \(Mage_Dataflow_Model_Batch_Export\|null\) does not accept string\|false\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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$#' + rawMessage: 'Undefined variable: $profile' identifier: variable.undefined count: 1 path: app/code/core/Mage/Dataflow/Model/Convert/Profile/Abstract.php - - message: '#^Right side of && is always true\.$#' + rawMessage: Right side of && is always true. identifier: booleanAnd.rightAlwaysTrue count: 1 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Parameter \#1 \$value of method Zend_Currency\:\:toCurrency\(\) expects float\|int\|null, string given\.$#' + rawMessage: '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: '#^Method Mage_Directory_Model_Currency_Import_Webservicex\:\:_convert\(\) should return float\|null but return statement is missing\.$#' + rawMessage: '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 \#1 \$modelClass of static method Mage\:\:getModel\(\) expects string, array given\.$#' + rawMessage: '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: '#^Cannot call method streamRead\(\) on resource\.$#' + rawMessage: '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\.$#' + rawMessage: 'Cannot call method streamStat() on resource.' identifier: method.nonObject count: 1 path: app/code/core/Mage/Downloadable/Helper/Download.php - - message: '#^Parameter \#1 \$string of function strtolower expects string, bool given\.$#' + rawMessage: 'Parameter #1 $string of function strtolower expects string, bool given.' identifier: argument.type count: 2 path: app/code/core/Mage/Downloadable/Helper/Download.php - - message: '#^Parameter \#2 \$code of class Exception constructor expects int, string given\.$#' + rawMessage: '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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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: '#^Property Mage_Eav_Model_Attribute_Data_Abstract\:\:\$_attribite \(Mage_Eav_Model_Attribute\) does not accept Mage_Eav_Model_Entity_Attribute_Abstract\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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 \$string of function explode expects string, array given\.$#' + rawMessage: 'Parameter #2 $string 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Call to an undefined method Mage_Core_Model_Resource_Db_Abstract\:\:getIdByCode\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Call to an undefined method Mage_Eav_Model_Resource_Entity_Attribute_Group\:\:deleteGroups\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Parameter \#1 \$code of method Mage_Eav_Model_Entity_Setup\:\:updateEntityType\(\) expects string, int given\.$#' + rawMessage: '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 \#3 \$value of method Mage_Eav_Model_Entity_Setup\:\:updateEntityType\(\) expects string\|null, int given\.$#' + rawMessage: '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: '#^Property Mage_Eav_Model_Entity_Type\:\:\$_sets \(Mage_Eav_Model_Resource_Entity_Attribute_Set_Collection\) in empty\(\) is not falsy\.$#' + rawMessage: '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\.$#' + rawMessage: '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 \.\.\.\$arrays of function array_merge expects array, false given\.$#' + rawMessage: 'Parameter #2 ...$arrays of function array_merge expects array, false given.' identifier: argument.type count: 1 path: app/code/core/Mage/Eav/Model/Form.php - - message: '#^Call to an undefined method Mage_Eav_Model_Entity_Collection_Abstract\:\:getStoreId\(\)\.$#' + rawMessage: '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: '#^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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)$#' + rawMessage: '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\(\)$#' + rawMessage: '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\(\)$#' + rawMessage: '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\(\)$#' + rawMessage: '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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\:\:getAllOptions\(\) invoked with 1 parameter, 0 required\.$#' + rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 1 parameter, 0 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/ImportExport/Model/Export/Entity/Abstract.php - - message: '#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\:\:getAllOptions\(\) invoked with 1 parameter, 0 required\.$#' + rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 1 parameter, 0 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/ImportExport/Model/Export/Entity/Customer.php - - message: '#^If condition is always true\.$#' + rawMessage: 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\.$#' + rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 1 parameter, 0 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/ImportExport/Model/Import/Entity/Abstract.php - - message: '#^Parameter \#1 \$str of method Mage_Core_Helper_UnserializeArray\:\:unserialize\(\) expects string, array given\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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: '#^Strict comparison using \=\=\= between mixed and null will always evaluate to false\.$#' + rawMessage: '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: '#^Call to function is_array\(\) with '''' will always evaluate to false\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Method Mage_Install_Model_Installer\:\:getDataModel\(\) should return Mage_Install_Model_Session but returns Mage_Install_Model_Installer_Data\|null\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\(\)\.$#' + rawMessage: '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: '#^Property Mage_Install_Model_Installer_Db_Abstract\:\:\$_connection \(Varien_Db_Adapter_Interface\) in isset\(\) is not nullable\.$#' + rawMessage: '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: '#^Binary operation "\+" between non\-falsy\-string and 1 results in an error\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' - identifier: smaller.invalid - count: 1 - path: app/code/core/Mage/Payment/Model/Method/Abstract.php - - - - message: '#^Loose comparison using \!\= between ''''\|''OT'' and ''SS'' will always evaluate to true\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^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\(\)$#' + rawMessage: '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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Call to an undefined method Mage_Paypal_Model_Api_Nvp\:\:_export\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: Negated boolean expression is always true. identifier: booleanNot.alwaysTrue count: 1 path: app/code/core/Mage/Paypal/Model/Config.php - - message: '#^If condition is always false\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Cannot call method getData\(\) on array\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Return type \(bool\) of method Mage_Paypal_Model_Hostedpro\:\:getAllowedCcTypes\(\) should be compatible with return type \(string\) of method Mage_Paypal_Model_Direct\:\:getAllowedCcTypes\(\)$#' + rawMessage: '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\(\)$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Method Varien_Data_Collection\:\:toOptionArray\(\) invoked with 1 parameter, 0 required\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Access to protected property Mage_Paypal_Model_Api_Nvp\:\:\$_setExpressCheckoutResponse\.$#' - identifier: property.protected - count: 1 - path: app/code/core/Mage/PaypalUk/Model/Api/Express/Nvp.php - - - - message: '#^Access to protected property Mage_Paypal_Model_Api_Nvp\:\:\$_doCaptureResponse\.$#' - identifier: property.protected - count: 1 - path: app/code/core/Mage/PaypalUk/Model/Api/Nvp.php - - - - message: '#^Access to protected property Mage_Paypal_Model_Api_Nvp\:\:\$_getTransactionDetailsResponse\.$#' - identifier: property.protected - count: 1 - path: app/code/core/Mage/PaypalUk/Model/Api/Nvp.php - - - - message: '#^Access to protected property Mage_Paypal_Model_Api_Nvp\:\:\$_paymentInformationResponse\.$#' - identifier: property.protected - count: 1 - path: app/code/core/Mage/PaypalUk/Model/Api/Nvp.php - - - - message: '#^Access to protected property Mage_Paypal_Model_Api_Nvp\:\:\$_refundTransactionResponse\.$#' - identifier: property.protected - count: 1 - path: app/code/core/Mage/PaypalUk/Model/Api/Nvp.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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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_Collection\:\:getItemById\(\) invoked with 1 parameter, 0 required\.$#' + rawMessage: '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: '#^Parameter \#2 \$value of method Varien_Data_Collection\:\:addFilter\(\) expects array\|string, int given\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Property Mage_Reports_Model_Grouped_Collection\:\:\$_resourceCollection \(Mage_Core_Model_Resource_Db_Collection_Abstract\) does not accept Varien_Data_Collection_Db\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Parameter \#1 \$from of method Mage_Reports_Model_Resource_Product_Ordered_Collection\:\:_joinFields\(\) expects string, int given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^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/Collection/Abstract.php - - - - message: '#^Parameter \#1 \$select of method Mage_Core_Model_Resource_Helper_Mysql4\:\:getQueryUsingAnalyticFunction\(\) expects Varien_Db_Select, Zend_Db_Select given\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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 method Mage_Eav_Model_Entity_Abstract\:\:setStore\(\)\.$#' + rawMessage: '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\>\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^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\(\)$#' + rawMessage: '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: '#^Comparison operation "\=\=" between array\|null and 1 results in an error\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Call to an undefined method Mage_Rule_Model_Action_Interface\:\:getId\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Binary operation "\." between array and '' '' results in an error\.$#' + rawMessage: 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: '#^Property Mage_Rule_Model_Condition_Abstract\:\:\$_inputType \(string\) on left side of \?\? is not nullable\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Method Mage_Eav_Model_Entity_Attribute_Source_Interface\:\:getAllOptions\(\) invoked with 1 parameter, 0 required\.$#' + rawMessage: 'Method Mage_Eav_Model_Entity_Attribute_Source_Interface::getAllOptions() invoked with 1 parameter, 0 required.' identifier: arguments.count count: 1 path: app/code/core/Mage/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 Mage_Eav_Model_Entity_Attribute_Abstract\|Varien_Object\|false\.$#' + rawMessage: 'Method Mage_Rule_Model_Condition_Product_Abstract::getAttributeObject() should return Mage_Catalog_Model_Resource_Eav_Attribute but returns Mage_Eav_Model_Entity_Attribute_Abstract|Varien_Object|false.' identifier: return.type count: 1 path: app/code/core/Mage/Rule/Model/Condition/Product/Abstract.php - - message: '#^Call to method setOrderFilter\(\) on an unknown class Mage_Sales_Model_Resource_Invoice_Collection\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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: '#^Parameter \#1 \$string of function trim expects string, float given\.$#' + rawMessage: 'Parameter #1 $string 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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 \#2 \$obj of method Mage_Sales_Model_Order_Pdf_Abstract\:\:insertOrder\(\) expects Mage_Sales_Model_Order, Mage_Sales_Model_Order_Shipment given\.$#' + rawMessage: '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: '#^Parameter \#1 \$text of method Zend_Pdf_Canvas_Abstract\:\:drawText\(\) expects string, \(float\|int\) given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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: '#^Parameter \#1 \$object of method Mage_Sales_Model_Order_Shipment_Api\:\:_getCarriers\(\) expects Mage_Eav_Model_Entity_Abstract, Mage_Sales_Model_Order given\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Parameter \#1 \$object of method Mage_Sales_Model_Order_Shipment_Api\:\:_getCarriers\(\) expects Mage_Eav_Model_Entity_Abstract, Mage_Sales_Model_Order given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\, list\ given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: Right side of && is always true. identifier: booleanAnd.rightAlwaysTrue count: 1 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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: '#^Cannot call method updateOnRelatedRecordChanged\(\) on Mage_Core_Model_Resource_Db_Collection_Abstract\|false\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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 \$select of method Mage_Core_Model_Resource_Helper_Mysql4\:\:getQueryUsingAnalyticFunction\(\) expects Varien_Db_Select, Zend_Db_Select given\.$#' + rawMessage: '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: '#^Call to an undefined method Mage_Payment_Model_Recurring_Profile\:\:submit\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: Negated boolean expression is always false. identifier: booleanNot.alwaysFalse count: 1 path: app/code/core/Mage/Sales/Model/Status/List.php - - message: '#^Parameter \#2 \$loginUrl of method Mage_Customer_Model_Session\:\:authenticate\(\) expects bool\|null, string given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' - 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\(\)$#' + rawMessage: '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\(\)$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Variable $rate in empty() is never defined.' identifier: empty.variable count: 1 path: app/code/core/Mage/Shipping/Model/Carrier/Pickup.php - - message: '#^Parameter \#1 \$hash of method Mage_Shipping_Helper_Data\:\:decodeTrackingHash\(\) expects string, array given\.$#' + rawMessage: '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\.$#' - 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\.$#' - 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\.$#' + rawMessage: '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: '#^Call to an undefined method Mage_Shipping_Model_Rate_Result\:\:getAllTrackings\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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 \$model of method Mage_Tag_Model_Resource_Tag\:\:loadByName\(\) expects Mage_Tag_Model_Tag, Varien_Object given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: If condition is always false. identifier: if.alwaysFalse count: 3 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Parameter \#2 \$resourceModel of method Mage_Core_Model_Resource_Db_Collection_Abstract\:\:_init\(\) expects Mage_Core_Model_Resource_Db_Abstract\|null, string given\.$#' + rawMessage: '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 \#2 \$rate of method Mage_Tax_Model_Sales_Total_Quote_Shipping\:\:_round\(\) expects string, float given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Parameter \#2 \$type of class Zend_Measure_Length constructor expects int\|null, string given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Parameter \#1 \$shippingDays of method Mage_Usa_Model_Shipping_Carrier_Dhl_Abstract\:\:_determineShippingDay\(\) expects array, string\|false given\.$#' + rawMessage: '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 \$string of function explode expects string, array given\.$#' + rawMessage: 'Parameter #2 $string 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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' - 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\.$#' - identifier: greater.invalid - count: 1 - path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php - - - - message: '#^Call to an undefined method Zend_Pdf_Page\:\:drawLines\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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 \$string of function strlen expects string, bool given\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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: '#^Parameter \#3 \$value of function curl_setopt expects bool, int given\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Binary operation "\*" between float and string results in an error\.$#' + rawMessage: Binary operation "*" between float and string results in an error. identifier: binaryOp.invalid count: 2 path: app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php - - message: '#^Parameter \#1 \$error of method Mage_Shipping_Model_Rate_Result\:\:setError\(\) expects bool, string given\.$#' + rawMessage: '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\.$#' + rawMessage: '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 given\.$#' + rawMessage: 'Parameter #2 $value of method SimpleXMLElement::addChild() expects string|null, float 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\.$#' + rawMessage: '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: '#^Parameter \#1 \$error_code of function curl_strerror expects int, \(CurlHandle\|false\) given\.$#' + rawMessage: 'Parameter #1 $error_code of function curl_strerror expects int, (CurlHandle|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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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: '#^Parameter \#2 \$shipping of method Mage_Weee_Model_Tax\:\:getProductWeeeAttributes\(\) expects Mage_Sales_Model_Quote_Address\|null, Varien_Object\|false\|null given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Call to an undefined method Mage_Eav_Model_Entity_Attribute_Abstract\:\:isScopeGlobal\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\:\:setApplied\(\) expects Mage_Sales_Model_Quote_Item_Abstract, Mage_Sales_Model_Order_Creditmemo_Item given\.$#' + rawMessage: '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\:\:setApplied\(\) expects Mage_Sales_Model_Quote_Item_Abstract, Mage_Sales_Model_Order_Invoice_Item given\.$#' + rawMessage: '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\.$#' + rawMessage: 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: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, Closure\(mixed\)\: int\<0, max\> given\.$#' + rawMessage: '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: '#^Call to an undefined method Mage_Core_Block_Abstract\:\:_getUsers\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Core_Block_Abstract::_getUsers().' identifier: method.notFound count: 1 path: app/design/adminhtml/default/default/template/api/role_users_grid_js.phtml - - message: '#^Call to protected method _getGridHtml\(\) of class Mage_Adminhtml_Block_Api_Tab_Rolesusers\.$#' + rawMessage: 'Call to protected method _getGridHtml() of class Mage_Adminhtml_Block_Api_Tab_Rolesusers.' identifier: method.protected count: 1 path: app/design/adminhtml/default/default/template/api/rolesusers.phtml - - message: '#^Call to an undefined method Mage_Core_Block_Abstract\:\:_getSelectedRoles\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_Core_Block_Abstract::_getSelectedRoles().' identifier: method.notFound count: 1 path: app/design/adminhtml/default/default/template/api/user_roles_grid_js.phtml - - message: '#^Call to protected method _isSelected\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Call to protected method _getHeader\(\) of class Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Main\.$#' + rawMessage: '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: '#^Call to protected method _getHeader\(\) of class Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Toolbar_Add\.$#' + rawMessage: 'Call to protected method _getHeader() of class Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Toolbar_Add.' identifier: method.protected count: 1 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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: 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: '#^Parameter \#2 \$store of method Mage_Core_Helper_Data\:\:currencyByStore\(\) expects int\|Mage_Core_Model_Store\|null, true given\.$#' + rawMessage: '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: '#^Call to an undefined method Mage_GiftMessage_Block_Message_Helper\:\:prepareAsIs\(\)\.$#' + rawMessage: 'Call to an undefined method Mage_GiftMessage_Block_Message_Helper::prepareAsIs().' identifier: method.notFound count: 2 path: app/design/adminhtml/default/default/template/giftmessage/helper.phtml - - message: '#^Parameter \#1 \$value of method Mage_GiftMessage_Block_Message_Helper\:\:setScriptIncluded\(\) expects string, true given\.$#' + rawMessage: 'Parameter #1 $value of method Mage_GiftMessage_Block_Message_Helper::setScriptIncluded() expects string, true given.' identifier: argument.type count: 1 path: app/design/adminhtml/default/default/template/giftmessage/helper.phtml - - message: '#^Call to an undefined method Mage_Core_Block_Abstract\:\:_getUsers\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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: '#^Comparison operation "\>" between int\<1, max\> and 0 is always true\.$#' + rawMessage: '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: '#^Method Mage_Adminhtml_Block_Sales_Order_Create_Abstract\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + rawMessage: '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: '#^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: '#^Access to an undefined property Mage_Adminhtml_Block_Sales_Order_Shipment_Tracking_Info\:\:\$trackingInfo\.$#' + rawMessage: Access to an undefined property Mage_Adminhtml_Block_Sales_Order_Shipment_Tracking_Info::$trackingInfo. identifier: property.notFound count: 1 path: app/design/adminhtml/default/default/template/sales/order/shipment/tracking/info.phtml - - message: '#^Access to protected property Mage_Adminhtml_Block_System_Config_Form_Field_Regexceptions\|Mage_CatalogInventory_Block_Adminhtml_Form_Field_Minsaleqty\:\:\$_addAfter\.$#' + rawMessage: Access to protected property Mage_Adminhtml_Block_System_Config_Form_Field_Regexceptions|Mage_CatalogInventory_Block_Adminhtml_Form_Field_Minsaleqty::$_addAfter. identifier: property.protected count: 3 path: app/design/adminhtml/default/default/template/system/config/form/field/array.phtml - - message: '#^Access to protected property Mage_Adminhtml_Block_System_Config_Form_Field_Regexceptions\|Mage_CatalogInventory_Block_Adminhtml_Form_Field_Minsaleqty\:\:\$_addButtonLabel\.$#' + rawMessage: Access to protected property Mage_Adminhtml_Block_System_Config_Form_Field_Regexceptions|Mage_CatalogInventory_Block_Adminhtml_Form_Field_Minsaleqty::$_addButtonLabel. identifier: property.protected count: 2 path: app/design/adminhtml/default/default/template/system/config/form/field/array.phtml - - message: '#^Access to protected property Mage_Adminhtml_Block_System_Config_Form_Field_Regexceptions\|Mage_CatalogInventory_Block_Adminhtml_Form_Field_Minsaleqty\:\:\$_columns\.$#' + rawMessage: Access to protected property Mage_Adminhtml_Block_System_Config_Form_Field_Regexceptions|Mage_CatalogInventory_Block_Adminhtml_Form_Field_Minsaleqty::$_columns. identifier: property.protected count: 4 path: app/design/adminhtml/default/default/template/system/config/form/field/array.phtml - - message: '#^Call to protected method _renderCellTemplate\(\) of class Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract\.$#' + rawMessage: 'Call to protected method _renderCellTemplate() of class Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract.' identifier: method.protected count: 1 path: app/design/adminhtml/default/default/template/system/config/form/field/array.phtml - - message: '#^Access to protected property Mage_Adminhtml_Block_System_Config_Form_Field_Csp_Hosts\:\:\$_addAfter\.$#' + rawMessage: Access to protected property Mage_Adminhtml_Block_System_Config_Form_Field_Csp_Hosts::$_addAfter. identifier: property.protected count: 4 path: app/design/adminhtml/default/default/template/system/config/form/field/csp.phtml - - message: '#^Access to protected property Mage_Adminhtml_Block_System_Config_Form_Field_Csp_Hosts\:\:\$_addButtonLabel\.$#' + rawMessage: Access to protected property Mage_Adminhtml_Block_System_Config_Form_Field_Csp_Hosts::$_addButtonLabel. identifier: property.protected count: 2 path: app/design/adminhtml/default/default/template/system/config/form/field/csp.phtml - - message: '#^Access to protected property Mage_Adminhtml_Block_System_Config_Form_Field_Csp_Hosts\:\:\$_columns\.$#' + rawMessage: Access to protected property Mage_Adminhtml_Block_System_Config_Form_Field_Csp_Hosts::$_columns. identifier: property.protected count: 5 path: app/design/adminhtml/default/default/template/system/config/form/field/csp.phtml - - message: '#^Call to protected method _renderCellTemplate\(\) of class Mage_Adminhtml_Block_System_Config_Form_Field_Csp_Hosts\.$#' + rawMessage: 'Call to protected method _renderCellTemplate() of class Mage_Adminhtml_Block_System_Config_Form_Field_Csp_Hosts.' identifier: method.protected count: 2 path: app/design/adminhtml/default/default/template/system/config/form/field/csp.phtml - - message: '#^Unreachable statement \- code above always terminates\.$#' - identifier: deadCode.unreachable - count: 1 - path: app/design/adminhtml/default/default/template/system/config/switcher.phtml - - - - message: '#^Negated boolean expression is always true\.$#' + rawMessage: 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\.$#' - identifier: deadCode.unreachable - count: 2 - path: app/design/adminhtml/default/default/template/system/store/tree.phtml - - - - message: '#^Method Mage_Adminhtml_Block_Widget_Grid\:\:getEmptyCellColspan\(\) invoked with 1 parameter, 0 required\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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: '#^Method Mage_Catalog_Block_Product_Abstract\:\:getTierPrices\(\) invoked with 2 parameters, 0\-1 required\.$#' + rawMessage: '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: '#^Call to protected method _isSelected\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' - identifier: deadCode.unreachable - count: 1 - path: app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/options.phtml - - - - message: '#^Call to method escapeUrl\(\) on an unknown class Mage_Catalog_Block_Layer_Filter\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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: '#^Parameter \#1 \$order of method Mage_Catalog_Block_Product_List_Toolbar\:\:getOrderUrl\(\) expects string, null given\.$#' + rawMessage: '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: '#^Left side of && is always true\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: '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: '#^Access to an undefined property Mage_Catalog_Model_Product_Option\:\:\$decoratedIsLast\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: 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: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Left side of && is always true\.$#' + rawMessage: Left side of && is always true. identifier: booleanAnd.leftAlwaysTrue count: 1 path: app/design/frontend/base/default/template/checkout/multishipping/address/select.phtml - - message: '#^Parameter \#1 \$totals of method Mage_Checkout_Block_Multishipping_Overview\:\:renderTotals\(\) expects Mage_Sales_Model_Order_Total, array\ given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Cannot call method isEnabled\(\) on Mage_Core_Block_Abstract\|false\.$#' + rawMessage: '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: '#^If condition is always true\.$#' + rawMessage: 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\.$#' + rawMessage: Negated boolean expression is always false. identifier: booleanNot.alwaysFalse count: 1 path: app/design/frontend/base/default/template/checkout/onepage/login.phtml - - message: '#^If condition is always true\.$#' + rawMessage: 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\.$#' + rawMessage: Ternary operator condition is always true. identifier: ternary.alwaysTrue count: 1 path: app/design/frontend/base/default/template/checkout/onepage/progress/shipping.phtml - - message: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + rawMessage: '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: '#^Parameter \#1 \$amount of method Mage_Checkout_Block_Total_Nominal\:\:formatPrice\(\) expects float, string given\.$#' + rawMessage: '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: '#^Cannot call method isEnabled\(\) on Mage_Core_Block_Abstract\|false\.$#' + rawMessage: '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: '#^Cannot call method isEnabled\(\) on Mage_Core_Block_Abstract\|false\.$#' + rawMessage: '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: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + rawMessage: '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: '#^Cannot call method getMessage\(\) on string\.$#' + rawMessage: 'Cannot call method getMessage() on string.' identifier: method.nonObject count: 4 path: app/design/frontend/base/default/template/giftmessage/inline.phtml - - message: '#^Cannot call method getRecipient\(\) on string\.$#' + rawMessage: 'Cannot call method getRecipient() on string.' identifier: method.nonObject count: 4 path: app/design/frontend/base/default/template/giftmessage/inline.phtml - - message: '#^Cannot call method getSender\(\) on string\.$#' + rawMessage: 'Cannot call method getSender() on string.' identifier: method.nonObject count: 4 path: app/design/frontend/base/default/template/giftmessage/inline.phtml - - message: '#^Call to protected method _getEnhancedEcommerceDataForAnalytics4\(\) of class Mage_GoogleAnalytics_Block_Ga\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Class Mage_Paypal_Block_Express_Form referenced with incorrect case\: Mage_PayPal_Block_Express_Form\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: '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: '#^Parameter \#1 \(non\-empty\-array\) of echo cannot be converted to string\.$#' + rawMessage: 'Parameter #1 (non-empty-array) of echo cannot be converted to string.' identifier: echo.nonString count: 1 path: app/design/frontend/base/default/template/review/helper/summary.phtml - - message: '#^Parameter \#1 \(non\-empty\-array\) of echo cannot be converted to string\.$#' + rawMessage: 'Parameter #1 (non-empty-array) of echo cannot be converted to string.' identifier: echo.nonString count: 1 path: app/design/frontend/base/default/template/review/helper/summary_short.phtml - - message: '#^Access to an undefined property Mage_Core_Block_Template\:\:\$trackingInfo\.$#' + rawMessage: Access to an undefined property Mage_Core_Block_Template::$trackingInfo. identifier: property.notFound count: 1 path: app/design/frontend/base/default/template/sales/order/trackinginfo.phtml - - message: '#^Call to method __\(\) on an unknown class Mage_Sale_Block_Reorder_Sidebar\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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: '#^Call to protected method _getDefaultValues\(\) of class Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: '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: '#^Cannot call method setAttributeObj\(\) on class\-string\|object\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Parameter \#1 \$totals of method Mage_Checkout_Block_Multishipping_Overview\:\:renderTotals\(\) expects Mage_Sales_Model_Order_Total, array\ given\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Cannot call method isEnabled\(\) on Mage_Core_Block_Abstract\|false\.$#' + rawMessage: '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: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Method Mage_Checkout_Helper_Data\:\:formatPrice\(\) invoked with 3 parameters, 1 required\.$#' + rawMessage: '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: '#^Call to protected method _getRenderedMenuItemAttributes\(\) of class Mage_Page_Block_Html_Topmenu\.$#' + rawMessage: '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: '#^Cannot call method isEnabled\(\) on Mage_Core_Block_Abstract\|false\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: 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\.$#' + rawMessage: '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: '#^Comparison operation "\>\=" between int\<0, max\> and 0 is always true\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Function mysqli_connect_error invoked with 1 parameter, 0 required.' identifier: arguments.count count: 1 path: lib/Mage/DB/Mysqli.php - - message: '#^Parameter \#1 \$handle of function curl_setopt expects CurlHandle, resource\|false given\.$#' + rawMessage: 'Parameter #1 $handle of function curl_setopt expects CurlHandle, resource|false given.' identifier: argument.type count: 1 path: lib/Mage/HTTP/Client/Curl.php - - message: '#^Parameter \#1 \$handle of function curl_setopt_array expects CurlHandle, resource\|false given\.$#' + rawMessage: 'Parameter #1 $handle of function curl_setopt_array expects CurlHandle, resource|false given.' identifier: argument.type count: 1 path: lib/Mage/HTTP/Client/Curl.php - - message: '#^Property Mage_HTTP_Client_Socket\:\:\$_postFields is never read, only written\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: Empty array passed to foreach. identifier: foreach.emptyArray count: 1 path: lib/Mage/System/Ftp.php - - message: '#^Parameter \#1 \$array of function array_sum expects an array of values castable to number, list\ given\.$#' + rawMessage: 'Parameter #1 $array 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: Left side of && is always true. identifier: booleanAnd.leftAlwaysTrue count: 2 path: lib/Varien/Cache/Backend/Database.php - - message: '#^Parameter \#2 \$chunks of method Varien_Cache_Backend_Memcached\:\:_cleanTheMess\(\) expects int, string given\.$#' + rawMessage: '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\(\)$#' + rawMessage: '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\(\)$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: Left side of && is always true. identifier: booleanAnd.leftAlwaysTrue count: 1 path: lib/Varien/Convert/Mapper/Column.php - - message: '#^Cannot access property \$_items on array\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\.$#' + rawMessage: '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\, non\-empty\-string\> given\.$#' + rawMessage: 'Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, Closure(mixed): array, non-empty-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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\(\)$#' + rawMessage: '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 \$string of function str_pad expects string, int\<0, 23\> given\.$#' + rawMessage: 'Parameter #1 $string 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 \$string of function str_pad expects string, int\<0, 59\> given\.$#' + rawMessage: 'Parameter #1 $string of function str_pad expects string, int<0, 59> given.' identifier: argument.type count: 2 path: lib/Varien/Data/Form/Element/Time.php - - message: '#^Method Varien_Data_Tree\:\:load\(\) invoked with 2 parameters, 0\-1 required\.$#' + rawMessage: '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\.$#' + rawMessage: '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: '#^Parameter \#2 \$value of method mysqli\:\:options\(\) expects int\|string, true given\.$#' + rawMessage: 'Parameter #2 $value of method mysqli::options() expects int|string, true given.' identifier: argument.type count: 1 path: lib/Varien/Db/Adapter/Mysqli.php - - message: '#^Cannot access offset ''Engine'' on bool\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\-\\\.\]\+\)''\#$#' + rawMessage: '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\(\)$#' + rawMessage: '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\(\)$#' + rawMessage: '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: '#^Cannot call method bindParam\(\) on object\|resource\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: Left side of || is always false. identifier: booleanOr.leftAlwaysFalse count: 1 path: lib/Varien/Filter/Template/Tokenizer/Variable.php - - message: '#^Parameter \#3 \$value of function curl_setopt expects bool, int given\.$#' + rawMessage: 'Parameter #3 $value of function curl_setopt expects bool, int given.' identifier: argument.type count: 2 path: lib/Varien/Http/Adapter/Curl.php - - message: '#^Parameter \#2 \$enable of function imageinterlace expects bool\|null, int given\.$#' + rawMessage: 'Parameter #2 $enable of function imageinterlace expects bool|null, int given.' identifier: argument.type count: 1 path: lib/Varien/Image/Adapter/Gd2.php - - message: '#^Parameter \#1 \$name of function posix_getgrnam expects string, int\|false given\.$#' + rawMessage: 'Parameter #1 $name of function posix_getgrnam expects string, int<0, max>|false given.' identifier: argument.type count: 1 path: lib/Varien/Io/File.php - - message: '#^Call to an undefined method SimpleXMLElement\:\:setNode\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\(\)\.$#' + rawMessage: '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\\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: '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\.$#' + rawMessage: 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\.$#' + rawMessage: '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\.$#' + rawMessage: 'Parameter #1 $filename of method Varien_Simplexml_Element::asNiceXml() expects string, int given.' identifier: argument.type count: 1 path: lib/Varien/Simplexml/Element.php diff --git a/composer.lock b/composer.lock index 6a6cc3e2a8d..ca47c6df9e4 100644 --- a/composer.lock +++ b/composer.lock @@ -6196,16 +6196,16 @@ }, { "name": "phpstan/phpstan", - "version": "2.1.18", + "version": "2.1.28", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "ee1f390b7a70cdf74a2b737e554f68afea885db7" + "reference": "578fa296a166605d97b94091f724f1257185d278" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ee1f390b7a70cdf74a2b737e554f68afea885db7", - "reference": "ee1f390b7a70cdf74a2b737e554f68afea885db7", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/578fa296a166605d97b94091f724f1257185d278", + "reference": "578fa296a166605d97b94091f724f1257185d278", "shasum": "" }, "require": { @@ -6250,7 +6250,7 @@ "type": "github" } ], - "time": "2025-07-17T17:22:31+00:00" + "time": "2025-09-19T08:58:49+00:00" }, { "name": "phpstan/phpstan-phpunit",