rspec/rules/S2046/php/rule.adoc

17 lines
305 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
Shared coding conventions allow teams to collaborate effectively. This rule flags all Perl-style comments.
2021-04-28 16:49:39 +02:00
== Noncompliant Code Example
----
$myvar; # Noncompliant; this comment should have started with "//"
----
2021-04-28 16:49:39 +02:00
== Compliant Solution
----
$myvar; // Compliant; this comment started with "//"
----