Passed
Push — feature/logger ( ddac3b...c197e6 )
by
unknown
03:44
created
src/Logger/Writer/IoStreamWriter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         }
113 113
 
114 114
         // apply each of the formatters we've attached to this writer
115
-        foreach($this->formatters as $formatter) {
115
+        foreach ($this->formatters as $formatter) {
116 116
             list($timestamp, $logLevel, $indentLevel, $message, $duration) = $formatter->format($timestamp, $logLevel, $indentLevel, $message, $duration);
117 117
         }
118 118
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
         $indentation = $indentLevel ? str_repeat('  ', $indentLevel).'- ' : '';
121 121
 
122 122
         // build the log entry we'll write to the file
123
-        $logEntry = $timestamp . ' ' . strtoupper($logLevel) . ' ' . $indentation . ' ' .$message;
123
+        $logEntry = $timestamp.' '.strtoupper($logLevel).' '.$indentation.' '.$message;
124 124
         if ($this->showDurations) {
125 125
             $logEntry .= ' '.$duration;
126 126
         }
Please login to merge, or discard this patch.