We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37f504a commit 0eed0b4Copy full SHA for 0eed0b4
1 file changed
src/Commands/Update.php
@@ -76,7 +76,8 @@ final public function __construct(
76
protected string $installPreference = 'none',
77
protected bool $ignoreScripts = false,
78
protected bool $dryRun = false,
79
- protected ?string $package = null
+ protected ?string $package = null,
80
+ protected bool $withAllDependencies = false
81
) {
82
parent::__construct($composer);
83
@@ -331,6 +332,10 @@ protected function arguments(): array
331
332
$arguments['--no-scripts'] = true;
333
}
334
335
+ if ($this->withAllDependencies) {
336
+ $arguments['--with-all-dependencies'] = true;
337
+ }
338
+
339
if (in_array($this->installPreference, [self::PREFER_DIST, self::PREFER_SOURCE])) {
340
$arguments['--prefer-' . $this->installPreference] = true;
341
0 commit comments