X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fautoload.ide.php;h=f8a745ee48884f1d864ccd857a41a07b9c6ee7d3;hb=5e5d74be1c6e0c74dc2c18a125c7c274c3922e62;hp=6f09d4c9b76ca30ced1bf5dc45871bf920143c14;hpb=07a791ffd1d80c6a8f2ca4dfdbc3f2002ac869fe;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/autoload.ide.php b/tests/phpunit/autoload.ide.php index 6f09d4c9b7..f8a745ee48 100644 --- a/tests/phpunit/autoload.ide.php +++ b/tests/phpunit/autoload.ide.php @@ -37,12 +37,6 @@ $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; -# 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"; @@ -90,7 +84,7 @@ if ( $maintenance->getDbType() === Maintenance::DB_NONE ) { || ( $wgLocalisationCacheConf['store'] == 'detect' && !$wgCacheDirectory ) ) ) { - $wgLocalisationCacheConf['storeClass'] = 'LCStoreNull'; + $wgLocalisationCacheConf['storeClass'] = LCStoreNull::class; } }