wfPHPVersionError( $entryPoint, $mwVersion, $minimumVersionPHP, $phpVersion );
}
+ // @codingStandardsIgnoreStart MediaWiki.Usage.DirUsage.FunctionFound
if ( !file_exists( dirname( __FILE__ ) . '/../vendor/autoload.php' ) ) {
+ // @codingStandardsIgnoreEnd
wfMissingVendorError( $entryPoint, $mwVersion );
}
}
$longHtml = <<<HTML
Please consider <a href="http://www.php.net/downloads.php">upgrading your copy of PHP</a>.
- 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.
</p>
<p>
* @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"
. "https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries\n"
. "for help on installing the required components.";
+ // @codingStandardsIgnoreStart Generic.Files.LineLength
$longHtml = <<<HTML
- MediaWiki now also has some external dependencies that need to be installed via
- composer or from a separate git repo. Please see
- <a href="https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries">mediawiki.org</a>
- for help on installing the required components.
+ MediaWiki now also has some external dependencies that need to be installed via
+ composer or from a separate git repo. Please see
+ <a href="https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries">mediawiki.org</a>
+ for help on installing the required components.
HTML;
+ // @codingStandardsIgnoreEnd
wfGenericError( $type, $mwVersion, 'External dependencies', $shortText, $longText, $longHtml );
}