X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FPHPVersionCheck.php;h=a48d46016cb7a666f58d260c62c0f811505d10cf;hp=a862903d521967ca46a50baa998ff9d5db1e5a28;hb=856c6769cd9502a0872c0f8db74ec0c43025ca27;hpb=3b4c53b79540e1ab4519cb7781d3da6cdf8af7b7 diff --git a/includes/PHPVersionCheck.php b/includes/PHPVersionCheck.php index a862903d52..a48d46016c 100644 --- a/includes/PHPVersionCheck.php +++ b/includes/PHPVersionCheck.php @@ -1,7 +1,5 @@ 'HHVM', 'version' => defined( 'HHVM_VERSION' ) ? HHVM_VERSION : 'undefined', 'vendor' => 'Facebook', - 'upstreamSupported' => '3.6.5', - 'minSupported' => '3.6.5', + 'upstreamSupported' => '3.18.5', + 'minSupported' => '3.18.5', 'upgradeURL' => 'https://docs.hhvm.com/hhvm/installation/introduction', ); } @@ -96,7 +94,7 @@ class PHPVersionCheck { 'implementation' => 'PHP', 'version' => PHP_VERSION, 'vendor' => 'the PHP Group', - 'upstreamSupported' => '5.5.0', + 'upstreamSupported' => '5.6.0', 'minSupported' => '5.5.9', 'upgradeURL' => 'https://secure.php.net/downloads.php', ); @@ -126,20 +124,22 @@ class PHPVersionCheck { . "{$otherInfo['minSupported']}.\n\nCheck if you have a" . " newer php executable with a different name, such as php5.\n\n"; + // phpcs:ignore Generic.Files.LineLength $longHtml = <<upgrading your copy of {$phpInfo['implementation']}. - {$phpInfo['implementation']} versions less than {$phpInfo['upstreamSupported']} are no + {$phpInfo['implementation']} versions less than {$phpInfo['upstreamSupported']} are no longer supported by {$phpInfo['vendor']} and will not receive security or bugfix updates.

If for some reason you are unable to upgrade your {$phpInfo['implementation']} version, - you will need to download an + you will need to download an older version of MediaWiki from our website. See ourcompatibility page for details of which versions are compatible with prior versions of {$phpInfo['implementation']}. HTML; + // phpcs:enable $this->triggerError( "Supported {$phpInfo['implementation']} versions", $shortText, @@ -164,12 +164,14 @@ HTML; . "https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries\n" . "for help on installing the required components."; + // phpcs:ignore Generic.Files.LineLength $longHtml = <<mediawiki.org for help on installing the required components. HTML; + // phpcs:enable $this->triggerError( 'External dependencies', $shortText, $longText, $longHtml ); }