
Rule no_blank_lines_before_namespace
ΒΆ
There should be no blank lines before a namespace declaration.
WarningΒΆ
This rule is deprecated and will be removed in the next major versionΒΆ
You should use blank_lines_before_namespace
instead.
ExamplesΒΆ
Example #1ΒΆ
--- Original
+++ New
<?php
-
-
-
namespace Example;
Source classΒΆ
PhpCsFixer\Fixer\NamespaceNotation\NoBlankLinesBeforeNamespaceFixer