Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 588 Bytes

no_empty_comment.rst

File metadata and controls

35 lines (26 loc) · 588 Bytes

Rule no_empty_comment

There should not be any empty comments.

Examples

Example #1

--- Original
+++ New
@@ -1,4 +1,4 @@
 <?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.