Completed
Pull Request — master (#186)
by Andreas
03:56
created
lib/Doctrine/Common/Cache/CacheProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
      */
197 197
     private function getNamespacedId($id)
198 198
     {
199
-        $namespaceVersion  = $this->getNamespaceVersion();
199
+        $namespaceVersion = $this->getNamespaceVersion();
200 200
 
201 201
         return sprintf('%s[%s][%s]', $this->namespace, $id, $namespaceVersion);
202 202
     }
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
         $success = true;
280 280
 
281 281
         foreach ($keysAndValues as $key => $value) {
282
-            if (!$this->doSave($key, $value, $lifetime)) {
282
+            if ( ! $this->doSave($key, $value, $lifetime)) {
283 283
                 $success = false;
284 284
             }
285 285
         }
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
         $success = true;
312 312
 
313 313
         foreach ($keys as $key) {
314
-            if (!$this->doDelete($key)) {
314
+            if ( ! $this->doDelete($key)) {
315 315
                 $success = false;
316 316
             }
317 317
         }
Please login to merge, or discard this patch.
lib/Doctrine/Common/Cache/PhpFileCache.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     {
44 44
         parent::__construct($directory, $extension, $umask);
45 45
 
46
-        self::$emptyErrorHandler = function () {
46
+        self::$emptyErrorHandler = function() {
47 47
         };
48 48
     }
49 49
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     {
55 55
         $value = $this->includeFileForId($id);
56 56
 
57
-        if (! $value) {
57
+        if ( ! $value) {
58 58
             return false;
59 59
         }
60 60
 
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     {
73 73
         $value = $this->includeFileForId($id);
74 74
 
75
-        if (! $value) {
75
+        if ( ! $value) {
76 76
             return false;
77 77
         }
78 78
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
             $lifeTime = time() + $lifeTime;
89 89
         }
90 90
 
91
-        $filename  = $this->getFilename($id);
91
+        $filename = $this->getFilename($id);
92 92
 
93 93
         $value = [
94 94
             'lifetime'  => $lifeTime,
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 
123 123
         restore_error_handler();
124 124
 
125
-        if (! isset($value['lifetime'])) {
125
+        if ( ! isset($value['lifetime'])) {
126 126
             return false;
127 127
         }
128 128
 
Please login to merge, or discard this patch.