Skip to content

chore(deps-dev): bump phpstan/phpstan from 2.1.22 to 2.2.16 - #1144

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps phpstan/phpstan from 2.1.22 to 2.2.16.

Release notes

Sourced from phpstan/phpstan's releases.

2.2.16

Bugfixes 🐛

  • Treat possible Error throws as an effect of an expression statement again (phpstan/phpstan-src@6a09253)
  • Keep a by-ref writeback's native type only when the written-back type fits it (#6564), thanks @​SanderMuller!
  • Report worker peak memory when the result cache is used (#6576), thanks @​alfredbez!
  • Compare ternary arm values, not their truthiness, in exact narrowing contexts (#6580), #15307, #15226
  • Keep the normalized branches of a traversed ConditionalType normalized, Narrow the parameter for nested conditions on the same parameter (#6586), #15310, #15296

Internals 🔍

  • Fix flaky tests (#6361)

2.2.15

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 🔧

  • PHPStan supports running on PHP 8.6 runtime
    • php-8-stubs were updated with new and changed functions too
    • Full analyser support for new PHP 8.6 features is coming later this year
  • Remove the PHP version constraint from the #[\NoDiscard] attribute rules. (#6444), #14586, thanks @​claudepache!
  • Support for different versions of native PHP extensions, for example ext-ds v1 vs. v2 (#6250), #14539, thanks @​simPod!

... (truncated)

Commits
  • 46a6d90 PHPStan 2.2.16
  • 08e3736 Updated PHPStan to commit 08e3736efd29631ab8f32596c5dd2362dec8dc26
  • 51b4d48 Updated PHPStan to commit 51b4d488bf95c3d584e77be13650c2d634618c60
  • fadf8d6 Updated PHPStan to commit fadf8d6cd2ecd3620e6ad016743cd6f41934289e
  • 6e0238d Updated PHPStan to commit 6e0238d019452f05cb6348fa167dad0f6c7ef0f9
  • d27106a Updated PHPStan to commit d27106a706564a6996a15380765214baed6bf3b5
  • 1732af8 Update baselines
  • aaac8e4 Integration tests: skip baseline generation for projects without baseline-file
  • 6a09253 Updated PHPStan to commit 6a0925300f2913429604cbaf873cc9f8150a0c24
  • b158556 PHPStan 2.2.15
  • 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.2.16.
- [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.2.16)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-version: 2.2.16
  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 5, 2026
@pirate-bot

Copy link
Copy Markdown
Contributor

Plugin build for 8adfeb6 is ready 🛎️!

@dependabot @github

dependabot Bot commented on behalf of github Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #1147.

@dependabot dependabot Bot closed this Oct 12, 2026
@dependabot
dependabot Bot deleted the dependabot/composer/development/phpstan/phpstan-2.2.16 branch October 12, 2026 06:29
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