Merge "PHPVersionCheck: Properly check for `xml` extension in PHP 7.2+"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 25 Apr 2018 01:01:40 +0000 (01:01 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 25 Apr 2018 01:01:40 +0000 (01:01 +0000)
includes/PHPVersionCheck.php

index 7c28b39..cfe889f 100644 (file)
@@ -30,7 +30,7 @@ class PHPVersionCheck {
        var $mwVersion = '1.32';
        var $functionsExtensionsMapping = array(
                'mb_substr'   => 'mbstring',
-               'utf8_encode' => 'xml',
+               'xml_parser_create' => 'xml',
                'ctype_digit' => 'ctype',
                'json_decode' => 'json',
                'iconv'       => 'iconv',