[ClassLoader] fixed CS

This commit is contained in:
Fabien Potencier 2011-04-26 07:07:52 +02:00
parent f86bab78ff
commit 3cd0a4d2d2

View File

@ -15,7 +15,6 @@ use Symfony\Component\ClassLoader\ApcUniversalClassLoader;
class ApcUniversalClassLoaderTest extends \PHPUnit_Framework_TestCase class ApcUniversalClassLoaderTest extends \PHPUnit_Framework_TestCase
{ {
protected function setUp() protected function setUp()
{ {
if (!extension_loaded('apc')) { if (!extension_loaded('apc')) {
@ -24,19 +23,17 @@ class ApcUniversalClassLoaderTest extends \PHPUnit_Framework_TestCase
if (!(ini_get('apc.enabled') && ini_get('apc.enable_cli'))) { if (!(ini_get('apc.enabled') && ini_get('apc.enable_cli'))) {
$this->markTestSkipped('The apc extension is available, but not enabled.'); $this->markTestSkipped('The apc extension is available, but not enabled.');
} } else {
else
{
apc_clear_cache('user'); apc_clear_cache('user');
} }
} }
protected function tearDown() protected function tearDown()
{ {
if (ini_get('apc.enabled') && ini_get('apc.enable_cli')) { if (ini_get('apc.enabled') && ini_get('apc.enable_cli')) {
apc_clear_cache('user'); apc_clear_cache('user');
} }
} }
public function testConstructor() public function testConstructor()
{ {
@ -192,5 +189,4 @@ class ApcUniversalClassLoaderTest extends \PHPUnit_Framework_TestCase
), ),
); );
} }
} }