*
* @note This class uses setter methods instead of a constructor so that
* it can be compatible with PHP 4, PHP 5 and PHP 7 (without warnings).
- *
- * @class
*/
class PHPVersionCheck {
/* @var string The number of the MediaWiki version used. */
/**
* Return the version of the installed PHP implementation.
*
- * @param string $impl By default, the function returns the info of the currently installed PHP
- * implementation. Using this parameter the caller can decide, what version info will be
+ * @param string|false $impl By default, the function returns the info of the currently installed
+ * PHP implementation. Using this parameter the caller can decide, what version info will be
* returned. Valid values: HHVM, PHP
* @return array An array of information about the PHP implementation, containing:
* - 'version': The version of the PHP implementation (specific to the implementation, not
'implementation' => 'PHP',
'version' => PHP_VERSION,
'vendor' => 'the PHP Group',
- 'upstreamSupported' => '5.6.0',
- 'minSupported' => '7.0.13',
+ 'upstreamSupported' => '7.1.0',
+ 'minSupported' => '7.2.0',
'upgradeURL' => 'https://www.php.net/downloads.php',
);
}