X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FPHPVersionCheck.php;h=da428dde39690dd62bec856b8eff8bfc621fbc20;hb=cdf11dff651a55d1b3c4c3e6d4b260ade0af16cb;hp=a862903d521967ca46a50baa998ff9d5db1e5a28;hpb=5fa4cdf860c79b32ab6ef034c6d9420c2727f695;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/PHPVersionCheck.php b/includes/PHPVersionCheck.php index a862903d52..da428dde39 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', ); } @@ -126,6 +124,7 @@ 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']}. @@ -140,6 +139,7 @@ class PHPVersionCheck { 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 ); }