Completed
Push — feature/0.7.0 ( 7f3169...e2f9cf )
by Ryuichi
03:03
created
WebStream/Log/Logger.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
         date_default_timezone_set('Asia/Tokyo');
164 164
         $msec = sprintf("%2d", floatval(microtime()) * 100);
165 165
 
166
-        return strftime("%Y-%m-%d %H:%M:%S") . "," . $msec;
166
+        return strftime("%Y-%m-%d %H:%M:%S").",".$msec;
167 167
     }
168 168
 
169 169
     /**
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
         $content = fread($handle, $size);
228 228
         fclose($handle);
229 229
         if (!preg_match('/^\d{10}$/', $content)) {
230
-            throw new LoggerException("Invalid log state file contents: " . $content);
230
+            throw new LoggerException("Invalid log state file contents: ".$content);
231 231
         }
232 232
 
233 233
         return intval($content);
Please login to merge, or discard this patch.
WebStream/Log/LoggerFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         // メッセージ
50 50
         $formattedMessage = preg_replace('/%m/', $message, $formattedMessage);
51 51
 
52
-        return $formattedMessage . PHP_EOL;
52
+        return $formattedMessage.PHP_EOL;
53 53
     }
54 54
 
55 55
     /**
Please login to merge, or discard this patch.
WebStream/Module/Utility/LoggerUtils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      */
19 19
     public function defaultLoggerFormatter()
20 20
     {
21
-        return '[%d{' . $this->defaultDateTimeFormatter() . '.%f}][%5L] %m';
21
+        return '[%d{'.$this->defaultDateTimeFormatter().'.%f}][%5L] %m';
22 22
     }
23 23
 
24 24
     /**
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
                 continue;
46 46
             }
47 47
             $msg .= PHP_EOL;
48
-            $msg .= "\t#" . trim($stacktraceLine);
48
+            $msg .= "\t#".trim($stacktraceLine);
49 49
         }
50 50
 
51 51
         return $msg;
Please login to merge, or discard this patch.