Completed
Push — V3 ( 9c40c0...7c7d16 )
by Georges
01:49
created
src/Resources/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.
src/Service/Phpfastcache.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
                             new $configClass($this->config[ 'drivers' ][ $name ][ 'parameters' ])
104 104
                           )
105 105
                         );
106
-                    }else{
106
+                    } else{
107 107
                         throw new PhpfastcacheInvalidConfigurationException('Invalid configuration class name: ' . $configClass);
108 108
                     }
109 109
                 }
Please login to merge, or discard this patch.
src/Command/PhpfastcacheCommand.php 1 patch
Braces   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -58,11 +58,11 @@  discard block
 block discarded – undo
58 58
                 if (OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
59 59
                     $output->writeln("<fg=green>Cache instance {$name} cleared</>");
60 60
                 }
61
-            }catch (PhpfastcacheDriverCheckException $e){
61
+            } catch (PhpfastcacheDriverCheckException $e){
62 62
                 $failedInstances[] = $name;
63 63
                 if (OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
64 64
                     $output->writeln("<fg=red>Cache instance {$name} not cleared, got exception: " . "<bg=red;options=bold>" . $e->getMessage() ."</>");
65
-                }else{
65
+                } else{
66 66
                     $output->writeln("<fg=red>Cache instance {$name} not cleared (increase verbosity to get more information).</>");
67 67
                 }
68 68
             }
@@ -74,10 +74,10 @@  discard block
 block discarded – undo
74 74
                 $callback($driver);
75 75
                 if(!\count($failedInstances)){
76 76
                     $io->success("Cache instance {$driver} cleared");
77
-                }else{
77
+                } else{
78 78
                     $io->error("Cache instance {$driver} not cleared");
79 79
                 }
80
-            }else{
80
+            } else{
81 81
                 $io->error("Cache instance {$driver} does not exists");
82 82
             }
83 83
         } else {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             }
87 87
             if(!\count($failedInstances)){
88 88
                 $io->success('All caches instances got cleared');
89
-            }else{
89
+            } else{
90 90
                 $io->success('Almost all caches instances got cleared, except these: ' . \implode(', ', $failedInstances));
91 91
             }
92 92
         }
Please login to merge, or discard this patch.
src/DataCollector/CacheCollector.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
     {
195 195
         if(isset($this->twig_cache_blocks[$blockName])){
196 196
             $this->twig_cache_blocks[$blockName] = \array_merge($this->twig_cache_blocks[$blockName], $cacheBlock);
197
-        }else{
197
+        } else{
198 198
             $this->twig_cache_blocks[$blockName] = $cacheBlock;
199 199
         }
200 200
 
Please login to merge, or discard this patch.