Skip to content

Detect static functions #110

@davidhesselbom

Description

@davidhesselbom

A function that doesn't have a this (note the lower-case t) in it is a static function, and magic should be able to tell when the function declaration doesn't say so. In the event that whoever wrote the function merely forgot to add this where they should, this warning might help, although it will, of course, not catch every missing this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions