File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ final public function __construct(
7676 protected string $ installPreference = 'none ' ,
7777 protected bool $ ignoreScripts = false ,
7878 protected bool $ dryRun = false ,
79- protected ?string $ package = null
79+ protected ?string $ package = null ,
80+ protected bool $ withAllDependencies = false
8081 ) {
8182 parent ::__construct ($ composer );
8283
@@ -331,6 +332,10 @@ protected function arguments(): array
331332 $ arguments ['--no-scripts ' ] = true ;
332333 }
333334
335+ if ($ this ->withAllDependencies ) {
336+ $ arguments ['--with-all-dependencies ' ] = true ;
337+ }
338+
334339 if (in_array ($ this ->installPreference , [self ::PREFER_DIST , self ::PREFER_SOURCE ])) {
335340 $ arguments ['--prefer- ' . $ this ->installPreference ] = true ;
336341 }
You can’t perform that action at this time.
0 commit comments