Skip to content

Commit eb334c8

Browse files
1 parent b24b9fb commit eb334c8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Util/PHP/WindowsPhpProcess.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ final class WindowsPhpProcess extends DefaultPhpProcess
2020
{
2121
public function getCommand(array $settings, string $file = null): string
2222
{
23-
return '"' . parent::getCommand($settings, $file) . '"';
23+
if (\PHP_MAJOR_VERSION < 8) {
24+
return '"' . parent::getCommand($settings, $file) . '"';
25+
}
26+
27+
return parent::getCommand($settings, $file);
2428
}
2529

2630
/**

0 commit comments

Comments
 (0)