From 9fef176b9098e32158d61b03c49da1286ad32673 Mon Sep 17 00:00:00 2001 From: gggeek Date: Tue, 15 Dec 2020 23:21:03 +0000 Subject: [PATCH] docs --- NEWS | 6 ++++-- src/Value.php | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 529a76e..a4e31a6 100644 --- a/NEWS +++ b/NEWS @@ -1,10 +1,12 @@ XML-RPC for PHP version 4.4.3 - unreleased * fixed: compatibility with PHP 8.0 (fixes to the debugger, to the server's 'system.methodHelp' method and to the - PhpXmlRpc\Wrapper class) + PhpXmlRpc\Wrapper class). + Note that method `Value::structeach` has not been removed from the API, but it is _not_ supported when running + on PHP 8.0 or later - in that case it will always throw an Error. * improvements to the test stack: it is now possible to run it via Docker besides Travis; avoid using _any_ external - server when running tests + server when running tests; run Travis tests against php 8.0; bump PHPUnit versions in use XML-RPC for PHP version 4.4.2 - 2020/3/4 diff --git a/src/Value.php b/src/Value.php index 3a53a78..fa402a5 100644 --- a/src/Value.php +++ b/src/Value.php @@ -387,7 +387,7 @@ class Value implements \Countable, \IteratorAggregate, \ArrayAccess * Return next member element for xmlrpc values of type struct. * * @return Value - * @throw \Error starting with php 8.0, this function should not be used, as it will always throw + * @throws \Error starting with php 8.0, this function should not be used, as it will always throw * * @deprecated iterate directly over the object using foreach instead */ -- 2.43.0