Completed
Push — V3 ( 2749e1...545f19 )
by Georges
01:56
created
src/Command/PhpfastcacheDelCommand.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 
89 89
             if(!$cacheItem->isHit()){
90 90
                 $io->note(\sprintf('Cache item "%s" does not exists in the cache', $cacheKey));
91
-            }else{
91
+            } else{
92 92
                 $driverInstance->deleteItem($cacheItem->getKey());
93 93
                 $io->success(\sprintf('Cache item "%s" has been deleted from cache', $cacheKey));
94 94
             }
Please login to merge, or discard this patch.
src/Command/PhpfastcacheGetCommand.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,11 +92,11 @@
 block discarded – undo
92 92
                     $content = ob_get_contents();
93 93
                     ob_end_clean();
94 94
                     $io->write('<bg=green;fg=black>[HIT]</> ' . $content);
95
-                }else{
95
+                } else{
96 96
                     $io->write('<bg=green;fg=black>[HIT]</> (object) ' . \get_class($cacheItemValue));
97 97
                 }
98 98
                 $io->write('This item will expires in <fg=green>' . $cacheItem->getTtl() .'</> second(s)');
99
-            }else{
99
+            } else{
100 100
                 $io->write('<bg=yellow;fg=red>[MISS]</> The cache item "' . $cacheKey . '" does not (yet) exists !');
101 101
             }
102 102
         } else {
Please login to merge, or discard this patch.
src/Command/PhpfastcacheSetCommand.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
             if($cacheTtl){
102 102
                 if(\is_numeric($cacheTtl)){
103 103
                     $cacheItem->expiresAfter($cacheTtl);
104
-                }else{
104
+                } else{
105 105
                     $io->error(\sprintf('Invalid ttl value format "%s", must be a valid integer, aborting...', $cacheTtl));
106 106
                     return;
107 107
                 }
Please login to merge, or discard this patch.