Skip to content

Commit

Permalink
updated to phpstan v2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Jan 1, 2025
1 parent ff364d3 commit 45e408f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 19 deletions.
12 changes: 12 additions & 0 deletions .phpstan.dist.baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -4950,6 +4950,12 @@ parameters:
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\.$#'
identifier: notEqual.alwaysTrue
count: 1
path: app/code/core/Mage/Payment/Model/Method/Cc.php

-
message: '#^Method Mage_Payment_Model_Recurring_Profile\:\:exportStartDatetime\(\) should return string\|Zend_Date but empty return statement found\.$#'
identifier: return.empty
Expand Down Expand Up @@ -5148,6 +5154,12 @@ parameters:
count: 1
path: app/code/core/Mage/Paypal/Model/Payflowlink.php

-
message: '#^Loose comparison using \!\= between float and \(float\|false\) will always evaluate to false\.$#'
identifier: notEqual.alwaysFalse
count: 1
path: app/code/core/Mage/Paypal/Model/Payflowpro.php

-
message: '#^Parameter \#1 \$payment of method Mage_Paypal_Model_Payflowpro\:\:_buildBasicRequest\(\) expects Mage_Sales_Model_Order_Payment, Mage_Payment_Model_Info given\.$#'
identifier: argument.type
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@
"ext-xmlreader": "*",
"composer/composer": "^2.7",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"friendsofphp/php-cs-fixer": "^3.4",
"macopedia/phpstan-magento1": "^1.0.5",
"friendsofphp/php-cs-fixer": "^3.6",
"macopedia/phpstan-magento1": "^1.1",
"magento-ecg/coding-standard": "^4.5",
"openmage/dev-meta-package": "^1.0.5",
"perftools/php-profiler": "^1.1",
"phpcompatibility/php-compatibility": "^9.3",
"phpmd/phpmd": "^2.13",
"phpstan/phpstan": "^2.0.4",
"phpunit/phpunit": "^9.5",
"rector/rector": "^2.0",
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^9.6",
"rector/rector": "^2.0.5",
"squizlabs/php_codesniffer": "^3.7",
"symplify/vendor-patches": "^11.1"
},
Expand Down
28 changes: 14 additions & 14 deletions composer.lock

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

0 comments on commit 45e408f

Please sign in to comment.