com php-src: fix ident: ext/openssl/tests/ServerClientTestCase.inc

From: Date: Sun, 04 Dec 2016 19:59:12 +0000
Subject: com php-src: fix ident: ext/openssl/tests/ServerClientTestCase.inc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-96182@lists.php.net to get a copy of this message
Commit: 69fbc751ffb84f009f2e043ed03a49c16122ad82 Author: Anatol Belski <ab@php.net> Sun, 4 Dec 2016 20:59:12 +0100 Parents: 8e209d043559a7d60bea50fcac23bfa87b3015d7 Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=69fbc751ffb84f009f2e043ed03a49c16122ad82 Log: fix ident Changed paths: M ext/openssl/tests/ServerClientTestCase.inc Diff: diff --git a/ext/openssl/tests/ServerClientTestCase.inc b/ext/openssl/tests/ServerClientTestCase.inc index 478b337..fe46300 100644 --- a/ext/openssl/tests/ServerClientTestCase.inc +++ b/ext/openssl/tests/ServerClientTestCase.inc @@ -48,13 +48,13 @@ class ServerClientTestCase private function spawnWorkerProcess($code) { - if (defined("PHP_WINDOWS_VERSION_MAJOR")) { - $ini = php_ini_loaded_file(); - $cmd = sprintf('%s %s "%s" %s', PHP_BINARY, $ini ? "-n -c $ini" : "", __FILE__, WORKER_ARGV_VALUE); - } else { - $cmd = sprintf('%s "%s" %s', PHP_BINARY, __FILE__, WORKER_ARGV_VALUE); - } - $this->workerHandle = proc_open($cmd, [['pipe', 'r'], ['pipe', 'w'], STDERR], $pipes); + if (defined("PHP_WINDOWS_VERSION_MAJOR")) { + $ini = php_ini_loaded_file(); + $cmd = sprintf('%s %s "%s" %s', PHP_BINARY, $ini ? "-n -c $ini" : "", __FILE__, WORKER_ARGV_VALUE); + } else { + $cmd = sprintf('%s "%s" %s', PHP_BINARY, __FILE__, WORKER_ARGV_VALUE); + } + $this->workerHandle = proc_open($cmd, [['pipe', 'r'], ['pipe', 'w'], STDERR], $pipes); $this->workerStdIn = $pipes[0]; $this->workerStdOut = $pipes[1];

« previous php.cvs (#96182) next »