X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FPHPVersionCheck.php;h=8eda14ad99d58474ab2735741a7df1654361e3d9;hb=4f32c9fe799036b9d4368a3e77036f7a2e6ac2b2;hp=37d46321c2ebb9d88de683cb2cef3a18c14db905;hpb=a6b9f44d2d7a430afc4bd78bb9a5b1e271b6abe7;p=lhc%2Fweb%2Fwiklou.git
diff --git a/includes/PHPVersionCheck.php b/includes/PHPVersionCheck.php
index 37d46321c2..8eda14ad99 100644
--- a/includes/PHPVersionCheck.php
+++ b/includes/PHPVersionCheck.php
@@ -27,10 +27,10 @@
*/
class PHPVersionCheck {
/* @var string The number of the MediaWiki version used */
- var $mwVersion = '1.31';
+ 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',
@@ -94,7 +94,7 @@ class PHPVersionCheck {
'version' => PHP_VERSION,
'vendor' => 'the PHP Group',
'upstreamSupported' => '5.6.0',
- 'minSupported' => '5.5.9',
+ 'minSupported' => '7.0.0',
'upgradeURL' => 'https://secure.php.net/downloads.php',
);
}
@@ -120,7 +120,7 @@ class PHPVersionCheck {
. "MediaWiki $this->mwVersion needs {$phpInfo['implementation']}"
. " $minimumVersion or higher or {$otherInfo['implementation']} version "
. "{$otherInfo['minSupported']}.\n\nCheck if you have a"
- . " newer php executable with a different name, such as php5.\n\n";
+ . " newer php executable with a different name.\n\n";
// phpcs:disable Generic.Files.LineLength
$longHtml = <<download an
older version of MediaWiki from our website.
- See ourcompatibility page
+ See our compatibility page
for details of which versions are compatible with prior versions of {$phpInfo['implementation']}.
HTML;
// phpcs:enable Generic.Files.LineLength