Passed
Push — v7 ( ebd842...f31319 )
by Georges
01:32
created
lib/Phpfastcache/Helper/TestHelper.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@
 block discarded – undo
186 186
     public function exceptionHandler(\Throwable $exception) {
187 187
         if($exception instanceof PhpfastcacheDriverCheckException){
188 188
             $this->printSkipText('A driver could not be initialized due to missing requirement: ' . $exception->getMessage());
189
-        }else{
189
+        } else{
190 190
             $this->printFailText(sprintf(
191 191
               'Uncaught exception "%s" in "%s" line %d with message: "%s"',
192 192
               \get_class($exception),
Please login to merge, or discard this patch.
lib/Phpfastcache/CacheManager.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,9 +102,9 @@
 block discarded – undo
102 102
               'The CacheManager will drops the support of primitive configuration arrays, use a "\Phpfastcache\Config\ConfigurationOption" object instead',
103 103
               E_USER_DEPRECATED
104 104
             );
105
-        }elseif ($config === null){
105
+        } elseif ($config === null){
106 106
             $config = self::getDefaultConfig();
107
-        }else if(!($config instanceof ConfigurationOption)){
107
+        } else if(!($config instanceof ConfigurationOption)){
108 108
             throw new PhpfastcacheInvalidArgumentException(sprintf('Unsupported config type: %s', gettype($config)));
109 109
         }
110 110
 
Please login to merge, or discard this patch.