From: gggeek Date: Fri, 30 Jun 2017 22:22:59 +0000 (+0100) Subject: Tag release 4.2.0 X-Git-Tag: 4.2.0 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=3b79b8fac3877418dad98585d9bc73d6b284d241 Tag release 4.2.0 --- diff --git a/NEWS b/NEWS index 9868a1e..b206cc1 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,14 @@ +XML-RPC for PHP version 4.2.0 - 2017/6/30 + +* improved: allow a DateTimeImmutable object also be detected as a date when encoding + + +XML-RPC for PHP version 4.1.1 - 2016/10/1 + +* fixed: error in server class: undefined function php_xmlrpc_encode (only triggered when not using the compatibility + shim with old versions) + + XML-RPC for PHP version 4.1.0 - 2016/6/26 * improved: Added support for receiving and integers, sending @@ -7,6 +18,7 @@ XML-RPC for PHP version 4.1.0 - 2016/6/26 the developer will have to create values as i8 explicitly if needed. The library does *not* check if an outgoing integer is too big to fit in 4 bytes and convert it to an i8 automatically. + XML-RPC for PHP version 4.0.1 - 2016/3/27 * improved: all of the API documentation has been moved out of the manual and into the source code phpdoc comments diff --git a/src/PhpXmlRpc.php b/src/PhpXmlRpc.php index c9b12ad..1f31b54 100644 --- a/src/PhpXmlRpc.php +++ b/src/PhpXmlRpc.php @@ -79,7 +79,7 @@ class PhpXmlRpc public static $xmlrpc_internalencoding = "UTF-8"; public static $xmlrpcName = "XML-RPC for PHP"; - public static $xmlrpcVersion = "4.1.0"; + public static $xmlrpcVersion = "4.2.0"; // let user errors start at 800 public static $xmlrpcerruser = 800; diff --git a/src/Request.php b/src/Request.php index 0051e46..4714489 100644 --- a/src/Request.php +++ b/src/Request.php @@ -109,7 +109,7 @@ class Request */ public function addParam($param) { - // add check: do not add to self params which are not xmlrpc values + // check: do not add to self params which are not xmlrpc values if (is_object($param) && is_a($param, 'PhpXmlRpc\Value')) { $this->params[] = $param;