Skip to content

Commit 3fb9a36

Browse files
authored
Merge pull request #2 from php-etl/fix/composer-require
Added --with-dependencies option in the composer require command
2 parents c826424 + 1ff3432 commit 3fb9a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHP/ComposerRequire.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function __toString()
1919
{
2020
return (string) new Dockerfile\Run(sprintf(<<<RUN
2121
set -ex \\
22-
&& composer require --prefer-dist --no-progress --prefer-stable --sort-packages --optimize-autoloader %s
22+
&& composer require --prefer-dist --no-progress --prefer-stable --sort-packages --optimize-autoloader --with-dependencies %s
2323
RUN, implode(' ', $this->packages)));
2424
}
2525
}

0 commit comments

Comments
 (0)