summaryrefslogtreecommitdiff
path: root/ext/openssl/tests/stream_verify_peer_name_001.phpt
diff options
context:
space:
mode:
authorJakub Zelenka <bukka@php.net>2018-06-21 16:38:19 +0100
committerJakub Zelenka <bukka@php.net>2018-06-21 16:38:19 +0100
commit3c42f64e6e83d0465e6cbfcdf24931112301f5e9 (patch)
tree51ce4ec1e6ed2830f7aa0737581eb8463d269b69 /ext/openssl/tests/stream_verify_peer_name_001.phpt
parent6531719da575e8ceb14fa8e9fefcac2ab365dd00 (diff)
downloadphp-git-3c42f64e6e83d0465e6cbfcdf24931112301f5e9.tar.gz
Make code in openssl ext tests more consistent
Mainly use spaces for indent and fix some other CS issues. Also drop checks for unsupported OpenSSL library versions.
Diffstat (limited to 'ext/openssl/tests/stream_verify_peer_name_001.phpt')
-rw-r--r--ext/openssl/tests/stream_verify_peer_name_001.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/openssl/tests/stream_verify_peer_name_001.phpt b/ext/openssl/tests/stream_verify_peer_name_001.phpt
index 4aecf8c744..e39994b12f 100644
--- a/ext/openssl/tests/stream_verify_peer_name_001.phpt
+++ b/ext/openssl/tests/stream_verify_peer_name_001.phpt
@@ -4,6 +4,7 @@ Verify host name by default in client transfers
<?php
if (!extension_loaded("openssl")) die("skip openssl not loaded");
if (!function_exists("proc_open")) die("skip no proc_open");
+?>
--FILE--
<?php
$serverCode = <<<'CODE'
@@ -35,5 +36,6 @@ CODE;
include 'ServerClientTestCase.inc';
ServerClientTestCase::getInstance()->run($clientCode, $serverCode);
+?>
--EXPECTF--
resource(%d) of type (stream)