| Conditions | 5 |
| Paths | 16 |
| Total Lines | 23 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public static function prepare(OutputInterface $output = null) |
||
| 34 | { |
||
| 35 | if ($output) { |
||
| 36 | $output->writeln('<info>Preparing storage...</info>'); |
||
| 37 | } |
||
| 38 | Storage::prepare(); |
||
| 39 | |||
| 40 | if ($output) { |
||
| 41 | $output->writeln('<info>Preparing environment...</info>'); |
||
| 42 | } |
||
| 43 | Environment::prepare(); |
||
| 44 | |||
| 45 | if ($output) { |
||
| 46 | $output->writeln('<info>Preparing composer...</info>'); |
||
| 47 | } |
||
| 48 | Composer::download(); |
||
| 49 | Composer::update(); |
||
| 50 | |||
| 51 | if ($output) { |
||
| 52 | $output->writeln('<info>Updating database schema...</info>'); |
||
| 53 | } |
||
| 54 | self::updateDatabaseSchema(); |
||
| 55 | } |
||
| 56 | } |
||
| 57 |