Order imports in the PHP CS fixer

parent 37ac767b
......@@ -43,7 +43,10 @@ return PhpCsFixer\Config::create()
'no_unreachable_default_argument_value' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'ordered_imports' => true,
'ordered_imports' => [
'sort_algorithm' => 'alpha',
'imports_order' => ['class', 'function', 'const'],
],
'phpdoc_align' => false,
'phpdoc_order' => true,
'phpdoc_summary' => false,
......
......@@ -24,8 +24,8 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use Symfony\Component\Stopwatch\Stopwatch;
use const PHP_EOL;
use function class_exists;
use const PHP_EOL;
abstract class AbstractCommandStopwatchDecorator extends Command
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment