The namespace declaration line shouldn't contain leading whitespace.
--- Original
+++ New
<?php
- namespace Test8a;
- namespace Test8b;
+namespace Test8a;
+namespace Test8b;
The rule is part of the following rule sets:
- Fixer class: PhpCsFixer\Fixer\NamespaceNotation\NoLeadingNamespaceWhitespaceFixer
- Test class: PhpCsFixer\Tests\Fixer\NamespaceNotation\NoLeadingNamespaceWhitespaceFixerTest
The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.