public static function tearDown()
{
unset($GLOBALS['__PHPUNIT_EXTENSION_FUNCTIONMOCKER']);
}
public function tearDown() { \PHPUnit_Extension_FunctionMocker::tearDown(); $fs = new Filesystem(); if ($fs->exists(PHPUNIT_WEBROOT . '/app/cache/config-cache.json')) { $fs->remove(PHPUNIT_WEBROOT . '/app/cache/config-cache.json'); } if ($fs->exists(PHPUNIT_WEBROOT . '/extensions/local/')) { $fs->remove(PHPUNIT_WEBROOT . '/extensions/local/'); } }