X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fautoload.ide.php;h=6f09d4c9b76ca30ced1bf5dc45871bf920143c14;hb=2fdd6a2fb8b113ea63c333120fd35a9d4273b35c;hp=106ab683175ea853ec3713f56460aca05b3e45da;hpb=55043101b2a89ea1e811b6d35e415f57ed0bf41d;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/autoload.ide.php b/tests/phpunit/autoload.ide.php index 106ab68317..6f09d4c9b7 100644 --- a/tests/phpunit/autoload.ide.php +++ b/tests/phpunit/autoload.ide.php @@ -38,16 +38,13 @@ $maintenance->setup(); // to $maintenance->mSelf. Keep that here for b/c $self = $maintenance->getName(); global $IP; -# Start the autoloader, so that extensions can derive classes from core files -require_once "$IP/includes/AutoLoader.php"; -# Grab profiling functions -require_once "$IP/includes/profiler/ProfilerFunctions.php"; - -# Start the profiler +# Get profiler configuraton $wgProfiler = []; if ( file_exists( "$IP/StartProfiler.php" ) ) { require "$IP/StartProfiler.php"; } +# Start the autoloader, so that extensions can derive classes from core files +require_once "$IP/includes/AutoLoader.php"; $requireOnceGlobalsScope = function ( $file ) use ( $self ) { foreach ( array_keys( $GLOBALS ) as $varName ) {