diff --git a/composer.json b/composer.json index 9edff17..caf8293 100644 --- a/composer.json +++ b/composer.json @@ -5,8 +5,8 @@ "require": { "php": "^7.1|^8.0", "ext-simplexml": "*", - "symfony/console": "^2.5|^3|^4|^5|^6", - "symfony/process": "^2.5|^3|^4|^5|^6" + "symfony/console": "^2.5|^3|^4|^5|^6|^7", + "symfony/process": "^2.5|^3|^4|^5|^6|^7" }, "require-dev": { "symfony/console": "2.8.*" diff --git a/src/DumpCommand.php b/src/DumpCommand.php index d15ca46..69e5764 100644 --- a/src/DumpCommand.php +++ b/src/DumpCommand.php @@ -86,7 +86,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $process = Process::fromShellCommandline($command); } else { // old Symfony way - $process = new Process($command); + $process = new Process(explode(' ', $command)); } $process->run(); if (!$process->isSuccessful()) {