Completed
Push — 2.2 ( 7184e8...1364eb )
by Huberty
03:43
created
src/FileCache.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             }
73 73
             $timeout = fgets($fp);
74 74
 			
75
-			if ($timeout > time() || $timeout==0) {
75
+			if ($timeout > time() || $timeout == 0) {
76 76
 				$contents = "";
77 77
 				while (!feof($fp)) {
78 78
 				  $contents .= fread($fp, 65536);
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
 			}
191 191
 		}
192 192
 		$files = glob($this->getDirectory()."*");
193
-        if (false !== $files){// some file systems wont distinguish between empty match and an error
193
+        if (false !== $files) {// some file systems wont distinguish between empty match and an error
194 194
             $prefixFile = str_replace(array("_", "/", "\\", ":"), array("___", "_s_", "_b_", "_d_"), $this->prefix);
195 195
             foreach ($files as $filename) {
196 196
                 if (empty($prefixFile) || strpos(basename($filename), $prefixFile) === 0) {
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
 		$fullPath = $this->getDirectory().$key.".cache";
223 223
 		
224 224
 		// Approximative value due to NTFS short file names (e.g. PROGRA~1) that get longer when evaluated by Windows
225
-		if (strlen($fullPath)<160) {
225
+		if (strlen($fullPath) < 160) {
226 226
 			return $fullPath;
227 227
 		}
228 228
 		
Please login to merge, or discard this patch.