rspec/rules/S2035/php/rule.adoc

20 lines
346 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
This rule allows banning certain PHP functions.
2021-04-28 16:49:39 +02:00
== Noncompliant Code Example
Given a parameter of ``++foo++`` for this rule:
----
$arr=array("apple", "pear","banana");
echo foo($arr); // Noncompliant
----
ifdef::rspecator-view[]
== Comments And Links
(visible only on this page)
include::comments-and-links.adoc[]
endif::rspecator-view[]