| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | 5 | protected function lockedExecute(InputInterface $input, OutputInterface $output): int |
|
| 26 | { |
||
| 27 | 5 | $io = new SymfonyStyle($input, $output); |
|
| 28 | |||
| 29 | 5 | $io->writeln('<fg=blue>Migrating database...</>'); |
|
| 30 | 5 | $this->runPhpCommand($output, [self::DOCTRINE_HELPER_SCRIPT, self::DOCTRINE_HELPER_COMMAND]); |
|
| 31 | 5 | $io->success('Database properly migrated!'); |
|
| 32 | |||
| 33 | 5 | return ExitCodes::EXIT_SUCCESS; |
|
| 34 | } |
||
| 41 |