|
|
|
@ -35,6 +35,7 @@ class UpdateCommand extends Command
|
|
|
|
|
new InputOption('dry-run', null, InputOption::VALUE_NONE, 'Outputs the operations but will not execute anything (implicitly enables --verbose).'),
|
|
|
|
|
new InputOption('dev', null, InputOption::VALUE_NONE, 'Enables installation of require-dev packages (enabled by default, only present for sanity).'),
|
|
|
|
|
new InputOption('no-dev', null, InputOption::VALUE_NONE, 'Disables installation of require-dev packages.'),
|
|
|
|
|
new InputOption('lock', null, InputOption::VALUE_NONE, 'Only updates the lock file hash to suppress warning about the lock file being out of date.'),
|
|
|
|
|
new InputOption('no-custom-installers', null, InputOption::VALUE_NONE, 'Disables all custom installers.'),
|
|
|
|
|
new InputOption('no-scripts', null, InputOption::VALUE_NONE, 'Skips the execution of all scripts defined in composer.json file.'),
|
|
|
|
|
new InputOption('no-progress', null, InputOption::VALUE_NONE, 'Do not output download progress.'),
|
|
|
|
@ -92,7 +93,7 @@ EOT
|
|
|
|
|
->setRunScripts(!$input->getOption('no-scripts'))
|
|
|
|
|
->setOptimizeAutoloader($input->getOption('optimize-autoloader'))
|
|
|
|
|
->setUpdate(true)
|
|
|
|
|
->setUpdateWhitelist($input->getArgument('packages'))
|
|
|
|
|
->setUpdateWhitelist($input->getOption('lock') ? array('lock') : $input->getArgument('packages'))
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
if ($input->getOption('no-custom-installers')) {
|
|
|
|
|