Skip to content

Commit d7a1c6a

Browse files
committed
Replaced STDIN constant with php://stdin
1 parent e238c04 commit d7a1c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MockWebServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ private function startServer( $fullCmd ) {
292292
$cwd = null;
293293

294294
$output = tmpfile();
295-
$process = proc_open($fullCmd, [STDIN, $output, $output], $pipes, $cwd, $env, [
295+
$process = proc_open($fullCmd, [fopen('php://stdin', 'r'), $output, $output], $pipes, $cwd, $env, [
296296
'suppress_errors' => false,
297297
'bypass_shell' => true,
298298
]);

0 commit comments

Comments
 (0)