There should be no blank lines before a namespace declaration.
You should use blank_lines_before_namespace
instead.
--- Original
+++ New
<?php
-
-
-
namespace Example;
- Fixer class: PhpCsFixer\Fixer\NamespaceNotation\NoBlankLinesBeforeNamespaceFixer
- Test class: PhpCsFixer\Tests\Fixer\NamespaceNotation\NoBlankLinesBeforeNamespaceFixerTest
The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.