Skip to content

Commit

Permalink
Order use statements, fixes issue #13
Browse files Browse the repository at this point in the history
  • Loading branch information
umpirsky committed Dec 3, 2015
1 parent b5b90ac commit 180d267
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Symfony/Upgrade/Console/Command/FixCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Symfony\CS\ErrorsManager;
use Symfony\CS\Finder\DefaultFinder;
use Symfony\CS\Fixer\Contrib\OrderedUseFixer;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
Expand Down Expand Up @@ -39,6 +40,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$stopwatch
);
$this->fixer->registerBuiltInFixers();
$this->fixer->addFixer(new OrderedUseFixer());

$stopwatch->start('fixFiles');

Expand Down

0 comments on commit 180d267

Please sign in to comment.