Skip to content

Commit

Permalink
Bump phpstan/phpstan from 1.11.7 to 1.12.0 (#4177)
Browse files Browse the repository at this point in the history
* Bump phpstan/phpstan from 1.11.7 to 1.12.0

Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.11.7 to 1.12.0.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.12.x/CHANGELOG.md)
- [Commits](phpstan/phpstan@1.11.7...1.12.0)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Phpstan: update for v1.12 (#4179)

* patch 1.11

* patch 1.12

* patch 1.12 - ignore errors

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sven Reichel <[email protected]>
  • Loading branch information
dependabot[bot] and sreichel authored Sep 2, 2024
1 parent 220399d commit b9e1be5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
10 changes: 5 additions & 5 deletions composer.lock

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

5 changes: 0 additions & 5 deletions phpstan.dist.baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -3490,11 +3490,6 @@ 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\\.$#"
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\\.$#"
count: 1
Expand Down
8 changes: 4 additions & 4 deletions phpstan.dist.neon
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ parameters:
- app/code/core/Mage/Paypal/Model/Report/Settlement.php
- lib/Varien/Io/Sftp.php

# Class backup/db was not found while trying to analyse it
- app/code/core/Mage/Adminhtml/controllers/System/BackupController.php

# Dataflow/Model/Convert/Iterator.php
- app/code/core/Mage/Dataflow/Model/Convert/Iterator.php

Expand All @@ -70,6 +67,9 @@ parameters:
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
treatPhpDocTypesAsCertain: false

# For v1.12+ with "bleeding edge"
ignoreErrors:
-
identifier: missingType.iterableValue
# universalObjectCratesClasses:
# - Varien_Object

0 comments on commit b9e1be5

Please sign in to comment.