Skip to content

chore(deps-dev): bump phpstan/phpstan from 2.1.22 to 2.3.5 - #1175

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps phpstan/phpstan from 2.1.22 to 2.3.5.

Release notes

Sourced from phpstan/phpstan's releases.

2.3.5

Huge release!

Auto-fixable rules with --fix. They show up in the on-line playground too:

Stale ignoreErrors entries and @phpstan-ignore comments can be removed with --fix too:

Extensions can be registered with attributes instead of .neon file:

use PHPStan\DependencyInjection\AutowiredService;
#[AutowiredService]
class MyExtension implements DynamicMethodReturnTypeExtension

Services be migrated automatically with migrate:neon2attributes.

Major new features 🚀

  • Support for auto-fixable custom rules
    • analyse command now supports --fix and even --fix-ignored (looks at your ignored auto-fixable errors and fixes them too)
    • Auto-fixable errors are marked with 🔧 in the default table output
    • Rules can change AST with RuleErrorBuilder::fixNode() and removeNode(). Learn more
    • After first round of fixes, PHPStan reanalyses the whole codebase again (which is fast thanks to the result cache) and looks if the first round of fixes produced more errors to fix. It ends after 10 rounds in case the fixes cannot agree about the final state of the code.
    • This is a good fit for "coding standard rules", for example if you want to enforce final classes, named arguments etc.
    • It's not a good fit for errors that have multiple possible fixes (most of PHPStan errors do), like type-related errors. PHPStan cannot know whether the accepting or accepted side should correct its type.
  • Selected errors reported by PHPStan are now autofixable

... (truncated)

Commits
  • 645a1bd PHPStan 2.3.5
  • 95d9e8b Updated PHPStan to commit 95d9e8b0578ebf75439a3744a845ef25417028fa
  • d40eeac Update errors identifiers
  • a99d1d2 Updated PHPStan to commit a99d1d28be4c694a11c58907fda2265d44e1bd27
  • 6c1ebc9 Updated PHPStan to commit 6c1ebc91fc35f59278d3ca7b601c6facaa9529f8
  • fa01e59 Updated PHPStan to commit fa01e59d3ce7bf867b532eeb9f7ca5c6a739e802
  • 1166703 Add TwigStan to extension library
  • 3118e22 Attribute services: static factories, single-type as, custom extension interf...
  • 4d60ec7 Updated PHPStan to commit 4d60ec7dda3fafe640ec66e519034d522b614439
  • 5fb2bb3 Clarify attribute services arguments and examples
  • 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.5.
- [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.5)

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

Copy link
Copy Markdown
Contributor

Plugin build for 4a8acfc is ready 🛎️!

@dependabot @github

dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #1178.

@dependabot dependabot Bot closed this Nov 23, 2026
@dependabot
dependabot Bot deleted the dependabot/composer/development/phpstan/phpstan-2.3.5 branch November 23, 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