Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 569 Bytes

no_empty_comment.rst

File metadata and controls

34 lines (25 loc) · 569 Bytes

Rule no_empty_comment

There should not be any empty comments.

Examples

Example #1

--- Original
+++ New
 <?php
-//
-#
-/* */
+
+
+

Rule sets

The rule is part of the following rule sets:

@PhpCsFixer

Using the @PhpCsFixer rule set will enable the no_empty_comment rule.

@Symfony

Using the @Symfony rule set will enable the no_empty_comment rule.