Passed
Pull Request — master (#832)
by Georges
02:47
created
lib/Phpfastcache/Core/Pool/CacheItemPoolTrait.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@
 block discarded – undo
227 227
                         $item->expiresAfter(abs((int)$this->getConfig()['defaultTtl']));
228 228
                     }
229 229
                 }
230
-            }else{
230
+            } else{
231 231
                 $item = $this->itemInstances[$key];
232 232
             }
233 233
 
Please login to merge, or discard this patch.
lib/Phpfastcache/Core/Pool/IO/IOHelperTrait.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
         if($this->getConfig()->isUseStaticItemCaching()){
68 68
             $stat->setData(implode(', ', \array_keys($this->itemInstances)));
69
-        }else{
69
+        } else{
70 70
             $stat->setData('No data available since static item caching option (useStaticItemCaching) is disabled.');
71 71
         }
72 72
 
Please login to merge, or discard this patch.
lib/Phpfastcache/Util/ClassNamespaceResolverTrait.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
                                 break;
107 107
                             }
108 108
                         }
109
-                    }else{
109
+                    } else{
110 110
                         while (isset($tokens[++$i][1])) {
111 111
                             if (\in_array($tokens[$i][0], [T_STRING, T_NS_SEPARATOR], true)) {
112 112
                                 $namespace .= $tokens[$i][1];
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Files/Driver.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
 
79 79
         try{
80 80
             $content = $this->readFile($file_path);
81
-        }catch (PhpfastcacheIOException $e){
81
+        } catch (PhpfastcacheIOException $e){
82 82
             return null;
83 83
         }
84 84
 
Please login to merge, or discard this patch.
lib/Phpfastcache/Util/Directory.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,8 +110,7 @@
 block discarded – undo
110 110
                 } elseif (unlink($realpath) === false) {
111 111
                     return false;
112 112
                 }
113
-            }
114
-            else{
113
+            } else{
115 114
                 return false;
116 115
             }
117 116
         }
Please login to merge, or discard this patch.
lib/Phpfastcache/Autoload/Autoload.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
         if(\strpos($entity, PFC_TESTS_NS) === 0){
68 68
             $path = PFC_TESTS_DIR . \str_replace(str_replace('\\', '/', PFC_TESTS_NS), '', $entityPath) . '.' . PFC_PHP_EXT;
69
-        }else{
69
+        } else{
70 70
             $path = PFC_LIB_DIR . $entityPath . '.' . PFC_PHP_EXT;
71 71
         }
72 72
 
Please login to merge, or discard this patch.