git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8ccaf4d
)
docs
author
gggeek
<giunta.gaetano@gmail.com>
Tue, 15 Dec 2020 23:21:03 +0000
(23:21 +0000)
committer
gggeek
<giunta.gaetano@gmail.com>
Tue, 15 Dec 2020 23:21:03 +0000
(23:21 +0000)
NEWS
patch
|
blob
|
history
src/Value.php
patch
|
blob
|
history
diff --git
a/NEWS
b/NEWS
index
529a76e
..
a4e31a6
100644
(file)
--- 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
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
* 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
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
(file)
--- 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
* 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
+ * @throw
s
\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
*/
*
* @deprecated iterate directly over the object using foreach instead
*/