src/Fixer/Import/NoUnusedImportsFixer.php
public function supports(\SplFileInfo $file)
    {
        $path = $file->getPathname();

        /*
         * @deprecated this exception will be removed on 3.0
         * some fixtures are auto-generated by Symfony and may contain unused use statements
         */
        if (false !== strpos($path, \DIRECTORY_SEPARATOR.'Fixtures'.\DIRECTORY_SEPARATOR)
            && false === strpos($path, \DIRECTORY_SEPARATOR.'tests'.\DIRECTORY_SEPARATOR.'Fixtures'.\DIRECTORY_SEPARATOR)
        ) {
            return false;
        }

        return true;
    }
public function supports(\SplFileInfo $file)
    {
        $path = $file->getPathname();

        /*
         * @deprecated this exception will be removed on 3.0
         * some fixtures are auto-generated by Symfony and may contain unused use statements
         */
        if (false !== strpos($path, \DIRECTORY_SEPARATOR.'Fixtures'.\DIRECTORY_SEPARATOR)
            && false === strpos($path, \DIRECTORY_SEPARATOR.'tests'.\DIRECTORY_SEPARATOR.'Fixtures'.\DIRECTORY_SEPARATOR)
        ) {
            return false;
        }

        return true;
    }
public function supports ( \ SplFileInfo $ file ) { $ path = $ file -> getPathname ( ) ; /*
         * @deprecated this exception will be removed on 3.0
         * some fixtures are auto-generated by Symfony and may contain unused use statements
         */ if ( false !== strpos ( $ path , \ DIRECTORY_SEPARATOR . 'Fixtures' . \ DIRECTORY_SEPARATOR ) && false === strpos ( $ path , \ DIRECTORY_SEPARATOR . 'tests' . \ DIRECTORY_SEPARATOR . 'Fixtures' . \ DIRECTORY_SEPARATOR ) ) { return false ; } return true ; }
{@inheritdoc}
{