X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FPHPVersionCheck.php;h=eaab9c8365d7a129096290b8da0e84950bacfb6c;hb=19df89372c234d405cd5374f25133b4f95ab4c41;hp=333d04065c6dc85a3767be940acb82826f88ed06;hpb=f2b7298278815d7236907cb460d6240a7b018e93;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/PHPVersionCheck.php b/includes/PHPVersionCheck.php index 333d04065c..eaab9c8365 100644 --- a/includes/PHPVersionCheck.php +++ b/includes/PHPVersionCheck.php @@ -40,7 +40,9 @@ function wfEntryPointCheck( $entryPoint ) { wfPHPVersionError( $entryPoint, $mwVersion, $minimumVersionPHP, $phpVersion ); } + // @codingStandardsIgnoreStart MediaWiki.Usage.DirUsage.FunctionFound if ( !file_exists( dirname( __FILE__ ) . '/../vendor/autoload.php' ) ) { + // @codingStandardsIgnoreEnd wfMissingVendorError( $entryPoint, $mwVersion ); } } @@ -160,7 +162,7 @@ function wfPHPVersionError( $type, $mwVersion, $minimumVersionPHP, $phpVersion ) $longHtml = <<upgrading your copy of PHP. - PHP versions less than 5.3.0 are no longer supported by the PHP Group and will not receive + PHP versions less than 5.5.0 are no longer supported by the PHP Group and will not receive security or bugfix updates.