From 55489592e5fc4e15240bda6463e33a311ac6075e Mon Sep 17 00:00:00 2001 From: gggeek Date: Sat, 1 Jul 2017 15:28:36 +0100 Subject: [PATCH] testuite fixes --- NEWS | 12 ++++++++++++ test/testsuite.php | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 8e44185..eec95fe 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,15 @@ +XML-RPC for PHP version 3.1.0 - 2017/7/1 + +This release makes the library compatible with php 7 by removing the deprecation warnings. +*NB* moving to version 4 of the library is the recommended option unless you absolutely can not upgrade, as it comes +with many improvements. + +The only other changes are: + +* addition of a 'setSSLVersion' method to the client class +* updates to the test suite + + XML-RPC for PHP version 3.0.1 - 2015/4/18 This release corrects all bugs that have been reported and successfully reproduced since diff --git a/test/testsuite.php b/test/testsuite.php index 779d514..5621c47 100644 --- a/test/testsuite.php +++ b/test/testsuite.php @@ -781,7 +781,7 @@ class LocalHostMultiTests extends LocalhostTests function testHttps() { - global $HTTPSSERVER, $HTTPSURI, $HTTPSIGNOREPEER, $HTTPSVERIFYHOST; + global $HTTPSSERVER, $HTTPSURI, $HTTPSIGNOREPEER, $HTTPSVERIFYHOST, $SSLVERSION; if(!function_exists('curl_init')) { $this->fail('CURL missing: cannot test https functionality'); @@ -799,7 +799,7 @@ class LocalHostMultiTests extends LocalhostTests function testHttpsProxy() { - global $HTTPSSERVER, $HTTPSURI, $HTTPSIGNOREPEER, $HTTPSVERIFYHOST, $PROXYSERVER, $PROXYPORT, $NOPROXY; + global $HTTPSSERVER, $HTTPSURI, $HTTPSIGNOREPEER, $HTTPSVERIFYHOST, $SSLVERSION, $PROXYSERVER, $PROXYPORT, $NOPROXY; if(!function_exists('curl_init')) { $this->fail('CURL missing: cannot test https functionality'); -- 2.43.0