Skip to content

Commit a84e0fa

Browse files
Merge branch '2.8' into 3.4
* 2.8: Alpha-ordering for "use" statements
2 parents 3846c53 + 94bd63f commit a84e0fa

36 files changed

+73
-73
lines changed

Application.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,35 +11,35 @@
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\CommandLoader\CommandLoaderInterface;
18+
use Symfony\Component\Console\Event\ConsoleCommandEvent;
19+
use Symfony\Component\Console\Event\ConsoleErrorEvent;
20+
use Symfony\Component\Console\Event\ConsoleExceptionEvent;
21+
use Symfony\Component\Console\Event\ConsoleTerminateEvent;
22+
use Symfony\Component\Console\Exception\CommandNotFoundException;
1523
use Symfony\Component\Console\Exception\ExceptionInterface;
24+
use Symfony\Component\Console\Exception\LogicException;
1625
use Symfony\Component\Console\Formatter\OutputFormatter;
1726
use Symfony\Component\Console\Helper\DebugFormatterHelper;
27+
use Symfony\Component\Console\Helper\FormatterHelper;
1828
use Symfony\Component\Console\Helper\Helper;
29+
use Symfony\Component\Console\Helper\HelperSet;
1930
use Symfony\Component\Console\Helper\ProcessHelper;
2031
use Symfony\Component\Console\Helper\QuestionHelper;
21-
use Symfony\Component\Console\Input\InputInterface;
22-
use Symfony\Component\Console\Input\StreamableInputInterface;
2332
use Symfony\Component\Console\Input\ArgvInput;
2433
use Symfony\Component\Console\Input\ArrayInput;
25-
use Symfony\Component\Console\Input\InputDefinition;
26-
use Symfony\Component\Console\Input\InputOption;
2734
use Symfony\Component\Console\Input\InputArgument;
2835
use Symfony\Component\Console\Input\InputAwareInterface;
29-
use Symfony\Component\Console\Output\OutputInterface;
36+
use Symfony\Component\Console\Input\InputDefinition;
37+
use Symfony\Component\Console\Input\InputInterface;
38+
use Symfony\Component\Console\Input\InputOption;
39+
use Symfony\Component\Console\Input\StreamableInputInterface;
3040
use Symfony\Component\Console\Output\ConsoleOutput;
3141
use Symfony\Component\Console\Output\ConsoleOutputInterface;
32-
use Symfony\Component\Console\Command\Command;
33-
use Symfony\Component\Console\Command\HelpCommand;
34-
use Symfony\Component\Console\Command\ListCommand;
35-
use Symfony\Component\Console\Helper\HelperSet;
36-
use Symfony\Component\Console\Helper\FormatterHelper;
37-
use Symfony\Component\Console\Event\ConsoleCommandEvent;
38-
use Symfony\Component\Console\Event\ConsoleErrorEvent;
39-
use Symfony\Component\Console\Event\ConsoleExceptionEvent;
40-
use Symfony\Component\Console\Event\ConsoleTerminateEvent;
41-
use Symfony\Component\Console\Exception\CommandNotFoundException;
42-
use Symfony\Component\Console\Exception\LogicException;
42+
use Symfony\Component\Console\Output\OutputInterface;
4343
use Symfony\Component\Debug\ErrorHandler;
4444
use Symfony\Component\Debug\Exception\FatalThrowableError;
4545
use Symfony\Component\EventDispatcher\EventDispatcherInterface;

Command/Command.php

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

1212
namespace Symfony\Component\Console\Command;
1313

14+
use Symfony\Component\Console\Application;
1415
use Symfony\Component\Console\Exception\ExceptionInterface;
15-
use Symfony\Component\Console\Input\InputDefinition;
16-
use Symfony\Component\Console\Input\InputOption;
16+
use Symfony\Component\Console\Exception\InvalidArgumentException;
17+
use Symfony\Component\Console\Exception\LogicException;
18+
use Symfony\Component\Console\Helper\HelperSet;
1719
use Symfony\Component\Console\Input\InputArgument;
20+
use Symfony\Component\Console\Input\InputDefinition;
1821
use Symfony\Component\Console\Input\InputInterface;
22+
use Symfony\Component\Console\Input\InputOption;
1923
use Symfony\Component\Console\Output\OutputInterface;
20-
use Symfony\Component\Console\Application;
21-
use Symfony\Component\Console\Helper\HelperSet;
22-
use Symfony\Component\Console\Exception\InvalidArgumentException;
23-
use Symfony\Component\Console\Exception\LogicException;
2424

2525
/**
2626
* 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/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
use Symfony\Component\Console\Terminal;
1818

1919
/**

Helper/QuestionHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
use Symfony\Component\Console\Input\StreamableInputInterface;
2020
use Symfony\Component\Console\Output\ConsoleOutputInterface;
2121
use Symfony\Component\Console\Output\OutputInterface;
22-
use Symfony\Component\Console\Question\Question;
2322
use Symfony\Component\Console\Question\ChoiceQuestion;
23+
use Symfony\Component\Console\Question\Question;
2424

2525
/**
2626
* The QuestionHelper class provides helpers to interact with the user.

Helper/SymfonyQuestionHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
namespace Symfony\Component\Console\Helper;
1313

1414
use Symfony\Component\Console\Exception\LogicException;
15+
use Symfony\Component\Console\Formatter\OutputFormatter;
1516
use Symfony\Component\Console\Input\InputInterface;
1617
use Symfony\Component\Console\Output\OutputInterface;
1718
use Symfony\Component\Console\Question\ChoiceQuestion;
1819
use Symfony\Component\Console\Question\ConfirmationQuestion;
1920
use Symfony\Component\Console\Question\Question;
2021
use Symfony\Component\Console\Style\SymfonyStyle;
21-
use Symfony\Component\Console\Formatter\OutputFormatter;
2222

2323
/**
2424
* Symfony Style Guide compliant question helper.

0 commit comments

Comments
 (0)