| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public static function logsSchemaCreate(Event $event) |
||
| 19 | { |
||
| 20 | $options = static::getOptions($event); |
||
| 21 | $consoleDir = static::getConsoleDir($event, 'create logs schema'); |
||
| 22 | |||
| 23 | if (null === $consoleDir) { |
||
| 24 | return; |
||
| 25 | } |
||
| 26 | |||
| 27 | static::executeCommand($event, $consoleDir, 'norsys:logs:schema-create --force', $options['process-timeout']); |
||
| 28 | } |
||
| 47 |