[Phpmyadmin-devel] New PHPCS rule

Michal Čihař michal at cihar.com
Fri Jan 3 10:46:07 CET 2014


Hi

Dne Tue, 24 Dec 2013 17:20:42 +0100
Hugues Peccatte <hugues.peccatte at gmail.com> napsal(a):

> I'm still thinking about PHPCS and PMD and I've some questions:
> - would you agree to only use PHPCS if possible ? I would like to see if
> it's possible to use all the PMD rules (or equivalent) in PHPCS.

For me it's perfectly fine, not sure if somebody else has other opinion.

> - how could you not have this error
> http://phpmd.org/rules/controversial.html#camelcasepropertyname on
> Jenkins ? On my IDE, I activated all PMD rules and I've the error in
> file /libraries/config/ConfigFile.class.php because of
> property $_defaultCfg (and others which have a leading underscore).

Because we don't run controversial rule set (we only run
codesize,design,naming,unusedcode).

-- 
	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/20140103/e3add9f5/attachment.sig>


More information about the Developers mailing list