Completed
Branch master (329ddf)
by Georges
13:20
created
Docs/Example/Controller/DefaultController.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         try{
32 32
             $cache9 = $this->get('phpfastcache')->get('apccache');
33 33
             $cache10 = $this->get('phpfastcache')->get('apcucache');
34
-        }catch(phpFastCacheDriverCheckException $e){
34
+        } catch(phpFastCacheDriverCheckException $e){
35 35
             $cache11 = $this->get('phpfastcache')->get('xcachecache');
36 36
         }
37 37
 
Please login to merge, or discard this patch.
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.