1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Change dependency processing for update with whitelisted packages

By default dependencies of white listed packages are no longer installed automaticaly.
To Install dependencies of whitelisted packages use --with-dependencies.
- rework after review comments
- precise documentation of option
- add missing punctuation marks
This commit is contained in:
Phillip Look 2013-10-14 10:49:34 +02:00
parent 2f4a3aba26
commit 07a7284ffc
8 changed files with 110 additions and 10 deletions

View file

@ -214,7 +214,8 @@ class InstallerTest extends TestCase
->setDevMode($input->getOption('dev'))
->setUpdate(true)
->setDryRun($input->getOption('dry-run'))
->setUpdateWhitelist($input->getArgument('packages'));
->setUpdateWhitelist($input->getArgument('packages'))
->setWhitelistDependencies($input->getOption('with-dependencies'));
return $installer->run() ? 0 : 1;
});