On Mon, Jan 5, 2015 at 11:48 PM, Pierre Joye <pierre....@gmail.com> wrote: > On Mon, Jan 5, 2015 at 11:42 PM, Jacob Bednarz <jacob.bedn...@gmail.com> > wrote: >> Hey >> >>> That reminds me something I was wondering, would it be possible to >>> have a kind of CS check on push? :) >> >> >> Yep - PHPCS[1] is quite good, easy to configure and has good editor >> integrations in the community. The automated code standards check can be >> achieved using git-hooks[2] which is already provided to us just by using >> git. One thing to keep in mind is that the PHP lint is only run on files you >> modified, not all within the repository. >> >> Stas, let me know if you would like a hand implementing/cleaning up this >> repository as I am happy wqto help. >> >> [1]: https://github.com/squizlabs/PHP_CodeSniffer >> [2]: http://git-scm.com/docs/githooks > > I did not PHPCS supports C. Or am I missing something?
That's what I had in mind: https://gist.github.com/kblomqvist/bb59e781ce3e0006b644 rules to be adapted :) -- Pierre @pierrejoye | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php