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

Add sniffs from slevomat/coding-standard #1

Open
sirbrillig opened this issue Dec 20, 2017 · 1 comment
Open

Add sniffs from slevomat/coding-standard #1

sirbrillig opened this issue Dec 20, 2017 · 1 comment

Comments

@sirbrillig
Copy link
Member

Add useful sniffs from slevomat/coding-standard.

Particularly https://github.com/slevomat/coding-standard/blob/master/SlevomatCodingStandard/Sniffs/Namespaces/UnusedUsesSniff.php

@sirbrillig
Copy link
Member Author

sirbrillig commented Dec 20, 2017

Suggestions (some other good ones are already covered by the WP standards):

  • SlevomatCodingStandard.Classes.UnusedPrivateElements
  • SlevomatCodingStandard.Namespaces.UnusedUses
  • SlevomatCodingStandard.Namespaces.UseFromSameNamespace
  • SlevomatCodingStandard.Exceptions.DeadCatch
  • SlevomatCodingStandard.Namespaces.FullyQualifiedExceptions

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