
Rule single_line_after_imports
ΒΆ
Each namespace use MUST go on its own line and there MUST be one blank line after the use statements block.
ExamplesΒΆ
Example #1ΒΆ
--- Original
+++ New
<?php
namespace Foo;
use Bar;
use Baz;
+
final class Example
{
}
Example #2ΒΆ
--- Original
+++ New
<?php
namespace Foo;
use Bar;
use Baz;
-
final class Example
{
}
Rule setsΒΆ
The rule is part of the following rule sets: