1 | <?php |
||
12 | class CommandBusInteractiveConsoleCommand extends ContainerAwareCommand |
||
13 | { |
||
14 | const SUCCESS_CODE = 0; |
||
15 | const ERROR_CODE = 1; |
||
16 | |||
17 | const INTERACTIVE_COMMAND = 'command-bus:handle'; |
||
18 | |||
19 | private static $commandToFormTypeMap = [ |
||
|
|||
20 | 'DummyCommand' => DummyCommandType::class, |
||
21 | ]; |
||
22 | |||
23 | protected function configure() |
||
30 | |||
31 | /** {@inheritdoc} */ |
||
32 | protected function execute(InputInterface $input, OutputInterface $output) |
||
48 | |||
49 | private function handleException(OutputInterface $output, \Exception $exception) |
||
55 | |||
56 | private function handleSuccess(OutputInterface $output, $commandName) |
||
62 | } |
This check marks private properties in classes that are never used. Those properties can be removed.