Completed
Push — master ( 69b75e...babef7 )
by Bret R.
24s queued 11s
created
src/Check/FileCheck.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -97,9 +97,9 @@  discard block
 block discarded – undo
97 97
                 $result->setError("mtime() returns error");
98 98
                 return $result;
99 99
             }
100
-            $age = (time()-$mtime);
101
-            $age = round($age/60); // sec-to-min
102
-            if ($age > (int)$this->maxage) {
100
+            $age = (time() - $mtime);
101
+            $age = round($age / 60); // sec-to-min
102
+            if ($age > (int) $this->maxage) {
103 103
                 $result->setSuccess(false);
104 104
                 $result->setError($this->filename." is to old!");
105 105
                 return $result;
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
                 return $result;
121 121
             }
122 122
             $linenr = 0;
123
-            while($line = fgets($fp)) {
123
+            while ($line = fgets($fp)) {
124 124
                 $linenr++;
125 125
                 if (preg_match('~'.$this->unwantedRegex.'~i', $line)) {
126 126
                     $result->setSuccess(false);
Please login to merge, or discard this patch.