Completed
Push — master ( c8fd93...a9ab00 )
by Georges
01:49
created
Command/phpFastCacheCommand.php 1 patch
Braces   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,11 +57,11 @@  discard block
 block discarded – undo
57 57
                 if (OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
58 58
                     $output->writeln("<fg=green>Cache instance {$name} cleared</>");
59 59
                 }
60
-            }catch (phpFastCacheDriverCheckException $e){
60
+            } catch (phpFastCacheDriverCheckException $e){
61 61
                 $failedInstances[] = $name;
62 62
                 if (OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
63 63
                     $output->writeln("<fg=red>Cache instance {$name} not cleared, got exception: " . "<bg=red;options=bold>" . $e->getMessage() ."</>");
64
-                }else{
64
+                } else{
65 65
                     $output->writeln("<fg=red>Cache instance {$name} not cleared (increase verbosity to get more information).</>");
66 66
                 }
67 67
             }
@@ -73,10 +73,10 @@  discard block
 block discarded – undo
73 73
                 $callback($driver);
74 74
                 if(!count($failedInstances)){
75 75
                     $io->success("Cache instance {$driver} cleared");
76
-                }else{
76
+                } else{
77 77
                     $io->error("Cache instance {$driver} not cleared");
78 78
                 }
79
-            }else{
79
+            } else{
80 80
                 $io->error("Cache instance {$driver} does not exists");
81 81
             }
82 82
         } else {
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
             }
86 86
             if(!count($failedInstances)){
87 87
                 $io->success('All caches instances got cleared');
88
-            }else{
88
+            } else{
89 89
                 $io->success('Almost all caches instances got cleared, except these: ' . implode(', ', $failedInstances));
90 90
             }
91 91
         }
Please login to merge, or discard this patch.
DataCollector/CacheCollector.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
     {
184 184
         if(isset($this->twig_cache_blocks[$blockName])){
185 185
             $this->twig_cache_blocks[$blockName] = array_merge($this->twig_cache_blocks[$blockName], $cacheBlock);
186
-        }else{
186
+        } else{
187 187
             $this->twig_cache_blocks[$blockName] = $cacheBlock;
188 188
         }
189 189
 
Please login to merge, or discard this patch.
Twig/CacheExtension/CacheStrategy/LifetimeCacheStrategy.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
 
87 87
         if(!empty($cacheData) && $this->config['twig_block_debug']){
88 88
             return "<!-- BEGIN CACHE BLOCK OUTPUT '{$unprefixedKey}' -->\n{$cacheData}\n<!-- // END CACHE BLOCK OUTPUT '{$unprefixedKey}' -->";
89
-        }else{
89
+        } else{
90 90
             return $cacheData;
91 91
         }
92 92
     }
Please login to merge, or discard this patch.