Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
43 | 9 | protected function execute(InputInterface $input, OutputInterface $output): int |
|
44 | { |
||
45 | 9 | $io = new SymfonyStyle($input, $output); |
|
46 | |||
47 | 9 | $this->dispatcher->addSubscriber(new ConsoleOutputScheduleSubscriber($io)); |
|
48 | |||
49 | 9 | return ($this->scheduleRunner)()->isSuccessful() ? 0 : 1; |
|
50 | } |
||
52 |