Adding output parameter to PageHistoryBeforeList hook
[lhc/web/wiklou.git] / includes / PHPVersionError.php
index dad71f8..cba77ee 100644 (file)
@@ -28,7 +28,7 @@
  *
  * Calling this function kills execution immediately.
  *
- * @param $type String Which entry point we are protecting. One of:
+ * @param string $type Which entry point we are protecting. One of:
  *   - index.php
  *   - load.php
  *   - api.php
@@ -37,8 +37,8 @@
  * @note Since we can't rely on anything, the minimum PHP versions and MW current
  * version are hardcoded here
  */
-function wfPHPVersionError( $type ){
-       $mwVersion = '1.20';
+function wfPHPVersionError( $type ) {
+       $mwVersion = '1.21';
        $phpVersion = PHP_VERSION;
        $message = "MediaWiki $mwVersion requires at least PHP version 5.3.2, you are using PHP $phpVersion.";
        if( $type == 'index.php' ) {