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]])) {

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to