Fork me on GitHub
a Sensio Labs Product

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

Rule no_whitespace_in_blank_lineΒΆ

Remove trailing whitespace at the end of blank lines.

ExamplesΒΆ

Example #1ΒΆ

--- Original
+++ New
 <?php
-
+
 $a = 1;

Rule setsΒΆ

The rule is part of the following rule sets:

Source classΒΆ

PhpCsFixer\Fixer\Whitespace\NoWhitespaceInBlankLineFixer