Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect static functions #110

Open
davidhesselbom opened this issue Sep 16, 2015 · 0 comments
Open

Detect static functions #110

davidhesselbom opened this issue Sep 16, 2015 · 0 comments
Milestone

Comments

@davidhesselbom
Copy link
Contributor

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.

@davidhesselbom davidhesselbom added this to the v0.2 milestone Sep 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant