X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FPHPVersionCheck.php;h=77c725ff99f8e3af9a5045b848e06bb9a65ddede;hp=69bd24fd3064977704706e4d6868644a1f0f3e91;hb=24ae4318b36f88f2dd43db5989074b65776e2cf8;hpb=99c2be9f50a91e56eed8710947420c2d7fea97fb diff --git a/includes/PHPVersionCheck.php b/includes/PHPVersionCheck.php index 69bd24fd30..77c725ff99 100644 --- a/includes/PHPVersionCheck.php +++ b/includes/PHPVersionCheck.php @@ -1,7 +1,4 @@ '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:disable 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 Generic.Files.LineLength $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:disable Generic.Files.LineLength $longHtml = <<mediawiki.org for help on installing the required components. HTML; + // phpcs:enable Generic.Files.LineLength $this->triggerError( 'External dependencies', $shortText, $longText, $longHtml ); }