Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public static function applyPatches(Event $event) |
||
20 | { |
||
21 | $options = static::getOptions($event); |
||
22 | $consoleDir = static::getConsoleDir($event, 'applying custom patches on vendors'); |
||
23 | |||
24 | if (null === $consoleDir) { |
||
25 | return; |
||
26 | } |
||
27 | |||
28 | static::executeCommand($event, $consoleDir, 'blast:patchs:apply --force', $options['process-timeout']); |
||
29 | } |
||
30 | } |
||
31 |