Skip to content

Commit c714958

Browse files
Merge branch '3.4' into 4.4
* 3.4: Various cleanups
2 parents 3bc410c + 8a895f0 commit c714958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Process.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1648,7 +1648,7 @@ private function replacePlaceholders(string $commandline, array $env)
16481648
{
16491649
return preg_replace_callback('/"\$\{:([_a-zA-Z]++[_a-zA-Z0-9]*+)\}"/', function ($matches) use ($commandline, $env) {
16501650
if (!isset($env[$matches[1]]) || false === $env[$matches[1]]) {
1651-
throw new InvalidArgumentException(sprintf('Command line is missing a value for parameter "%s": '.$commandline, $matches[1]));
1651+
throw new InvalidArgumentException(sprintf('Command line is missing a value for parameter "%s": ', $matches[1]).$commandline);
16521652
}
16531653

16541654
return $this->escapeArgument($env[$matches[1]]);

0 commit comments

Comments
 (0)