Skip to content

Dynamic call to static method #4

@lookyman

Description

@lookyman

Hi. Would there be interest in a new rule that checks that static methods are called with :: and not with ->? I see that fairly regulary in the wild (mainly with PHPUnit's asserts) and it's driving me crazy.

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