Completed
Push — master ( 23e324...70c101 )
by Martin
03:35
created
src/Formatter/StandardFormatter.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -33,23 +33,23 @@
 block discarded – undo
33 33
 
34 34
         if ($context = $record->getContext()) {
35 35
             $contextString = strtr(
36
-              static::CONTEXT_FORMAT,
37
-              [
36
+                static::CONTEXT_FORMAT,
37
+                [
38 38
                 '%context%' => $this->dumper->dump($context),
39
-              ]
39
+                ]
40 40
             );
41 41
         }
42 42
 
43 43
         $string = strtr(
44
-          static::FORMAT,
45
-          [
44
+            static::FORMAT,
45
+            [
46 46
             '%datetime%' => $record->getDatetime()->format(
47
-              static::DATETIME_FORMAT
47
+                static::DATETIME_FORMAT
48 48
             ),
49 49
             '%level%' => $record->getLevel(),
50 50
             '%message%' => $record->getMessage(),
51 51
             '%contextPlaceholder%' => $contextString,
52
-          ]
52
+            ]
53 53
         );
54 54
 
55 55
         return $string;
Please login to merge, or discard this patch.
src/Workflow.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -30,14 +30,14 @@  discard block
 block discarded – undo
30 30
      * @var array|string[] $levels Logging levels
31 31
      */
32 32
     protected static $levels = [
33
-      self::DEBUG => 'DEBUG',
34
-      self::INFO => 'INFO',
35
-      self::NOTICE => 'NOTICE',
36
-      self::WARNING => 'WARNING',
37
-      self::ERROR => 'ERROR',
38
-      self::CRITICAL => 'CRITICAL',
39
-      self::ALERT => 'ALERT',
40
-      self::EMERGENCY => 'EMERGENCY',
33
+        self::DEBUG => 'DEBUG',
34
+        self::INFO => 'INFO',
35
+        self::NOTICE => 'NOTICE',
36
+        self::WARNING => 'WARNING',
37
+        self::ERROR => 'ERROR',
38
+        self::CRITICAL => 'CRITICAL',
39
+        self::ALERT => 'ALERT',
40
+        self::EMERGENCY => 'EMERGENCY',
41 41
     ];
42 42
 
43 43
     /**
@@ -79,10 +79,10 @@  discard block
 block discarded – undo
79 79
      * @param int|string         $level     Workflow level code
80 80
      */
81 81
     public function __construct(
82
-      PsrLoggerInterface $logger,
83
-      FormatterInterface $formatter,
84
-      \DateTimeZone $timezone,
85
-      $level
82
+        PsrLoggerInterface $logger,
83
+        FormatterInterface $formatter,
84
+        \DateTimeZone $timezone,
85
+        $level
86 86
     ) {
87 87
         $this->logger = $logger;
88 88
         $this->formatter = $formatter;
@@ -183,10 +183,10 @@  discard block
 block discarded – undo
183 183
         }
184 184
 
185 185
         $this->records[] = new Record(
186
-          $this->getCurrentDateTime(),
187
-          $message,
188
-          $this->getLevelName($level),
189
-          $context
186
+            $this->getCurrentDateTime(),
187
+            $message,
188
+            $this->getLevelName($level),
189
+            $context
190 190
         );
191 191
     }
192 192
 
Please login to merge, or discard this patch.
src/Logger.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      * @var array $levels Logging levels
30 30
      */
31 31
     protected static $levels = [
32
-      self::WORKFLOW => 'WORKFLOW',
32
+        self::WORKFLOW => 'WORKFLOW',
33 33
     ];
34 34
 
35 35
     /**
@@ -46,10 +46,10 @@  discard block
 block discarded – undo
46 46
      * @param array              $processors
47 47
      */
48 48
     public function __construct(
49
-      $name,
50
-      FormatterInterface $formatter,
51
-      $handlers = [],
52
-      $processors = []
49
+        $name,
50
+        FormatterInterface $formatter,
51
+        $handlers = [],
52
+        $processors = []
53 53
     ) {
54 54
         parent::__construct($name, $handlers, $processors);
55 55
         static::$levels += parent::$levels;
@@ -62,10 +62,10 @@  discard block
 block discarded – undo
62 62
     protected function createWorkflow()
63 63
     {
64 64
         return new Workflow(
65
-          $this,
66
-          $this->workflowFormatter,
67
-          $this->getDateTimeZone(),
68
-          static::WORKFLOW
65
+            $this,
66
+            $this->workflowFormatter,
67
+            $this->getDateTimeZone(),
68
+            static::WORKFLOW
69 69
         );
70 70
     }
71 71
 
Please login to merge, or discard this patch.