php - How can I set PHPMD rule properties? -


i'm new using php mess detector (phpmd) , want teak of parameters. example, naming rules giving me output this:

"avoid variables short names $id. configured minimum length 3." 

can change "configured minimum length" without copying , altering xml ruleset file?

the message suggests me user of ruleset can configure these boundaries, , in the naming rules docs "properties" summaries each method "default value".

can specify properties on command line, or there general config file somewhere?

i'm afraid have copy , alter ruleset file. phpmd not support clanging properties on command line.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -