Passed
Push — master ( b92bf4...6e6be1 )
by Martin
01:59
created
src/Formatter/StandardFormatter.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -52,15 +52,15 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.