Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80224 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28596 invoked from network); 6 Jan 2015 07:49:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2015 07:49:01 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.41 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.41 mail-qa0-f41.google.com Received: from [209.85.216.41] ([209.85.216.41:44732] helo=mail-qa0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 88/50-26786-C639BA45 for ; Tue, 06 Jan 2015 02:49:00 -0500 Received: by mail-qa0-f41.google.com with SMTP id s7so16065154qap.0 for ; Mon, 05 Jan 2015 23:48:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0vq0KHPNbzbabJJZ7oqUZYYLPwaDRQ8s3rYHuL/48FQ=; b=o8TcBL60tgrq1uzUKFAxgXtcuyY7ye1/AvKOudpgE+n5VrXYVOaArZwlEwsdtLq+W4 J4rB+agtjFmvG7Oy36M2SWlqnhT9PnczEPoYQukFHPQr5T0q4sg46gG7JnmiDoYelMFI oazF5MU0aLKh13pryIRYOpwVN7rBMKMk17c6eapqKRt27kBvhZBZ0TOhpGp+D1xt//RA 0aR2mMITyuCO2Y6PnMCSxWlJD11BwSq5nDG75xtyBll1LHBAnjj5JSmub8S/zs/M+WRP Ygypirvt6byoAPeCcqdFC9u0G1RO9rBS0hRbNqDXhonze3RVgvJ2dyy680FcGc7qTNv0 t+qg== MIME-Version: 1.0 X-Received: by 10.140.43.52 with SMTP id d49mr145274634qga.94.1420530537619; Mon, 05 Jan 2015 23:48:57 -0800 (PST) Received: by 10.140.22.106 with HTTP; Mon, 5 Jan 2015 23:48:57 -0800 (PST) In-Reply-To: References: <54AB172E.6040901@gmail.com> Date: Mon, 5 Jan 2015 23:48:57 -0800 Message-ID: To: Jacob Bednarz Cc: Stanislav Malyshev , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Cleaning up dangling whitespace From: pierre.php@gmail.com (Pierre Joye) On Mon, Jan 5, 2015 at 11:42 PM, Jacob Bednarz 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?