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
Post a Comment