
no_leading_namespace_whitespace
¶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:
Using the @PhpCsFixer rule set will enable the no_leading_namespace_whitespace
rule.
Using the @Symfony rule set will enable the no_leading_namespace_whitespace
rule.