浏览代码

[ClassLoader] fixed CS

Fabien Potencier 14 年之前
父节点
当前提交
3cd0a4d2d2
共有 1 个文件被更改,包括 4 次插入8 次删除
  1. 4 8
      tests/Symfony/Tests/Component/ClassLoader/ApcUniversalClassLoaderTest.php

+ 4 - 8
tests/Symfony/Tests/Component/ClassLoader/ApcUniversalClassLoaderTest.php

@@ -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
            ),
            ),
        );
        );
    }
    }
-
 }
 }