Skip to content

Commit 313216b

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Fix code Tweak the code to avoid fabbot false positives
2 parents 464a12e + 8cc1c1b commit 313216b

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
@@ -1596,7 +1596,7 @@ private function replacePlaceholders(string $commandline, array $env)
15961596
{
15971597
return preg_replace_callback('/"\$\{:([_a-zA-Z]++[_a-zA-Z0-9]*+)\}"/', function ($matches) use ($commandline, $env) {
15981598
if (!isset($env[$matches[1]]) || false === $env[$matches[1]]) {
1599-
throw new InvalidArgumentException(sprintf('Command line is missing a value for parameter "%s": %s.', $matches[1], $commandline));
1599+
throw new InvalidArgumentException(sprintf('Command line is missing a value for parameter "%s": '.$commandline, $matches[1]));
16001600
}
16011601

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

0 commit comments

Comments
 (0)