@@ -99,12 +99,12 @@ |
||
99 | 99 | */ |
100 | 100 | public function format($message) |
101 | 101 | { |
102 | - if(!$this->isDecorated()) { |
|
102 | + if (!$this->isDecorated()) { |
|
103 | 103 | return $message; |
104 | 104 | } |
105 | 105 | $formatted = $this->formatter->format($message); |
106 | 106 | $escaped = htmlspecialchars($formatted, ENT_QUOTES, 'UTF-8'); |
107 | - $converted = preg_replace_callback(self::CLI_COLORS_PATTERN, function ($matches) { |
|
107 | + $converted = preg_replace_callback(self::CLI_COLORS_PATTERN, function($matches) { |
|
108 | 108 | return $this->replaceFormat($matches); |
109 | 109 | }, $escaped); |
110 | 110 | return $converted; |