Conditions | 3 |
Paths | 3 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 0 |
1 | <?php |
||
26 | protected function execute(InputInterface $input, OutputInterface $output) |
||
27 | { |
||
28 | $this->beforeExecute($input, $output); |
||
29 | $this->fillTasks(); |
||
30 | |||
31 | foreach ($this->getTasks() as $priority => $taskPriority) { |
||
32 | $output->writeln(sprintf('Priority : <comment>%d</comment>', $priority)); |
||
33 | /** @var Command $task */ |
||
34 | foreach ($taskPriority as $task) { |
||
35 | $output->writeln(sprintf('%s<info>%s</info>', str_repeat(' ', 10), $task->getName())); |
||
36 | } |
||
37 | } |
||
38 | } |
||
39 | } |
||
40 |