rspec/rules/S117/php/rule.adoc

30 lines
455 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;
...
}
----
ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]