Skip to content

Commit 8f1c65c

Browse files
Merge branch '3.4' into 4.0
* 3.4: Alpha-ordering for "use" statements
2 parents 6192c1c + a84e0fa commit 8f1c65c

36 files changed

+71
-71
lines changed

Application.php

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,34 +11,34 @@
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\ConsoleTerminateEvent;
21+
use Symfony\Component\Console\Exception\CommandNotFoundException;
1522
use Symfony\Component\Console\Exception\ExceptionInterface;
23+
use Symfony\Component\Console\Exception\LogicException;
1624
use Symfony\Component\Console\Formatter\OutputFormatter;
1725
use Symfony\Component\Console\Helper\DebugFormatterHelper;
26+
use Symfony\Component\Console\Helper\FormatterHelper;
1827
use Symfony\Component\Console\Helper\Helper;
28+
use Symfony\Component\Console\Helper\HelperSet;
1929
use Symfony\Component\Console\Helper\ProcessHelper;
2030
use Symfony\Component\Console\Helper\QuestionHelper;
21-
use Symfony\Component\Console\Input\InputInterface;
22-
use Symfony\Component\Console\Input\StreamableInputInterface;
2331
use Symfony\Component\Console\Input\ArgvInput;
2432
use Symfony\Component\Console\Input\ArrayInput;
25-
use Symfony\Component\Console\Input\InputDefinition;
26-
use Symfony\Component\Console\Input\InputOption;
2733
use Symfony\Component\Console\Input\InputArgument;
2834
use Symfony\Component\Console\Input\InputAwareInterface;
29-
use Symfony\Component\Console\Output\OutputInterface;
35+
use Symfony\Component\Console\Input\InputDefinition;
36+
use Symfony\Component\Console\Input\InputInterface;
37+
use Symfony\Component\Console\Input\InputOption;
38+
use Symfony\Component\Console\Input\StreamableInputInterface;
3039
use Symfony\Component\Console\Output\ConsoleOutput;
3140
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\ConsoleTerminateEvent;
40-
use Symfony\Component\Console\Exception\CommandNotFoundException;
41-
use Symfony\Component\Console\Exception\LogicException;
41+
use Symfony\Component\Console\Output\OutputInterface;
4242
use Symfony\Component\Debug\ErrorHandler;
4343
use Symfony\Component\Debug\Exception\FatalThrowableError;
4444
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
@@ -18,8 +18,8 @@
1818
use Symfony\Component\Console\Input\StreamableInputInterface;
1919
use Symfony\Component\Console\Output\ConsoleOutputInterface;
2020
use Symfony\Component\Console\Output\OutputInterface;
21-
use Symfony\Component\Console\Question\Question;
2221
use Symfony\Component\Console\Question\ChoiceQuestion;
22+
use Symfony\Component\Console\Question\Question;
2323

2424
/**
2525
* 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
@@ -11,12 +11,12 @@
1111

1212
namespace Symfony\Component\Console\Helper;
1313

14+
use Symfony\Component\Console\Formatter\OutputFormatter;
1415
use Symfony\Component\Console\Output\OutputInterface;
1516
use Symfony\Component\Console\Question\ChoiceQuestion;
1617
use Symfony\Component\Console\Question\ConfirmationQuestion;
1718
use Symfony\Component\Console\Question\Question;
1819
use Symfony\Component\Console\Style\SymfonyStyle;
19-
use Symfony\Component\Console\Formatter\OutputFormatter;
2020

2121
/**
2222
* Symfony Style Guide compliant question helper.

0 commit comments

Comments
 (0)