$minimumVersion = '7.2.22'; /** * This is a list of known-bad ranges of PHP versions. Syntax is like SemVer – either: * * - '1.2.3' to prohibit a single version of PHP, or * - '1.2.3 – 1.2.5' to block a range, inclusive. * * Whitespace will be ignored. * * The key is not shown to users; use it to prompt future developers as to why this was * chosen, ideally one or more Phabricator task references. * * Remember to drop irrelevant ranges when bumping $minimumVersion. */ $knownBad = array( 'CVE-2019-11048' => '7.3.0 - 7.3.18', // https://bugs.php.net/bug.php?id=79174 as a regression from https://bugs.php.net/bug.php?id=78929 'T243667, T291127' => '7.4.0 - 7.4.2' );
If edit vendor/composer/platform_check.php to prevent PHP version checking, MediaWiki 1.38 actually works in PHP 7.2. PHP 7.2 must only work with the master branch.