-
Notifications
You must be signed in to change notification settings - Fork 96
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
PHP_CodeSniffer pre-commit hook #54
Comments
Structure is easier now, give it a try :) |
also good thing for #176 |
@mikedfunk please have a look at this example https://github.com/pre-commit-plugins/pre-commit-php - let me know if you need help with implementing it |
@mpapis thanks but this is not PHP_CodeSniffer, it's php lint which was already an option in the pre-commit gem. |
@mikedfunk I meant it only as example how to implement it, you could copy paste this gem and replace it's |
@mpapis oh cool, thanks. I will check it out when I get the chance. |
closing as there was no feedback in over two months, please let us know if you can provide more details and we will reopen |
It would be great if I could test my PHP code to PSR2 standards via pre-commit. Here is a git repo that already does this, but I couldn't figure out how to apply that check in addition to all the stuff from the pre-commit repo.
The text was updated successfully, but these errors were encountered: