Skip to content

Does not report error from used trait correctly #32

@ariaieboy

Description

@ariaieboy

I have a class that uses a trait.
this plugin shows this error

 47     Out of 547 possible param types, only 416 - 76.0 % actually have it. Add more param types to get over 100 %

that means in line 47 must be a problem but there is no type definition needed in the class itself on line 47.
but if we go to the trait that is used by this class we can see that there is a missing param type on line 47.
It should report like phpstan itself that says it has this error in trait x in context of class y.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions