
no_leading_import_slash
¶Remove leading slashes in use
clauses.
--- Original
+++ New
@@ -1,3 +1,3 @@
<?php
namespace Foo;
-use \Bar;
+use Bar;
The rule is part of the following rule sets:
Using the @PSR12 rule set will enable the no_leading_import_slash
rule.
Using the @PhpCsFixer rule set will enable the no_leading_import_slash
rule.
Using the @Symfony rule set will enable the no_leading_import_slash
rule.