Fork me on GitHub
a Sensio Labs Product

Remote Void (v2.18.5) edition

Rule hash_to_slash_comment

Warning

This rule is deprecated and will be removed on next major version.

You should use single_line_comment_style instead.

Single line comments should use double slashes // and not hash #.

Examples

Example #1

--- Original
+++ New
-<?php # comment
+<?php // comment
The logo is © 2010-2014 Sensio Labs