Skip to content

Detect useless assignment #11483

Closed
phpstan/phpstan-src
#6330

Description

@pereorga

Feature request

Not sure if this can be easily detected, psalm can do it:

https://phpstan.org/r/b922b9ac-583a-4f7a-beed-308d9361306f

Did PHPStan help you today? Did it make you happy in any way?

No response

Activity

  1. github-actions commented on Oct 12, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  2. locked as resolved and limited conversation to collaborators on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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