Skip to content

Commit b33a61f

Browse files
committed
Merge branch '5.0'
* 5.0: Fix code Tweak the code to avoid fabbot false positives
2 parents cb8422a + 313216b commit b33a61f

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

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

0 commit comments

Comments
 (0)