Re: Cleaning up dangling whitespace
| From: | Pierre Joye | Date: | Tue, 06 Jan 2015 07:48:57 +0000 |
| Subject: | Re: Cleaning up dangling whitespace | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80224@lists.php.net to get a copy of this message | ||
On Mon, Jan 5, 2015 at 11:42 PM, Jacob Bednarz <jacob.bednarz@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?