[web-php] master: Add redirection for moved SimpleXMLIterator methods (#774)
| From: | Máté Kocsis via GitHub | Date: | Wed, 10 May 2023 17:34:14 +0000 |
| Subject: | [web-php] master: Add redirection for moved SimpleXMLIterator methods (#774) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-30842@lists.php.net to get a copy of this message | ||
Author: Máté Kocsis (kocsismate)
Committer: GitHub (web-flow)
Pusher: kocsismate
Date: 2023-05-10T19:20:17+02:00
Commit: https://github.com/php/web-php/commit/3fe0672074398b277b679cf6db69a65e062851a5
Raw diff: https://github.com/php/web-php/commit/3fe0672074398b277b679cf6db69a65e062851a5.diff
Add redirection for moved SimpleXMLIterator methods (#774)
Changed paths:
M error.php
Diff:
diff --git a/error.php b/error.php
index e6a97d7d8..c9d53e3a3 100644
--- a/error.php
+++ b/error.php
@@ -297,6 +297,13 @@
'class.return-type-will-change' => 'class.returntypewillchange',
'class.sensitive-parameter' => 'class.sensitiveparameter',
'function.curl-file-create' => 'curlfile.construct',
+ 'simplexmliterator.current' => 'simplexmlelement.current',
+ 'simplexmliterator.getchildren' => 'simplexmlelement.getchildren',
+ 'simplexmliterator.haschildren' => 'simplexmlelement.haschildren',
+ 'simplexmliterator.key' => 'simplexmlelement.key',
+ 'simplexmliterator.next' => 'simplexmlelement.next',
+ 'simplexmliterator.rewind' => 'simplexmlelement.rewind',
+ 'simplexmliterator.valid' => 'simplexmlelement.valid',
];
if (preg_match("!^manual/([^/]+)/([^/]+?)(?:\.php)?$!", $URI, $match) &&
isset($manual_redirections[$match[2]])) {