X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FPHPVersionCheck.php;h=2d9216dfaa0a2f2f8087559aaf0faa7c49be38d0;hb=3353ced6cd3148de1549568ee9633a913fd5faab;hp=8406bfbfb5368cee2bd89fe277b29f893d7b9222;hpb=0770f85a0a293e6c7af6f1d3d3a1dbd2d13c1e09;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/PHPVersionCheck.php b/includes/PHPVersionCheck.php index 8406bfbfb5..2d9216dfaa 100644 --- a/includes/PHPVersionCheck.php +++ b/includes/PHPVersionCheck.php @@ -20,6 +20,7 @@ // phpcs:disable Generic.Arrays.DisallowLongArraySyntax,PSR2.Classes.PropertyDeclaration,MediaWiki.Usage.DirUsage // phpcs:disable Squiz.Scope.MemberVarScope.Missing,Squiz.Scope.MethodScope.Missing +// @phan-file-suppress PhanPluginDuplicateConditionalNullCoalescing /** * Check PHP Version, as well as for composer dependencies in entry points, * and display something vaguely comprehensible in the event of a totally @@ -35,7 +36,7 @@ */ class PHPVersionCheck { /* @var string The number of the MediaWiki version used. */ - var $mwVersion = '1.33'; + var $mwVersion = '1.34'; /* @var array A mapping of PHP functions to PHP extensions. */ var $functionsExtensionsMapping = array( @@ -110,8 +111,8 @@ class PHPVersionCheck { 'version' => PHP_VERSION, 'vendor' => 'the PHP Group', 'upstreamSupported' => '5.6.0', - 'minSupported' => '7.0.0', - 'upgradeURL' => 'https://secure.php.net/downloads.php', + 'minSupported' => '7.0.13', + 'upgradeURL' => 'https://www.php.net/downloads.php', ); } @@ -205,7 +206,7 @@ HTML; $missingExtText = ''; $missingExtHtml = ''; - $baseUrl = 'https://secure.php.net'; + $baseUrl = 'https://www.php.net'; foreach ( $missingExtensions as $ext ) { $missingExtText .= " * $ext <$baseUrl/$ext>\n"; $missingExtHtml .= "
  • $ext "