rspec/rules/S117/php/rule.adoc
2021-01-27 13:42:22 +01:00

22 lines
291 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
With the default regular expression ``++^[a-z][a-zA-Z0-9]*$++``:
----
public function doSomething($my_param){
$LOCAL;
...
}
----
== Compliant Solution
----
public function doSomething($myParam){
$local;
...
}
----