Skip to content

Bump phpstan/phpstan from 1.10.25 to 2.1.49#10

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/phpstan/phpstan-2.1.49
Closed

Bump phpstan/phpstan from 1.10.25 to 2.1.49#10
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/phpstan/phpstan-2.1.49

Conversation

@dependabot
Copy link
Copy Markdown

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

Bumps phpstan/phpstan from 1.10.25 to 2.1.49.

Release notes

Sourced from phpstan/phpstan's releases.

2.1.49

Bugfixes 🐛

Performance 🏎️

  • Use pairwise TypeCombinator::intersect folding for conditional expression holders to avoid exponential union distribution (#5482), #14475
  • Fix more cases (#5482), #14475
  • More pair-wise intersect (#5482), #14475
  • Avoid 2^N getAllArrays() expansion in implode() return type extension (#5482), #14475
  • Avoid 2^N getAllArrays() expansion in ConstantArrayType::getFiniteTypes() (#5482), #14475
  • Bail early in TypeUtils::flattenTypes() to avoid 2^N getAllArrays() expansion (#5482), #14475
  • Batch unionWith in specifyTypesForFlattenedBooleanOr falsey path to avoid O(N²) (phpstan/phpstan-src@7eab3d2)
  • Add flattening optimization for deep BooleanAnd chains in truthy context (phpstan/phpstan-src@3f5f2de)
  • Use hash map for O(1) key lookup in ConstantArrayType (phpstan/phpstan-src@8019f65)
  • Fix infinite hang when analysing src/wp-includes/user.php in wordpress-develop (#5485)

Function signature fixes 🤖

Internals 🔍

2.1.48

Improvements 🔧

  • Report promoted properties with readonly or hooks as always unitialized (cannot be unset) (#5452), #14459

Bugfixes 🐛

... (truncated)

Commits
  • d008295 PHPStan 2.1.49
  • a25e509 Updated PHPStan to commit a25e50956f13618e7b43e68308f212a215cf6928
  • 17d02e6 Updated PHPStan to commit 17d02e6a5caa8c67651981a51c289dc28e869a9c
  • 8019f65 Updated PHPStan to commit 8019f65c53f27edc23697ca60ef5db3d6a677d68
  • 4390ece Updated PHPStan to commit 4390ece59f4ce3049e3884a3231a29a17a71057c
  • e484f01 Updated PHPStan to commit e484f017709b1623ecd8f761c9906dcad95b9b24
  • 5ec9767 Updated PHPStan to commit 5ec97672500cef5a98a122ef59da17d10cff1062
  • 2313972 PHPStan 2.1.48
  • 56ecce5 Updated PHPStan to commit 56ecce5073587f9ca62ffd09127ed383833ef5d9
  • 3d82a9c Updated PHPStan to commit 3d82a9c862889b11c4202fbb0545cd515c6ad8f0
  • 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.49.
- [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.49)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-version: 2.1.49
  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 17, 2026
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Apr 20, 2026

Superseded by #11.

@dependabot dependabot Bot closed this Apr 20, 2026
@dependabot dependabot Bot deleted the dependabot/composer/phpstan/phpstan-2.1.49 branch April 20, 2026 08:17
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