Skip to content

chore(deps-dev): bump phpstan/phpstan from 2.1.22 to 2.3.6 - #1178

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor

Bumps phpstan/phpstan from 2.1.22 to 2.3.6.

Release notes

Sourced from phpstan/phpstan's releases.

2.3.6

Highlights of this release 👇

  • Full support for PHP 8.6, including Partial Function Application - RFC
  • Float range types like float<0, 1.5>, finite-float, or positive-float - See docs
  • When analysing a project subset, like a single directory or a list of files, report is no longer flooded with unrelated ignore.unmatched errors
  • Result cache previously used to reanalyse all files with errors (including the baselined errors) every time a new class or function appeared, in hope that some of the errors related to a before unknown symbol might disappear. Not anymore: the engine now precisely tracks which rules and other extensions asked about an unknown symbol, so the result cache knows what files need to be reanalysed when the said symbol appears. In practice, there's a lot less files being reanalysed between runs -> faster runs with the result cache.
  • PHPStan is now continuously benchmarked with Tally - stable numbers in CI, regardless of how fast the runner is!
  • If you're a Twig user, check out TwigStan - PHPStan for your templates!

Bleeding edge 🔪

  • Check PHP language features support with the entire declared version range (#6991)
    • Example: If you declare ^8.5 in your composer.json or via phpVersion in phpstan.neon, PHPStan will start telling you about PHP 8.6 deprecations right away
    • If you declare ^8.5, it will tell you you can't use #[Override] above class constants, because that requires PHP 8.6
  • Report str_replace()/str_ireplace()/preg_replace()/preg_filter() calls with fewer replacements than search values (#7007), #3889, thanks @​staabm and @​SanderMuller!

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 🔧

... (truncated)

Commits
  • 00cedeb PHPStan 2.3.6
  • 6934df4 Update error docs - readonly property default values in assign.readOnlyProperty
  • 33ef2ce Update errors identifiers
  • fd53ef2 Updated PHPStan to commit fd53ef2c098312dbf07e0b3f2222b942f58a9366
  • 98ed438 Update error docs - return in finally, by-ref and set visibility overrides
  • e0529cb Updated PHPStan to commit e0529cb850537c65863b540adfdc2f795fc7ce63
  • da480ce Update errors identifiers
  • 231807a Updated PHPStan to commit 231807a332d64d8c435f9b14b0bed2b3277c7e4d
  • 88eef9d Update error docs - add #[Override] on constants and enum cases
  • 1f57ff5 Updated PHPStan to commit 1f57ff50a907a948193493f714397948455c735d
  • 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.6.
- [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.6)

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

Copy link
Copy Markdown
Contributor

Plugin build for 0bfba18 is ready 🛎️!

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