[Phpmyadmin-devel] Coding style checks

Michal Čihař michal at cihar.com
Wed May 2 11:17:24 CEST 2012


Hi

Dne Tue, 01 May 2012 14:11:55 -0300
Willian Gustavo Veiga <wiltave at gmail.com> napsal(a):

> >  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
> 
> Hi Rouslan,
> But how should i test my changes in localhost before a pull request ?
> Are there any way?

Sure there is :-). Once you install PHP CodeSniffer you can run it with
our customized standard in phpMyAdmin's directory:

phpcs --standard=PMAStandard file.php

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120502/b8b9a61c/attachment.sig>


More information about the Developers mailing list