Completed
Push — V3 ( d50e1b...88c11f )
by Georges
01:54
created
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/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.
src/Resources/Docs/example/Controller/DefaultController.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         try{
33 33
             $cache9 = $phpfastcache->get('apccache');
34 34
             $cache10 = $phpfastcache->get('apcucache');
35
-        }catch(PhpfastcacheDriverCheckException $e){
35
+        } catch(PhpfastcacheDriverCheckException $e){
36 36
             $cache11 = $phpfastcache->get('xcachecache');
37 37
         }
38 38
 
Please login to merge, or discard this patch.
src/Response/CacheableResponse.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,10 +69,10 @@
 block discarded – undo
69 69
                 $cacheItem->set($response);
70 70
                 $this->cacheInstance->save($cacheItem);
71 71
                 $cacheResponse = $response;
72
-            }else{
72
+            } else{
73 73
                throw new PhpfastcacheLogicException('Your callback response MUST return a valid Symfony HTTP Foundation Response object');
74 74
             }
75
-        }else{
75
+        } else{
76 76
             $cacheResponse->isNotModified($this->request);
77 77
         }
78 78
 
Please login to merge, or discard this patch.