| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function __construct(InputInterface $input, OutputInterface $output) |
||
| 21 | { |
||
| 22 | // Only relevant for 6.x, as in Symfony 2.x command argument is not optional |
||
| 23 | if (Kernel::MAJOR_VERSION < 3) { |
||
| 24 | parent::__construct(new Command('invalid'), $input, $output); |
||
| 25 | } else { |
||
| 26 | parent::__construct(null, $input, $output); |
||
| 27 | } |
||
| 28 | } |
||
| 29 | } |
||
| 30 |