Skip to content

Commit 94bd63f

Browse files
Alpha-ordering for "use" statements
1 parent 2fad125 commit 94bd63f

39 files changed

+75
-75
lines changed

Application.php

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,38 +11,38 @@
1111

1212
namespace Symfony\Component\Console;
1313

14+
use Symfony\Component\Console\Command\Command;
15+
use Symfony\Component\Console\Command\HelpCommand;
16+
use Symfony\Component\Console\Command\ListCommand;
1417
use Symfony\Component\Console\Descriptor\TextDescriptor;
1518
use Symfony\Component\Console\Descriptor\XmlDescriptor;
19+
use Symfony\Component\Console\Event\ConsoleCommandEvent;
20+
use Symfony\Component\Console\Event\ConsoleExceptionEvent;
21+
use Symfony\Component\Console\Event\ConsoleTerminateEvent;
22+
use Symfony\Component\Console\Exception\CommandNotFoundException;
1623
use Symfony\Component\Console\Exception\ExceptionInterface;
24+
use Symfony\Component\Console\Exception\LogicException;
1725
use Symfony\Component\Console\Formatter\OutputFormatter;
1826
use Symfony\Component\Console\Helper\DebugFormatterHelper;
27+
use Symfony\Component\Console\Helper\DialogHelper;
28+
use Symfony\Component\Console\Helper\FormatterHelper;
1929
use Symfony\Component\Console\Helper\Helper;
30+
use Symfony\Component\Console\Helper\HelperSet;
2031
use Symfony\Component\Console\Helper\ProcessHelper;
32+
use Symfony\Component\Console\Helper\ProgressHelper;
2133
use Symfony\Component\Console\Helper\QuestionHelper;
22-
use Symfony\Component\Console\Input\InputInterface;
34+
use Symfony\Component\Console\Helper\TableHelper;
2335
use Symfony\Component\Console\Input\ArgvInput;
2436
use Symfony\Component\Console\Input\ArrayInput;
25-
use Symfony\Component\Console\Input\InputDefinition;
26-
use Symfony\Component\Console\Input\InputOption;
2737
use Symfony\Component\Console\Input\InputArgument;
2838
use Symfony\Component\Console\Input\InputAwareInterface;
39+
use Symfony\Component\Console\Input\InputDefinition;
40+
use Symfony\Component\Console\Input\InputInterface;
41+
use Symfony\Component\Console\Input\InputOption;
2942
use Symfony\Component\Console\Output\BufferedOutput;
30-
use Symfony\Component\Console\Output\OutputInterface;
3143
use Symfony\Component\Console\Output\ConsoleOutput;
3244
use Symfony\Component\Console\Output\ConsoleOutputInterface;
33-
use Symfony\Component\Console\Command\Command;
34-
use Symfony\Component\Console\Command\HelpCommand;
35-
use Symfony\Component\Console\Command\ListCommand;
36-
use Symfony\Component\Console\Helper\HelperSet;
37-
use Symfony\Component\Console\Helper\FormatterHelper;
38-
use Symfony\Component\Console\Helper\DialogHelper;
39-
use Symfony\Component\Console\Helper\ProgressHelper;
40-
use Symfony\Component\Console\Helper\TableHelper;
41-
use Symfony\Component\Console\Event\ConsoleCommandEvent;
42-
use Symfony\Component\Console\Event\ConsoleExceptionEvent;
43-
use Symfony\Component\Console\Event\ConsoleTerminateEvent;
44-
use Symfony\Component\Console\Exception\CommandNotFoundException;
45-
use Symfony\Component\Console\Exception\LogicException;
45+
use Symfony\Component\Console\Output\OutputInterface;
4646
use Symfony\Component\Debug\Exception\FatalThrowableError;
4747
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
4848

Command/Command.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@
1111

1212
namespace Symfony\Component\Console\Command;
1313

14+
use Symfony\Component\Console\Application;
1415
use Symfony\Component\Console\Descriptor\TextDescriptor;
1516
use Symfony\Component\Console\Descriptor\XmlDescriptor;
1617
use Symfony\Component\Console\Exception\ExceptionInterface;
17-
use Symfony\Component\Console\Input\InputDefinition;
18-
use Symfony\Component\Console\Input\InputOption;
18+
use Symfony\Component\Console\Exception\InvalidArgumentException;
19+
use Symfony\Component\Console\Exception\LogicException;
20+
use Symfony\Component\Console\Helper\HelperSet;
1921
use Symfony\Component\Console\Input\InputArgument;
22+
use Symfony\Component\Console\Input\InputDefinition;
2023
use Symfony\Component\Console\Input\InputInterface;
24+
use Symfony\Component\Console\Input\InputOption;
2125
use Symfony\Component\Console\Output\BufferedOutput;
2226
use Symfony\Component\Console\Output\OutputInterface;
23-
use Symfony\Component\Console\Application;
24-
use Symfony\Component\Console\Helper\HelperSet;
25-
use Symfony\Component\Console\Exception\InvalidArgumentException;
26-
use Symfony\Component\Console\Exception\LogicException;
2727

