Skip to content

chore(deps-dev): bump phpstan/phpstan from 2.1.22 to 2.2.15 - #1139

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps phpstan/phpstan from 2.1.22 to 2.2.15.

Release notes

Sourced from phpstan/phpstan's releases.

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!
    • only ext-ds and ext-couchbase are currently supported
    • PHPStan uses the extension version constraint from composer.json
  • Check for property hooks being pure/impure (#6246), thanks @​AJenbo!
  • Add Error class to uncheckedExceptionClasses by default (phpstan/phpstan-src@2fd897a), #15271
  • Resolve conditional @throws types like ($x is 0 ? Exception : void) at call sites and throw points (#5874), #7906, #9497, thanks @​VincentLanglet and @​staabm!
  • Update nikic/PHP-Parser to 5.9.0 (#6498)
  • Detect FILTER_THROW_ON_FAILURE in filter_input(), filter_var_array() and filter_input_array() (#6514)
  • Report function calls with an argument count no variant accepts (#6531)

Bugfixes 🐛

  • Keep an optional path as written where a plain one would be (#6452), #15238, thanks @​SanderMuller!
  • Wrap NameResolver errors into ParserErrorsException so they are attributed to the file they come from (#6455), #15252
  • Write the offset instead of intersecting with HasOffsetValueType when overwriting an ArrayDimFetch (#6456), #15246
  • Merge sub-expression throw points, impure points, hasYield and terminating flags instead of overwriting them (#6457), #15249
  • Derive the % result range from the divisor's magnitude and the dividend's sign and bounds (#6458), #15243
  • ParametersAcceptorSelector: keep the acceptor-level variadic flag separate from the per-parameter one (#6460), #15251
  • Stop tracking the next implicit array key once it reaches PHP_INT_MAX (#6461), #15244
  • Do not use PHPDoc types as native types in foreach shape unrolling, list destructuring and by-ref writeback (#6463), #15250
  • Detect trait and parent class reference cycles instead of walking them forever (#6465), #8082
  • Pass the dim fetch paired with the offset to shouldKeepList() and guard the tracked-link setExistingOffsetValueType() shortcut (#6466), #15245, thanks @​staabm!

... (truncated)

Commits
  • b158556 PHPStan 2.2.15
  • d88544a Updated PHPStan to commit d88544ac9fc136604b913fe3ab8b5b74f09a1ba1
  • a62e61a Updated PHPStan to commit a62e61a23b5855a6cdfde1126ddf0ed8946270ac
  • 0eaf6f9 Lock phpstan-phpunit version in workflow
  • 31470ab Updated PHPStan to commit 31470ab9e7190975a361220c0dff6948f1963d3f
  • d0009af Updated PHPStan to commit d0009af8430482335e916dd91ec6ba731928399d
  • 8f4a43c Updated PHPStan to commit 8f4a43c046067ba9ab290701fe127b3ebb360fc2
  • 084c97e Updated PHPStan to commit 084c97e7cb51036632b7ab80a55fbcda114701a0
  • 7ef0c4c Updated PHPStan to commit 7ef0c4c78d39dabeab2ca47d2b7cc99c030c7800
  • 239052a Updated PHPStan to commit 239052acd9a328dd2955877ec916e026a9e23f92
  • 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.15.
- [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.15)

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

Copy link
Copy Markdown
Contributor

Plugin build for ec8a55e is ready 🛎️!

@dependabot @github

dependabot Bot commented on behalf of github Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #1144.

@dependabot dependabot Bot closed this Oct 5, 2026
@dependabot
dependabot Bot deleted the dependabot/composer/development/phpstan/phpstan-2.2.15 branch October 5, 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