PHPStan 2.1.35 has issue, pin PHPStan to 2.1.34 for now :)

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

@samsonasik

Description

This to avoid user keep creating known issue after run composer update and got phpstan 2.1.35

The new PHPStan 2.1.35 cause new issue seems due to change behaviour of PHPStan\Analyser\NodeScopeResolver, see related PRs and issue:

The failing test case already reported to phpstan :)

Temporary solution is pin rector/rector to 2.3.2 and phpstan/phpstan to 2.1.34 for now :)

"rector/rector": "2.3.2",
"phpstan/phpstan": "2.1.34",

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions