[Phpmyadmin-devel] Coding style checks
Madhura Jayaratne
madhura.cj at gmail.com
Tue May 1 17:13:51 CEST 2012
On Tue, May 1, 2012 at 3:02 PM, Rouslan Placella <rouslan at placella.com>wrote:
> Hi Willian,
>
> You don't need to run phpcs yourself, we have a continuous integration
> server that runs it every 10 minutes provided that there are new
> commits on master. Just select "checkstyle warnings" in the left menu
> on this page: http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/
>
> Bye,
> Rouslan
>
> If you are using Eclipse or NetBeans as the IDE, you can install
CodeSniffer plugin and identify violations. Here are two tutorials on how
to install and configure the plugins [1], [2]. But be aware that we use
slightly modified version of the standards as mentioned in this mail thread.
I think this is a good way to ensure coding style compliance for GSoC
projects. This would make it possible to identify violations while coding
rather than waiting to see the code get merged and violations being
reflected on the Jenkins server page.
[1]
http://www.websitefactors.co.uk/php/2011/10/installing-php-codesniffer-properly-in-eclipse/
[2] http://www.amaxus.com/cms-blog/coding-standards-netbeans-php-codesniffer
--
Thanks and Regards,
Madhura Jayaratne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120501/c4a4c531/attachment.html>
More information about the Developers
mailing list