From ae1ecdc2858c57e7ebf62b4cabf7e4d69dd303f0 Mon Sep 17 00:00:00 2001 From: gggeek Date: Sun, 3 Sep 2017 19:18:01 +0100 Subject: [PATCH] test moving back to Precise for Travis tests --- .travis.yml | 5 ++++- NEWS | 11 ++++++++--- src/PhpXmlRpc.php | 2 +- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1ff5d12..0c518d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,8 @@ language: php +# the current Travis VMs are based on Ubuntu Trusty. Alas, those do not have php 5.3 available. SO we keep using Precise... +dist: precise + php: - 5.3 - 5.4 @@ -24,7 +27,7 @@ before_script: # Disable xdebug for speed. # NB: this should NOT be done for hhvm and php 7.0. # Also we use the php 5.6 run to generate code coverage reports, and we need xdebug for that - - if [ "$TRAVIS_PHP_VERSION" != "hhvm" -a "$TRAVIS_PHP_VERSION" != "7.0" -a "$TRAVIS_PHP_VERSION" != "5.6" ]; then phpenv config-rm xdebug.ini; fi + - if [ "$TRAVIS_PHP_VERSION" != "hhvm" -a "$TRAVIS_PHP_VERSION" != "7.2" -a "$TRAVIS_PHP_VERSION" != "7.0" -a "$TRAVIS_PHP_VERSION" != "5.6" ]; then phpenv config-rm xdebug.ini; fi # Set up Apache and Privoxy instances inside the Travis VM and use them for testing against - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./tests/ci/travis/setup_php_fpm.sh; ./tests/ci/travis/setup_apache.sh; fi diff --git a/NEWS b/NEWS index b206cc1..647386d 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,11 @@ +XML-RPC for PHP version 4.2.1 - 2017/9/3 + +* fixed: compatibility with php 7.2 (issue #55) + + XML-RPC for PHP version 4.2.0 - 2017/6/30 -* improved: allow a DateTimeImmutable object also be detected as a date when encoding +* improved: allow also DateTimeImmutable objects to be detected as a date when encoding XML-RPC for PHP version 4.1.1 - 2016/10/1 @@ -74,7 +79,7 @@ PLEASE READ CAREFULLY THE NOTES BELOW to insure a smooth upgrade. * improved: debug messages are not html-escaped any more when executing from the command line * improved: the library is now tested using Travis ( https://travis-ci.org/ ). - Tests are executed using all php versions from 5.3 to 7.0 nightly, plus HHVM; code-coverage information + Tests are executed using all php versions from 5.3 to 7.2; code-coverage information is generated using php 5.6 and uploaded to both Code Coverage and Scrutinizer online services * improved: phpunit is now installed via composer, not bundled anymore @@ -606,7 +611,7 @@ New features include: xmlrpc_client::setCredentials method. * Added test script and method for verifying correct passing of - booleans + booleans The changelog is available at: http://xmlrpc.usefulinc.com/ChangeLog.txt diff --git a/src/PhpXmlRpc.php b/src/PhpXmlRpc.php index 1f31b54..9beba9d 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.2.0"; + public static $xmlrpcVersion = "4.2.1"; // let user errors start at 800 public static $xmlrpcerruser = 800; -- 2.43.0