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:
parent
2f4a3aba26
commit
07a7284ffc
8 changed files with 110 additions and 10 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue