X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=blobdiff_plain;f=includes%2FPHPVersionCheck.php;h=41e88c29d815478544ec0aaa8483b184acc2b61d;hb=04bef3dd66dfe0dba3b282b2c4d10701f111ab23;hp=233ebf24628d66df8ef8d9610bb740c7ed308d20;hpb=bacc11eb30ddf01624d5448f432b96afdae67c28;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/PHPVersionCheck.php b/includes/PHPVersionCheck.php index 233ebf2462..41e88c29d8 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 ); } } @@ -180,7 +182,7 @@ HTML; * @param string $mwVersion See wfGenericError */ function wfMissingVendorError( $type, $mwVersion ) { - $shortText = "Installing some external dependencies (e.g. via composer) is also required."; + $shortText = "Installing some external dependencies (e.g. via composer) is required."; $longText = "Error: You are missing some external dependencies. \n" . "MediaWiki now also has some external dependencies that need to be installed\n"