Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
21 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
22 | { |
||
23 | $list = $this->findMigrations($output); |
||
24 | |||
25 | foreach ($list as $migration) { |
||
26 | $state = $migration->getState(); |
||
27 | $output->writeln('<fg=cyan>' . $state->getName() . '</> ' |
||
28 | . '<fg=yellow>[' . (static::MIGRATION_STATUS[$state->getStatus()] ?? '?') . ']</>'); |
||
29 | } |
||
30 | return ExitCode::OK; |
||
31 | } |
||
33 |