Subscribe to PHP Freaks RSS

Remove unused "use" imports in PHP

syndicated from planet-php.net on May 15, 2019

To clean up unused namespace imports (use statements) in many PHP files at once, php-cs-fixer (version 2) is of great help:

$ php php-cs-fixer.phar fix --rules=no_unused_imports src/