28 lines
492 B
Plaintext
28 lines
492 B
Plaintext
Shared coding conventions allow teams to collaborate effectively. This rule flags all Perl-style comments.
|
|
|
|
|
|
== Noncompliant Code Example
|
|
|
|
[source,php]
|
|
----
|
|
$myvar; # Noncompliant; this comment should have started with "//"
|
|
----
|
|
|
|
|
|
== Compliant Solution
|
|
|
|
[source,php]
|
|
----
|
|
$myvar; // Compliant; this comment started with "//"
|
|
----
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
include::message.adoc[]
|
|
|
|
endif::env-github,rspecator-view[]
|