| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class Application extends \Symfony\Component\Console\Application |
||
| 9 | { |
||
| 10 | const VERSION = '0.1.0'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * {@inheritdoc} |
||
| 14 | */ |
||
| 15 | public function __construct() |
||
| 16 | { |
||
| 17 | parent::__construct('PHP 7 Compatibility Check Analyser', static::VERSION); |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * {@inheritdoc} |
||
| 22 | */ |
||
| 23 | public function getDefinition() |
||
| 24 | { |
||
| 25 | $inputDefinition = parent::getDefinition(); |
||
| 26 | $inputDefinition->setArguments(); |
||
| 27 | |||
| 28 | return $inputDefinition; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | protected function getCommandName(InputInterface $input) |
||
| 35 | { |
||
| 36 | return PHP7CCAnalyseCommand::COMMAND_NAME; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | protected function getDefaultCommands() |
||
| 48 | } |
||
| 49 | } |