Passed
Branch master (4309a0)
by Tim
12:37 queued 05:32
created
Category
www/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@
 block discarded – undo
15 15
     $results = [];
16 16
     $line = $objFile->getPreviousLine();
17 17
     while ($line !== false && ($i++ < $cut)) {
18
-        if (strstr($line, '[' . $tag . ']')) {
18
+        if (strstr($line, '['.$tag.']')) {
19 19
             $results[] = $line;
20 20
         }
21 21
         $line = $objFile->getPreviousLine();
22 22
     }
23
-    $results[] = 'Searched ' . $i . ' lines backward. ' . count($results) . ' lines found.';
23
+    $results[] = 'Searched '.$i.' lines backward. '.count($results).' lines found.';
24 24
     $results = array_reverse($results);
25 25
     return $results;
26 26
 }
Please login to merge, or discard this patch.
lib/Syslog/ParseLine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         // file this record is taken from. But that require knowledge about the file.
31 31
         if (!$year) {
32 32
             $now = getdate();
33
-            $year = (int)$now['year'];
33
+            $year = (int) $now['year'];
34 34
         }
35 35
         list($month, $day, $hour, $minute, $second) = sscanf($logLine, "%s %d %d:%d:%d ");
36 36
         $time = sprintf("%d %s %d %d:%d:%d", $day, $month, $year, $hour, $minute, $second);
Please login to merge, or discard this patch.
lib/File/ReverseRead.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
 
134 134
                 if ($eolPos === false) {
135 135
                     // No eol found. Make buffer head of remainder and empty buffer.
136
-                    $this->remainder = $buff . $this->remainder;
136
+                    $this->remainder = $buff.$this->remainder;
137 137
                     $buff = '';
138 138
                 } elseif ($eolPos !== 0) {
139 139
                     // eol found.
Please login to merge, or discard this patch.