Test Failed
Push — feature/logger ( f91b2f...78aed7 )
by
unknown
05:40
created
src/Logger/Writer/FileWriter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
         }
110 110
 
111 111
         // apply each of the formatters we've attached to this writer
112
-        foreach($this->formatters as $formatter) {
112
+        foreach ($this->formatters as $formatter) {
113 113
             list($timestamp, $logLevel, $message, $indentLevel, $duration) = $formatter->format($timestamp, $logLevel, $indentLevel, $message, $duration);
114 114
         }
115 115
 
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
         $indentation = $indentLevel ? str_repeat('  ', $indentLevel).'- ' : '';
118 118
 
119 119
         // build the log entry we'll write to the stream
120
-        $logEntry = $timestamp . ' ' . $indentation . ' ' .$message;
120
+        $logEntry = $timestamp.' '.$indentation.' '.$message;
121 121
         if ($this->showDurations) {
122 122
             $logEntry .= ' '.$duration;
123 123
         }
Please login to merge, or discard this patch.
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, $message, $indentLevel, $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.
src/Logger/Formatter/ColorStreamFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
         $time = strftime($this->getDateFormat(), $time);
151 151
         $message = $this->colorify($message, $logLevel);
152 152
 
153
-        if ($this->showDurations && ! is_null($duration)) {
153
+        if ($this->showDurations && !is_null($duration)) {
154 154
             $duration = $this->formatDuration($duration);
155 155
             $duration = $this->colorify($duration, 'duration');
156 156
         } else {
Please login to merge, or discard this patch.