Hi,
2014/1/3 Michal Čihař michal@cihar.com
Hi
Dne Tue, 24 Dec 2013 17:20:42 +0100 Hugues Peccatte hugues.peccatte@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).
Thanks for your answer. Where do you (de)activate the rules please ? Directly in Jenkins ?
Hugues.