| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 54 | 1 | protected function execute(InputInterface $input, OutputInterface $output) |
|
| 55 | { |
||
| 56 | 1 | $output->write('Rebuild DIC...'); |
|
| 57 | 1 | $this->rebuild->buildContainer(); |
|
| 58 | |||
| 59 | 1 | $event = new ClearCacheEvent(); |
|
| 60 | 1 | $this->dispatcher->dispatchEvent($event); |
|
| 61 | |||
| 62 | 1 | @mkdir(ROOT . 'logs', 0744); |
|
|
|
|||
| 63 | 1 | @mkdir(ROOT . 'cache', 0744); |
|
| 64 | |||
| 65 | 1 | $output->writeln('<info>done</info>'); |
|
| 66 | 1 | } |
|
| 67 | } |
||
| 68 |
If you suppress an error, we recommend checking for the error condition explicitly: