rspec/rules/S905/php/rule.adoc
2021-06-02 20:44:38 +02:00

18 lines
367 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
----
$a == 1; // Noncompliant; was assignment intended?
$a < $b; // Noncompliant; have we forgotten to assign the result to a variable?
----
include::../see.adoc[]
ifdef::rspecator-view[]
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::rspecator-view[]