RE: [PHP-DEV] Cleaning up dangling whitespace
| From: | François Laupretre | Date: | Tue, 06 Jan 2015 14:51:50 +0000 |
| Subject: | RE: [PHP-DEV] Cleaning up dangling whitespace | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80236@lists.php.net to get a copy of this message | ||
> De : Pierre Joye [mailto:pierre.php@gmail.com]
>
> Even better than a server side hook, far less intrusive and rejecting
> a commit when CS are broken before it even gets applied locally sounds
> like the best solution so far.
If it is technically possible, I think we need both.
Local-side pre-commit hook is optional and would just be a developer's help.
Server-side hook should be able to refuse pushes (with probably less strict rules).
François