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

Sniff needed: ordering of method prefixes #66

Open
nubs opened this issue Jun 20, 2013 · 2 comments
Open

Sniff needed: ordering of method prefixes #66

nubs opened this issue Jun 20, 2013 · 2 comments

Comments

@nubs
Copy link
Contributor

nubs commented Jun 20, 2013

We need a sniff to declare ordering of abstract, final, static, and public/private/protected prefixes on methods.

@nubs
Copy link
Contributor Author

nubs commented Jun 20, 2013

PSR2 states: "Visibility MUST be declared on all properties and methods; abstract and final MUST be declared before the visibility; static MUST be declared after the visibility."

@yonderblue
Copy link
Contributor

i almost never see abstract and and final before the visibility, that seems odd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants