Skip to content

PHPStan: removed excluded directories #2790

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php
Original file line number Diff line number Diff line change
Expand Up @@ -1790,7 +1790,7 @@ public function getCustomizableContainerTypes()
* Get delivery confirmation level based on origin/destination
* Return null if delivery confirmation is not acceptable
*
* @var string $countyDest
* @param string $countyDest
* @return int|null
*/
protected function _getDeliveryConfirmationLevel($countyDest = null)
Expand Down
4 changes: 2 additions & 2 deletions app/code/core/Mage/Weee/Block/Renderer/Weee/Tax.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ class Mage_Weee_Block_Renderer_Weee_Tax extends Mage_Adminhtml_Block_Widget impl
/**
* List of countries
*
* @var array
* @var array|null
*/
protected $_countries = null;

/**
* List of websites
*
* @var array
* @var array|null
*/
protected $_websites = null;

Expand Down
20 changes: 10 additions & 10 deletions app/code/core/Mage/Weee/Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class Mage_Weee_Helper_Data extends Mage_Core_Helper_Abstract
/**
* Get weee amount display type on product view page
*
* @param mixed $store
* @param bool|int|Mage_Core_Model_Store|null|string $store
* @return int
*/
public function getPriceDisplayType($store = null)
Expand All @@ -69,7 +69,7 @@ public function getPriceDisplayType($store = null)
/**
* Get weee amount display type on product list page
*
* @param mixed $store
* @param bool|int|Mage_Core_Model_Store|null|string $store
* @return int
*/
public function getListPriceDisplayType($store = null)
Expand All @@ -80,7 +80,7 @@ public function getListPriceDisplayType($store = null)
/**
* Get weee amount display type in sales modules
*
* @param mixed $store
* @param bool|int|Mage_Core_Model_Store|null|string $store
* @return int
*/
public function getSalesPriceDisplayType($store = null)
Expand All @@ -91,7 +91,7 @@ public function getSalesPriceDisplayType($store = null)
/**
* Get weee amount display type in email templates
*
* @param mixed $store
* @param bool|int|Mage_Core_Model_Store|null|string $store
* @return int
*/
public function getEmailPriceDisplayType($store = null)
Expand All @@ -102,7 +102,7 @@ public function getEmailPriceDisplayType($store = null)
/**
* Check if weee tax amount should be discounted
*
* @param mixed $store
* @param bool|int|Mage_Core_Model_Store|null|string $store
* @return bool
*/
public function isDiscounted($store = null)
Expand All @@ -113,7 +113,7 @@ public function isDiscounted($store = null)
/**
* Check if weee tax amount should be taxable
*
* @param mixed $store
* @param bool|int|Mage_Core_Model_Store|null|string $store
* @return bool
*/
public function isTaxable($store = null)
Expand All @@ -125,7 +125,7 @@ public function isTaxable($store = null)
/**
* Returns true if default store tax is already applied to the FPT(weee)
*
* @param mixed $store
* @param bool|int|Mage_Core_Model_Store|null|string $store
* @return bool
*/
public function isTaxIncluded($store = null)
Expand All @@ -136,7 +136,7 @@ public function isTaxIncluded($store = null)
/**
* Get Weee Tax Configuration Type
*
* @param mixed $store
* @param bool|int|Mage_Core_Model_Store|null|string $store
* @return int
*/
public function getTaxType($store = null)
Expand All @@ -147,7 +147,7 @@ public function getTaxType($store = null)
/**
* Check if weee tax amount should be included to subtotal
*
* @param mixed $store
* @param bool|int|Mage_Core_Model_Store|null|string $store
* @return bool
*/
public function includeInSubtotal($store = null)
Expand Down Expand Up @@ -425,7 +425,7 @@ public function processTierPrices($product, &$tierPrices, $includeIndex = true)
/**
* Check if fixed taxes are used in system
*
* @param Mage_Core_Model_Store $store
* @param bool|int|Mage_Core_Model_Store|null|string $store
* @return bool
*/
public function isEnabled($store = null)
Expand Down
2 changes: 1 addition & 1 deletion lib/Varien/Data/Tree/Db.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function setDbSelect($select)
/**
* Load tree
*
* @param int || Varien_Data_Tree_Node $parentNode
* @param int|Varien_Data_Tree_Node $parentNode
* @param int $recursionLevel recursion level
* @return $this
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Varien/Db/Adapter/Interface.php
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ public function getCaseSql($valueName, $casesResults, $defaultValue = null);
/**
* Returns valid IFNULL expression
*
* @param string $column
* @param string $expression
* @param string $value OPTIONAL. Applies when $expression is NULL
* @return Zend_Db_Expr
*/
Expand Down
Loading