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