Skip to content

Commit

Permalink
PHPStan updated to 1.9.7, phpstan-magento1 to 1.0.5 (#2896)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel authored Jan 5, 2023
1 parent 3bcc383 commit 9faf7cb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 25 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
"friendsofphp/php-cs-fixer": "^3.4",
"macopedia/phpstan-magento1": "^1.0.4",
"macopedia/phpstan-magento1": "^1.0.5",
"magento-ecg/coding-standard": "^4.5",
"openmage/dev-meta-package": "^1.0",
"phpcompatibility/php-compatibility": "^9.3",
"phpmd/phpmd": "^2.13",
"phpstan/phpstan": "^1.9.6",
"phpstan/phpstan": "^1.9.7",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.7",
"symplify/vendor-patches": "^11.1"
Expand Down
27 changes: 14 additions & 13 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions phpstan.dist.baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,6 @@ parameters:
count: 1
path: app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit.php

-
message: "#^Method Mage_Adminhtml_Block_Catalog_Product_Edit_Action_Attribute\\:\\:_getHelper\\(\\) should return Mage_Adminhtml_Helper_Catalog_Product_Edit_Action_Attribute but returns Mage_Core_Helper_Abstract\\.$#"
count: 1
path: app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Action/Attribute.php

-
message: "#^If condition is always true\\.$#"
count: 1
Expand Down Expand Up @@ -1720,11 +1715,6 @@ parameters:
count: 1
path: app/code/core/Mage/Catalog/Block/Product/View/Type/Configurable.php

-
message: "#^Method Mage_Catalog_Block_Product_View_Type_Configurable\\:\\:_getHelper\\(\\) should return Mage_Catalog_Helper_Product_Type_Composite but returns Mage_Core_Helper_Abstract\\.$#"
count: 1
path: app/code/core/Mage/Catalog/Block/Product/View/Type/Configurable.php

-
message: "#^Property Mage_Catalog_Block_Product_Widget_Html_Pager\\:\\:\\$_lastPage \\(int\\) does not accept float\\.$#"
count: 1
Expand Down

0 comments on commit 9faf7cb

Please sign in to comment.