$version =
$request->query->
get('shopwareVersion', ''
);
$shopwarePath =
$this->recoveryManager->
getShopwareLocation();
ProjectComposerJsonUpdater::
update( $shopwarePath . '/composer.json',
$version );
return $this->streamedCommandResponseGenerator->
runJSON([ $this->recoveryManager->
getPhpBinary($request),
'-dmemory_limit=1G',
$this->recoveryManager->
getBinary(),
'update',
'-d',
$shopwarePath,
'--no-interaction',
'--no-ansi',
'--no-scripts',
'-v',
'--with-all-dependencies', // update all packages
]);
}