clientpool: refactor Redis authentication error handling
[lhc/web/wiklou.git] / tests / phpunit / autoload.ide.php
index 106ab68..f8a745e 100644 (file)
@@ -37,17 +37,8 @@ $maintenance->setup();
 // We used to call this variable $self, but it was moved
 // 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
-$wgProfiler = [];
-if ( file_exists( "$IP/StartProfiler.php" ) ) {
-       require "$IP/StartProfiler.php";
-}
 
 $requireOnceGlobalsScope = function ( $file ) use ( $self ) {
        foreach ( array_keys( $GLOBALS ) as $varName ) {
@@ -93,7 +84,7 @@ if ( $maintenance->getDbType() === Maintenance::DB_NONE ) {
                        || ( $wgLocalisationCacheConf['store'] == 'detect' && !$wgCacheDirectory )
                )
        ) {
-               $wgLocalisationCacheConf['storeClass'] = 'LCStoreNull';
+               $wgLocalisationCacheConf['storeClass'] = LCStoreNull::class;
        }
 }