2828
/**
2929
* Base class for all commands.

Command/HelpCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
use Symfony\Component\Console\Helper\DescriptorHelper;
1515
use Symfony\Component\Console\Input\InputArgument;
16-
use Symfony\Component\Console\Input\InputOption;
1716
use Symfony\Component\Console\Input\InputInterface;
17+
use Symfony\Component\Console\Input\InputOption;
1818
use Symfony\Component\Console\Output\OutputInterface;
1919

2020
/**

Command/ListCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313

1414
use Symfony\Component\Console\Helper\DescriptorHelper;
1515
use Symfony\Component\Console\Input\InputArgument;
16-
use Symfony\Component\Console\Input\InputOption;
16+
use Symfony\Component\Console\Input\InputDefinition;
1717
use Symfony\Component\Console\Input\InputInterface;
18+
use Symfony\Component\Console\Input\InputOption;
1819
use Symfony\Component\Console\Output\OutputInterface;
19-
use Symfony\Component\Console\Input\InputDefinition;
2020

2121
/**
2222
* ListCommand displays the list of all available commands for the application.

Descriptor/Descriptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313

1414
use Symfony\Component\Console\Application;
1515
use Symfony\Component\Console\Command\Command;
16+
use Symfony\Component\Console\Exception\InvalidArgumentException;
1617
use Symfony\Component\Console\Input\InputArgument;
1718
use Symfony\Component\Console\Input\InputDefinition;
1819
use Symfony\Component\Console\Input\InputOption;
1920
use Symfony\Component\Console\Output\OutputInterface;
20-
use Symfony\Component\Console\Exception\InvalidArgumentException;
2121

2222
/**
2323
* @author Jean-François Simon <[email protected]>

Helper/DescriptorHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
use Symfony\Component\Console\Descriptor\MarkdownDescriptor;
1717
use Symfony\Component\Console\Descriptor\TextDescriptor;
1818
use Symfony\Component\Console\Descriptor\XmlDescriptor;
19-
use Symfony\Component\Console\Output\OutputInterface;
2019
use Symfony\Component\Console\Exception\InvalidArgumentException;
20+
use Symfony\Component\Console\Output\OutputInterface;
2121

2222
/**
2323
* This class adds helper method to describe objects in various formats.

Helper/DialogHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
use Symfony\Component\Console\Exception\InvalidArgumentException;
1515
use Symfony\Component\Console\Exception\RuntimeException;
16+
use Symfony\Component\Console\Formatter\OutputFormatterStyle;
1617
use Symfony\Component\Console\Output\ConsoleOutputInterface;
1718
use Symfony\Component\Console\Output\OutputInterface;
18-
use Symfony\Component\Console\Formatter\OutputFormatterStyle;
1919

2020
/**
2121
* The Dialog class provides helpers to interact with the user.

Helper/InputAwareHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Component\Console\Helper;
1313

14-
use Symfony\Component\Console\Input\InputInterface;
1514
use Symfony\Component\Console\Input\InputAwareInterface;
15+
use Symfony\Component\Console\Input\InputInterface;
1616

1717
/**
1818
* An implementation of InputAwareInterface for Helpers.

Helper/ProgressBar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
namespace Symfony\Component\Console\Helper;
1313

14+
use Symfony\Component\Console\Exception\LogicException;
1415
use Symfony\Component\Console\Output\ConsoleOutputInterface;
1516
use Symfony\Component\Console\Output\OutputInterface;
16-
use Symfony\Component\Console\Exception\LogicException;
1717

1818
/**
1919
* The ProgressBar provides helpers to display progress output.

Helper/ProgressHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
namespace Symfony\Component\Console\Helper;
1313

14-
use Symfony\Component\Console\Output\NullOutput;
14+
use Symfony\Component\Console\Exception\LogicException;
1515
use Symfony\Component\Console\Output\ConsoleOutputInterface;
16+
use Symfony\Component\Console\Output\NullOutput;
1617
use Symfony\Component\Console\Output\OutputInterface;
17-
use Symfony\Component\Console\Exception\LogicException;
1818

1919
/**
2020
* The Progress class provides helpers to display progress output.

0 commit comments

Comments
 (0)