diff --git a/src/Util/PHP/AbstractPhpProcess.php b/src/Util/PHP/AbstractPhpProcess.php index b080142fe6b..835d9148cd2 100644 --- a/src/Util/PHP/AbstractPhpProcess.php +++ b/src/Util/PHP/AbstractPhpProcess.php @@ -193,6 +193,7 @@ public function getCommand(array $settings, ?string $file = null): array } if ($file) { + $command[] = '-f'; $command[] = $file; } diff --git a/src/Util/PHP/WindowsPhpProcess.php b/src/Util/PHP/WindowsPhpProcess.php index 74524996d36..35ac11aa8b8 100644 --- a/src/Util/PHP/WindowsPhpProcess.php +++ b/src/Util/PHP/WindowsPhpProcess.php @@ -38,6 +38,6 @@ protected function getHandles(): array protected function useTemporaryFile(): bool { - return true; + return false; } }