X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FPHPVersionCheck.php;h=8d642e1785f71e1de1fa1b639c56602dd19be488;hb=172de0b957c9ff16e67fa6231e8913506c0d6568;hp=bf138c4b1ea6a0fc77b5b3c8f47916fb49cc2a35;hpb=e80ff96c373454b1cf6fd65a6af8a9ae282f0f55;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/PHPVersionCheck.php b/includes/PHPVersionCheck.php index bf138c4b1e..8d642e1785 100644 --- a/includes/PHPVersionCheck.php +++ b/includes/PHPVersionCheck.php @@ -77,8 +77,8 @@ class PHPVersionCheck { /** * Return the version of the installed PHP implementation. * - * @param string $impl By default, the function returns the info of the currently installed PHP - * implementation. Using this parameter the caller can decide, what version info will be + * @param string|false $impl By default, the function returns the info of the currently installed + * PHP implementation. Using this parameter the caller can decide, what version info will be * returned. Valid values: HHVM, PHP * @return array An array of information about the PHP implementation, containing: * - 'version': The version of the PHP implementation (specific to the implementation, not @@ -108,8 +108,8 @@ class PHPVersionCheck { 'implementation' => 'PHP', 'version' => PHP_VERSION, 'vendor' => 'the PHP Group', - 'upstreamSupported' => '5.6.0', - 'minSupported' => '7.0.13', + 'upstreamSupported' => '7.1.0', + 'minSupported' => '7.2.0', 'upgradeURL' => 'https://www.php.net/downloads.php', ); } @@ -258,7 +258,7 @@ HTML; MediaWiki {$this->mwVersion} - - The MediaWiki logo + The MediaWiki logo

MediaWiki {$this->mwVersion} internal error

-
+

{$shortHtml}