testuite fixes
authorgggeek <giunta.gaetano@gmail.com>
Sat, 1 Jul 2017 14:28:36 +0000 (15:28 +0100)
committergggeek <giunta.gaetano@gmail.com>
Sat, 1 Jul 2017 14:28:36 +0000 (15:28 +0100)
NEWS
test/testsuite.php

diff --git a/NEWS b/NEWS
index 8e44185..eec95fe 100644 (file)
--- 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
index 779d514..5621c47 100644 (file)
@@ -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');