Fork me on GitHub
a Sensio Labs Product

I ate three cookies πŸͺ (v3.40.2) edition

Rule no_blank_lines_after_phpdocΒΆ

There should not be blank lines between docblock and the documented element.

ExamplesΒΆ

Example #1ΒΆ

--- Original
+++ New
 <?php

 /**
  * This is the bar class.
  */
-
-
 class Bar {}

Rule setsΒΆ

The rule is part of the following rule sets:

Source classΒΆ

PhpCsFixer\Fixer\Phpdoc\NoBlankLinesAfterPhpdocFixer