| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| 1 | <?php |
||
| 48 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 49 | { |
||
| 50 | if (!$this->verifyInstalled($output)) { |
||
| 51 | return; |
||
| 52 | } |
||
| 53 | |||
| 54 | $output->write(Lang::get('updating_phpci')); |
||
| 55 | |||
| 56 | shell_exec(PHPCI_DIR.'vendor/bin/phinx migrate -c "'.PHPCI_DIR.'phinx.php"'); |
||
| 57 | |||
| 58 | $output->writeln('<info>'.Lang::get('ok').'</info>'); |
||
| 59 | } |
||
| 60 | |||
| 69 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.