
Rule single_trait_insert_per_statement
ΒΆ
Each trait use
must be done as single statement.
ExamplesΒΆ
Example #1ΒΆ
--- Original
+++ New
<?php
final class Example
{
- use Foo, Bar;
+ use Foo;use Bar;
}
Rule setsΒΆ
The rule is part of the following rule sets:
Source classΒΆ
PhpCsFixer\Fixer\ClassNotation\SingleTraitInsertPerStatementFixer