Skip to content

phpstan-ignore not working when using multiple trait #13945

@dt-benoit-ngo

Description

@dt-benoit-ngo

Bug report

Hello,

When I have more than one trait used in a class, the phpstan-ignore does not work anymore

Code snippet that reproduces the problem

https://phpstan.org/r/f8a1b18e-c193-4c53-ace0-8e53d2b413f0

Expected output

No error are expected

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

Thanks a lot for the work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions