🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

Traits and spurious errors #8060

Description

@marcospassos

Bug report

I understand that traits are not analyzed in isolation, but could PHPStan somehow not report these errors from a protected method?

Code snippet that reproduces the problem

https://phpstan.org/r/1f5a760d-12d3-4b0e-bfc8-b30a1a87fa0c

Expected output

No errors.

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

We 💚 PHPStan!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions