Completed
Pull Request — master (#190)
by Marco
04:05 queued 01:18
created
lib/Doctrine/Common/Cache/PhpFileCache.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     {
45 45
         $value = $this->includeFileForId($id);
46 46
 
47
-        if (! $value) {
47
+        if ( ! $value) {
48 48
             return false;
49 49
         }
50 50
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     {
63 63
         $value = $this->includeFileForId($id);
64 64
 
65
-        if (! $value) {
65
+        if ( ! $value) {
66 66
             return false;
67 67
         }
68 68
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             $lifeTime = time() + $lifeTime;
79 79
         }
80 80
 
81
-        $filename  = $this->getFilename($id);
81
+        $filename = $this->getFilename($id);
82 82
 
83 83
         $value = array(
84 84
             'lifetime'  => $lifeTime,
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
         // note: error suppression is still faster than `file_exists`, `is_file` and `is_readable`
109 109
         $value = @include $fileName;
110 110
 
111
-        if (! isset($value['lifetime'])) {
111
+        if ( ! isset($value['lifetime'])) {
112 112
             return false;
113 113
         }
114 114
 
Please login to merge, or discard this patch.
lib/Doctrine/Common/Cache/SQLite3Cache.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     {
89 89
         $item = $this->findById($id)
90 90
 
91
-        if (!$item) {
91
+        if ( ! $item) {
92 92
             return false;
93 93
         }
94 94
 
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     {
168 168
         list($idField) = $fields = $this->getFields();
169 169
 
170
-        if (!$includeData) {
170
+        if ( ! $includeData) {
171 171
             $key = array_search(static::DATA_FIELD, $fields);
172 172
             unset($fields[$key]);
173 173
         }
Please login to merge, or discard this patch.