Skip to content

Commit c963277

Browse files
committed
cleanup naming
1 parent 3de61c0 commit c963277

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/MockWebServer.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,14 +287,14 @@ private function startServer( string $fullCmd ) {
287287
$env = null;
288288
$cwd = null;
289289

290-
$stdin = fopen('php://stdin', 'rb');
291-
$output = tempnam(sys_get_temp_dir(), 'MockWebServer.stdout');
292-
$error = tempnam(sys_get_temp_dir(), 'MockWebServer.stderr');
290+
$stdin = fopen('php://stdin', 'rb');
291+
$stdoutf = tempnam(sys_get_temp_dir(), 'MockWebServer.stdout');
292+
$stderrf = tempnam(sys_get_temp_dir(), 'MockWebServer.stderr');
293293

294294
$descriptorSpec = [
295295
0 => $stdin,
296-
1 => [ "file", $output, "a" ],
297-
2 => [ "file", $error, "a" ],
296+
1 => [ "file", $stdoutf, "a" ],
297+
2 => [ "file", $stderrf, "a" ],
298298
];
299299

300300
$process = proc_open($fullCmd, $descriptorSpec, $pipes, $cwd, $env, [

0 commit comments

Comments
 (0)