Pattern: Malformed function name
Issue: -
Ensures method and functions are named in CamelCaps.
Strictly speaking, a name cannot have two capital letters next to each other in CamelCaps format. By setting the strict
property to false
, the rule is more lenient and allows for two capital letters next to each other in function and method names.
<rule ref="Generic.NamingConventions.CamelCapsFunctionName">
<properties>
<property name="strict" value="false" />
</properties>
</rule>