| @@ 129-138 (lines=10) @@ | ||
| 126 | * |
|
| 127 | * @throws PluginException |
|
| 128 | */ |
|
| 129 | public function execUpdate($dryRun, $output = null) |
|
| 130 | { |
|
| 131 | $this->runCommand([ |
|
| 132 | 'command' => 'update', |
|
| 133 | '--no-interaction' => true, |
|
| 134 | '--profile' => true, |
|
| 135 | '--no-scripts' => true, |
|
| 136 | '--dry-run' => (bool) $dryRun, |
|
| 137 | ], $output); |
|
| 138 | } |
|
| 139 | ||
| 140 | /** |
|
| 141 | * Run install command |
|
| @@ 148-157 (lines=10) @@ | ||
| 145 | * |
|
| 146 | * @throws PluginException |
|
| 147 | */ |
|
| 148 | public function execInstall($dryRun, $output = null) |
|
| 149 | { |
|
| 150 | $this->runCommand([ |
|
| 151 | 'command' => 'install', |
|
| 152 | '--no-interaction' => true, |
|
| 153 | '--profile' => true, |
|
| 154 | '--no-scripts' => true, |
|
| 155 | '--dry-run' => (bool) $dryRun, |
|
| 156 | ], $output); |
|
| 157 | } |
|
| 158 | ||
| 159 | /** |
|
| 160 | * Get require |
|