Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: PHP-0.6
-
Fix Version/s: None
-
Component/s: PHP
-
Labels:None
-
Environment:Ubuntu 11.10
Sonar 2.11
Using Mysql 5.1.54
-
Number of attachments :
Description
Hello,
except for rules [Weighted methods per class exceeds maximum and Variable name length exceeds maximum], all configurable phpmd rules have minimum property instead of maximum.
For example :
A class has too many children.
minimum: ( ) Maximum number of acceptable child classes. Default is 12.
Thanks
This is weird, because PHPMD documentation specifies that the parameter name is "minimum" (see http://phpmd.org/rules/design.html#numberofchildren for instance).
So is the online documentation false?