Follows-up I1343872de7, Ia533aedf63 and I2df2f80b81. Also updated usage in text in documentation and the installer LocalSettingsGenerator. Most of them were handled by this regex: - find: (require|include|require_once|include_once)\s*\(\s*(.+?)\s*\)\s*;$ - replace: $1 $2; Change-Id: I6b38aad9a5149c9c43ce18bd8edbab14b8ce43fa
15 lines
378 B
PHP
15 lines
378 B
PHP
<?php
|
|
/**
|
|
* Bootstrapping for MediaWiki PHPUnit tests
|
|
* This file is included by phpunit and is NOT in the global scope.
|
|
*
|
|
* @file
|
|
*/
|
|
|
|
if ( !defined( 'MW_PHPUNIT_TEST' ) ) {
|
|
echo <<<EOF
|
|
You are running these tests directly from phpunit. You may not have all globals correctly set.
|
|
Running phpunit.php instead is recommended.
|
|
EOF;
|
|
require_once __DIR__ . "/phpunit.php";
|
|
}
|