Skip to content

No error with identifier xxx is reported altough it is reported #12000

Description

@janedbal

Bug report

See snippet, the wording should be different. Currently, I assumed I can remove whole @phpstan-ignore

Code snippet that reproduces the problem

https://phpstan.org/r/e40ad066-b876-4589-8400-2d88d2c3f0c3

Expected output

Error with identifier class.notFound was ignored twice, but reported only once on line 9.

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

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions