@@ -52,15 +52,15 @@ discard block |
||
52 | 52 | public function format(Record $record) |
53 | 53 | { |
54 | 54 | $string = strtr( |
55 | - static::FORMAT, |
|
56 | - [ |
|
55 | + static::FORMAT, |
|
56 | + [ |
|
57 | 57 | '%datetime%' => $record->getDatetime()->format( |
58 | - static::DATETIME_FORMAT |
|
58 | + static::DATETIME_FORMAT |
|
59 | 59 | ), |
60 | 60 | '%level%' => $record->getLevel(), |
61 | 61 | '%message%' => $record->getMessage(), |
62 | 62 | '%contextPlaceholder%' => $this->prepareContextPart($record), |
63 | - ] |
|
63 | + ] |
|
64 | 64 | ); |
65 | 65 | |
66 | 66 | $string = $this->indent($string); |
@@ -79,9 +79,9 @@ discard block |
||
79 | 79 | } |
80 | 80 | |
81 | 81 | return preg_replace( |
82 | - '#(?:^|[\r\n]+)(?=[^\r\n])#', |
|
83 | - '$0'.str_repeat(' ', $this->indent), |
|
84 | - $string |
|
82 | + '#(?:^|[\r\n]+)(?=[^\r\n])#', |
|
83 | + '$0'.str_repeat(' ', $this->indent), |
|
84 | + $string |
|
85 | 85 | ); |
86 | 86 | } |
87 | 87 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | public function __construct(DumperInterface $dumper, $indent = 0) |
31 | 31 | { |
32 | 32 | $this->dumper = $dumper; |
33 | - $this->indent = (int)$indent; |
|
33 | + $this->indent = (int) $indent; |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | protected function prepareContextPart(Record $record) |