@@ -4,8 +4,6 @@ |
||
4 | 4 | use phpDocumentor\Reflection\DocBlock; |
5 | 5 | use phpDocumentor\Reflection\DocBlock\Tag\ParamTag; |
6 | 6 | use phpDocumentor\Reflection\DocBlock\Tag\ReturnTag; |
7 | -use Consolidation\AnnotatedCommand\Parser\CommandInfo; |
|
8 | -use Consolidation\AnnotatedCommand\Parser\DefaultsWithDescriptions; |
|
9 | 7 | |
10 | 8 | /** |
11 | 9 | * Given a class and method name, parse the annotations in the |
@@ -4,11 +4,9 @@ |
||
4 | 4 | use Symfony\Component\Console\Command\Command; |
5 | 5 | use Symfony\Component\Console\Input\InputInterface; |
6 | 6 | use Symfony\Component\Console\Output\OutputInterface; |
7 | - |
|
8 | 7 | use Symfony\Component\Console\ConsoleEvents; |
9 | 8 | use Symfony\Component\Console\Event\ConsoleCommandEvent; |
10 | 9 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
11 | - |
|
12 | 10 | use Consolidation\AnnotatedCommand\ExitCodeInterface; |
13 | 11 | use Consolidation\AnnotatedCommand\OutputDataInterface; |
14 | 12 | use Consolidation\AnnotatedCommand\AnnotationData; |
@@ -3,8 +3,6 @@ |
||
3 | 3 | |
4 | 4 | use Consolidation\AnnotatedCommand\Hooks\HookManager; |
5 | 5 | use Consolidation\AnnotatedCommand\Parser\CommandInfo; |
6 | -use Consolidation\OutputFormatters\FormatterManager; |
|
7 | -use Consolidation\OutputFormatters\Options\FormatterOptions; |
|
8 | 6 | use Symfony\Component\Console\Command\Command; |
9 | 7 | use Symfony\Component\Console\Input\InputArgument; |
10 | 8 | use Symfony\Component\Console\Input\InputInterface; |
@@ -408,8 +408,7 @@ |
||
408 | 408 | if ($exit_code !== 0) { |
409 | 409 | return $exit_code; |
410 | 410 | } |
411 | - } |
|
412 | - catch (\Exception $e) { |
|
411 | + } catch (\Exception $e) { |
|
413 | 412 | //$logger->error("Exception was caught while executing $command_name."); |
414 | 413 | // Return non-zero exit code. |
415 | 414 | return 1; |