Remove leading slashes in use clauses.
--- Original
+++ New
<?php
namespace Foo;
-use \Bar;
+use Bar;The rule is part of the following rule sets:
- Fixer class: PhpCsFixer\Fixer\Import\NoLeadingImportSlashFixer
- Test class: PhpCsFixer\Tests\Fixer\Import\NoLeadingImportSlashFixerTest
The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.