Skip to content

Commit 31ce4a4

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: fix Redis proxies tests [VarDumper] Fix missing colors initialization in CliDumper [Process] Fix executable finder when the command starts with a dash [Validator] added reviewed Lithuanian and Dutch translations simplify the parser factory creation
2 parents acd3eb5 + 987e740 commit 31ce4a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PhpExecutableFinder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function find(bool $includeArgs = true): string|false
3333
{
3434
if ($php = getenv('PHP_BINARY')) {
3535
if (!is_executable($php)) {
36-
$command = '\\' === \DIRECTORY_SEPARATOR ? 'where' : 'command -v';
36+
$command = '\\' === \DIRECTORY_SEPARATOR ? 'where' : 'command -v --';
3737
if (\function_exists('exec') && $php = strtok(exec($command.' '.escapeshellarg($php)), \PHP_EOL)) {
3838
if (!is_executable($php)) {
3939
return false;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy