Skip to content

Bump phpstan/phpstan from 1.10.25 to 2.1.54#14

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/phpstan/phpstan-2.1.54
Closed

Bump phpstan/phpstan from 1.10.25 to 2.1.54#14
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/phpstan/phpstan-2.1.54

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Apr 30, 2026

Bumps phpstan/phpstan from 1.10.25 to 2.1.54.

Release notes

Sourced from phpstan/phpstan's releases.

2.1.54

Improvements 🔧

Bugfixes 🐛

  • Process unrolled foreach iteration body in original context to let nested loops stabilize (#5559), #9332, #14543
  • Preserve conditional expressions in invalidateExpression when requireMoreCharacters is true (#5560), #14545
  • Recognize [$obj, $method] as callable when is_callable($obj, $method) is known true in scope (#5547), #4510, thanks @​VincentLanglet and @​staabm!
  • Replace instead of union when writing to optional keys via union offset in ConstantArrayTypeBuilder (#5566), #14551
  • Check isFirstClassCallable() before calling getArgs() on nested FuncCall nodes (#5564), #14550, thanks @​staabm and @​VincentLanglet!
  • Preserve non-empty array guarantee in ConstantArrayType::setOffsetValueType when union key expansion produces all-optional keys (#5567), #14552, #14553

Performance 🏎️

2.1.53

Bugfixes 🐛

  • Treat Expr\UnaryMinus with scalar operand as scalar literal in isExprSafeToProjectThroughVariable and comparison type specifying (fixes TypeError crash) (#5557), #14542
  • Unroll foreach over union of constant arrays in tryProcessUnrolledConstantArrayForeach (#5558), #7978

2.1.52

This release fixes 45 issues! 🎉

Improvements 🔧

  • Emit virtual Assign node for List_ destructuring in foreach value position (#5504), #8075
  • Narrow array key type after type-checking the key variable inside a foreach loop (#5505), #7076
  • Support for static::SOME_CONST in PHPDoc (#5510), #13828, thanks @​VincentLanglet!
  • Allow GMP in increment/decrement operations (#5530), thanks @​Firehed!

... (truncated)

Commits
  • 8be50c3 PHPStan 2.1.54
  • c161e9f Updated PHPStan to commit c161e9ff792250b0c640dcc62d55cf93527f9ced
  • c8106c3 Updated PHPStan to commit c8106c31c51a0e6a72f1d9d83c16e49b2dc34bae
  • b6a75c6 Updated PHPStan to commit b6a75c61575f988cf66960d769c591b0571ec915
  • 5e793f7 Updated PHPStan to commit 5e793f756dbafd3e001aeb5cba33cb0d8af4e081
  • a5a5b0a Updated PHPStan to commit a5a5b0a85c4306d53a1a8d320729d44dc9f7e805
  • 2f627eb Updated PHPStan to commit 2f627eb5f31b47d25099f63c0e191a28fa1f0881
  • dc2650e Updated PHPStan to commit dc2650ed1985c1c3afe51f93504a9c8f1542dc5b
  • 2f825fc Updated PHPStan to commit 2f825fc43148ec0d0926bea5c40161c8e4533750
  • ef67586 PHPStan 2.1.53
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Apr 30, 2026
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github May 18, 2026

Superseded by #15.

@dependabot dependabot Bot closed this May 18, 2026
@dependabot dependabot Bot deleted the dependabot/composer/phpstan/phpstan-2.1.54 branch May 18, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants