Skip to content

Commit 7effcab

Browse files
authored
Fix variable assignment for PHP argument escaping in run-tests.php (#20799)
1 parent bae78c6 commit 7effcab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1861,8 +1861,8 @@ function run_test(string $php, $file, array $env): string
18611861
$skipCache = new SkipCache($enableSkipCache, $cfg['keep']['skip']);
18621862
}
18631863

1864-
$orig_php = $php;
18651864
$php = escapeshellarg($php);
1865+
$orig_php = $php;
18661866

18671867
$retried = false;
18681868
retry:

0 commit comments

Comments
 (0)