Skip to content

chore(deps-dev): bump phpstan/phpstan from 2.1.22 to 2.3.0 - #1149

Closed
dependabot[bot] wants to merge 1 commit into
developmentfrom
dependabot/composer/development/phpstan/phpstan-2.3.0
Closed

dependabot[bot] wants to merge 1 commit into
developmentfrom
dependabot/composer/development/phpstan/phpstan-2.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026

Copy link
Copy Markdown
Contributor

Bumps phpstan/phpstan from 2.1.22 to 2.3.0.

Release notes

Sourced from phpstan/phpstan's releases.

2.3.0

This release fixes a whopping 75 issues! 🚀

Read about PHPStan 2.3.0 on the blog » I promise it's worth checking it out yourself, and not just letting your agent summarize it for you 😉 It contains a lot of interactive widgets with practical examples of the new features in action.

Major leap in performance. Back in December 2025 with PHPStan 2.1.33, as an example, analysing WordPress core took 60 seconds. With today's PHPStan 2.3.0, it takes under 8 seconds. Similar performance speedups can be observed across many codebases.

PHPStan Turbo speeds up PHPStan by 60% over the no-Turbo baseline.

Bleeding edge 🔪

If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon:

includes:
	- vendor/phpstan/phpstan/conf/bleedingEdge.neon

Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more

Improvements 🔧

Bugfixes 🐛

  • Keep property fetches on the receiver when a static method or static closure invalidates it (#6391), #13735, thanks @​staabm and @​SanderMuller
  • Derive conditional guard types from the branch set difference (#6380), #13833, #9685, #7706, #14421
  • Build a loop's back edge from its continue statements when the body end is unreachable (#6420), #14418, #13959, #11919, #1946
  • Widen only the variables a loop can write when its scope converges (#6421), #12666
  • Infer closure parameter types in array arguments (#6422), #6430, #11215
  • Resolve generic parameter types from an array literal argument's skeleton before typing the closures nested in it (#6482), #15269
  • Preserve conditional expression holders across more scope merges (#6385), #9628, #6830
  • Narrow optional array offsets through isset() conditions (#6382), #9426, #6379, #12786

... (truncated)

Commits
  • b1f9890 PHPStan 2.3.0
  • 924d8af Updated PHPStan to commit 924d8afe2686475c44f392f488bbf0b3223c7baa
  • c876606 Updated PHPStan to commit c876606ad859ddbe97520df7c4073aa2523103de
  • b00061d Update BACKERS.md
  • bf38bc7 Update errors identifiers
  • b0e7a99 Updated PHPStan to commit b0e7a99dbaaa6961727eed8d4c528f9ad7c05a22
  • 6892f65 Update errors identifiers
  • 57faa95 Updated PHPStan to commit 57faa95b782315052d92ad3cbc7687b1cf7bbf2b
  • 03f371f Update errors identifiers
  • ac2a474 Updated PHPStan to commit ac2a474f9382d6196aa258320b397c3b8a568a30
  • 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 2.1.22 to 2.3.0.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/2.3.x/CHANGELOG.md)
- [Commits](phpstan/phpstan@2.1.22...2.3.0)

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

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 Oct 14, 2026
@pirate-bot

Copy link
Copy Markdown
Contributor

Plugin build for 81ec4ec is ready 🛎️!

@dependabot @github

dependabot Bot commented on behalf of github Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #1152.

@dependabot dependabot Bot closed this Oct 16, 2026
@dependabot
dependabot Bot deleted the dependabot/composer/development/phpstan/phpstan-2.3.0 branch October 16, 2026 02:33
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.

1 participant