Git pre-receive hook to lunch PHP CodeSniffer
Posted
by Ralphz
on Stack Overflow
See other posts from Stack Overflow
or by Ralphz
Published on 2010-03-29T16:02:59Z
Indexed on
2010/03/29
16:03 UTC
Read the original article
Hit count: 224
Hey.
I'd like to check code committed to my remote git repository with PHP CodeSniffer and reject it if there are any problems code standards. Does anyone have an example how to use it on git remote repository or maybe example how to use it with pre-receive hook? Thanks.
© Stack Overflow or respective owner