Re: [Phpmyadmin-devel] Coding style checks

I would like to help in this task. How should I run phpcs to get these warnings? Thank you very much.

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 Quoting Willian Gustavo Veiga <wiltave@gmail.com>:
I would like to help in this task. How should I run phpcs to get these warnings? Thank you very much.

On Tue, May 1, 2012 at 3:02 PM, Rouslan Placella <rouslan@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-prope... [2] http://www.amaxus.com/cms-blog/coding-standards-netbeans-php-codesniffer -- Thanks and Regards, Madhura Jayaratne
participants (3)
-
Madhura Jayaratne
-
Rouslan Placella
-
Willian Gustavo Veiga