Skip to content

Bump phpstan/phpstan from 1.12.27 to 2.2.4#7

Closed
dependabot[bot] wants to merge 1 commit into
stablefrom
dependabot/composer/phpstan/phpstan-2.2.4
Closed

Bump phpstan/phpstan from 1.12.27 to 2.2.4#7
dependabot[bot] wants to merge 1 commit into
stablefrom
dependabot/composer/phpstan/phpstan-2.2.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 3, 2026

Copy link
Copy Markdown

Bumps phpstan/phpstan from 1.12.27 to 2.2.4.

Release notes

Sourced from phpstan/phpstan's releases.

2.2.4

PHPStan addresses the RAMpocalypse! It now consumes a lot less memory. See for yourself by running analyse -v.

E.g. running PHPStan on itself went from 2.8 GB to 2.1 GB total consumed memory across worker processes.

Bugfixes 🐛

Performance 🏎️

  • PackageDependencyResolver: memoize resolvePackage per file (#5961), thanks @​SanderMuller!
  • Evict parser and PHPDoc name-scope caches by LRU instead of FIFO (#5965)
  • Remove custom isSuperTypeOf reasons from ObjectType (#5968), #14896
  • Restore value sharing in name scope maps hydrated from the file cache (#5969)
  • Cap CachedParser by total cached source size (#5969)
  • Keep a single memoization layer for located reflections (#5974)
  • Stream the result cache to disk instead of building it in memory (phpstan/phpstan-src@ee9fe9e)

Internals 🔍

2.2.3

This release fixes 52 issues! 🎉

Bleeding edge 🔪

  • Report new on an expression whose type is not string|object via new.nonObject (#5866), #4922, thanks @​VincentLanglet and @​staabm!
  • RequireFileExistsRule: Fix Differing behaviors when requiring or including relatively vs using __DIR__ (#5879), thanks @​staabm!

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

... (truncated)

Commits
  • f0fe3fb PHPStan 2.2.4
  • 7891782 Updated PHPStan to commit 7891782a6480df488c9d578baac1ba739abf891c
  • 08d8557 Updated PHPStan to commit 08d8557bc08651f4ca67cd54d7237895fd0871b3
  • ee9fe9e Updated PHPStan to commit ee9fe9e40d8f544ea2cbd83e372c79c82cfd9457
  • d62655c Updated PHPStan to commit d62655c0beb9ead74897a15fafb27c2a153efb4b
  • 9898ba5 Updated PHPStan to commit 9898ba5ea0cfad490083726b63d5f00c42b8b9c6
  • 550c878 Updated PHPStan to commit 550c87838ae86cf59b32ed374c3ba248f766595d
  • 735a6c1 Updated PHPStan to commit 735a6c1a57203de72a69802f605bc6a8f04c7a79
  • aea91fd Updated PHPStan to commit aea91fdd88c745ec9f904c0ce46e819173fea299
  • bf4d513 Updated PHPStan to commit bf4d513e4bdce349521a46ee074187dc70081e8e
  • 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.12.27 to 2.2.4.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/2.2.x/CHANGELOG.md)
- [Commits](phpstan/phpstan@1.12.27...2.2.4)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-version: 2.2.4
  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 Jul 3, 2026
@dependabot dependabot Bot requested a review from ImperaZim as a code owner July 3, 2026 14:53
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Jul 3, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 10, 2026

Copy link
Copy Markdown
Author

Superseded by #8.

@dependabot dependabot Bot closed this Jul 10, 2026
@dependabot dependabot Bot deleted the dependabot/composer/phpstan/phpstan-2.2.4 branch July 10, 2026 14:54
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