|
@@ -47,7 +47,8 @@ class UpdateCommand extends Command
|
|
new InputOption('verbose', 'v|vv|vvv', InputOption::VALUE_NONE, 'Shows more details including new commits pulled in when updating packages.'),
|
|
new InputOption('verbose', 'v|vv|vvv', InputOption::VALUE_NONE, 'Shows more details including new commits pulled in when updating packages.'),
|
|
new InputOption('optimize-autoloader', 'o', InputOption::VALUE_NONE, 'Optimize autoloader during autoloader dump.'),
|
|
new InputOption('optimize-autoloader', 'o', InputOption::VALUE_NONE, 'Optimize autoloader during autoloader dump.'),
|
|
new InputOption('ignore-platform-reqs', null, InputOption::VALUE_NONE, 'Ignore platform requirements (php & ext- packages).'),
|
|
new InputOption('ignore-platform-reqs', null, InputOption::VALUE_NONE, 'Ignore platform requirements (php & ext- packages).'),
|
|
- new InputOption('prefer-lowest-stable', null, InputOption::VALUE_NONE, 'Forces all packages to their lowest stable version.'),
|
|
|
|
|
|
+ new InputOption('prefer-stable', null, InputOption::VALUE_NONE, 'Prefer stable versions of dependencies.'),
|
|
|
|
+ new InputOption('prefer-lowest', null, InputOption::VALUE_NONE, 'Prefer lowest versions of dependencies.'),
|
|
))
|
|
))
|
|
->setHelp(<<<EOT
|
|
->setHelp(<<<EOT
|
|
The <info>update</info> command reads the composer.json file from the
|
|
The <info>update</info> command reads the composer.json file from the
|
|
@@ -122,7 +123,8 @@ EOT
|
|
->setUpdateWhitelist($input->getOption('lock') ? array('lock') : $input->getArgument('packages'))
|
|
->setUpdateWhitelist($input->getOption('lock') ? array('lock') : $input->getArgument('packages'))
|
|
->setWhitelistDependencies($input->getOption('with-dependencies'))
|
|
->setWhitelistDependencies($input->getOption('with-dependencies'))
|
|
->setIgnorePlatformRequirements($input->getOption('ignore-platform-reqs'))
|
|
->setIgnorePlatformRequirements($input->getOption('ignore-platform-reqs'))
|
|
- ->setPreferLowestStable($input->getOption('prefer-lowest-stable'))
|
|
|
|
|
|
+ ->setPreferStable($input->getOption('prefer-stable'))
|
|
|
|
+ ->setPreferLowest($input->getOption('prefer-lowest'))
|
|
;
|
|
;
|
|
|
|
|
|
if ($input->getOption('no-plugins')) {
|
|
if ($input->getOption('no-plugins')) {
|