Sharing some naming conventions is a key point to make it possible for a team to efficiently collaborate. This rule allows to check that all local variable and function parameter names match a provided regular expression.
With the default regular expression ^[a-z][a-zA-Z0-9]*$:
public function doSomething($my_param){
$LOCAL;
...
}
public function doSomething($myParam){
$local;
...
}
Loop counters are ignored by this rule.
for (int i = 0; i < limit; i++) { // Compliant
// ...
}