Imports should not be aliased as the same name.
--- Original
+++ New
<?php
-use A\B\Foo as Foo;
+use A\B\Foo ;
The rule is part of the following rule sets:
- @PhpCsFixer
- Using the @PhpCsFixer rule set will enable the
no_unneeded_import_alias
rule. - @Symfony
- Using the @Symfony rule set will enable the
no_unneeded_import_alias
rule.