Skip to content

property is assigned outside of the constructor reports twice with bleeding edge enabled #7648

@fluffycondor

Description

@fluffycondor

Bug report

The same issue is reported twice, one time for /** @immutable */ annotation and one more for readonly keyword.

Code snippet that reproduces the problem

https://phpstan.org/r/38844f63-55f7-43bf-bf2a-71942b8fd221

Expected output

The issue should be reported only once.

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