From ca9194a3658228bcf10ea3e1a848eb08146dc267 Mon Sep 17 00:00:00 2001 From: Alexander Kochetov Date: Tue, 7 May 2013 20:17:35 +0400 Subject: [PATCH] Code style fixes --- tests/unit/framework/caching/ApcCacheTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/framework/caching/ApcCacheTest.php b/tests/unit/framework/caching/ApcCacheTest.php index 859f6a6..6018ce7 100644 --- a/tests/unit/framework/caching/ApcCacheTest.php +++ b/tests/unit/framework/caching/ApcCacheTest.php @@ -15,13 +15,13 @@ class ApcCacheTest extends CacheTest */ protected function getCacheInstance() { - if(!extension_loaded("apc")) { + if (!extension_loaded("apc")) { $this->markTestSkipped("APC not installed. Skipping."); - } else if ('cli' === PHP_SAPI && !ini_get('apc.enable_cli')) { + } elseif ('cli' === PHP_SAPI && !ini_get('apc.enable_cli')) { $this->markTestSkipped("APC cli is not enabled. Skipping."); } - if($this->_cacheInstance === null) { + if ($this->_cacheInstance === null) { $this->_cacheInstance = new ApcCache(); } return $this->_cacheInstance;