Revert "Extract extraArgs and workingDir"

This reverts commit ee709b2966.
This commit is contained in:
Oliver Davies 2024-02-21 13:22:17 +00:00
parent 01854538d4
commit 084f6fb3c7
5 changed files with 28 additions and 36 deletions

View file

@ -11,13 +11,14 @@ final class InstallCommand extends AbstractCommand
{
public function execute(InputInterface $input, OutputInterface $output): int
{
parent::execute($input, $output);
$extraArgs = $input->getOption('extra-args');
$workingDir = $input->getOption('working-dir');
// TODO: Composer in Docker Compose?
$process = Process::create(
command: ['composer', 'install'],
extraArgs: $this->extraArgs,
workingDir: $this->workingDir,
extraArgs: $extraArgs,
workingDir: $workingDir,
);
$process->setTimeout(null);