Passed
Push — develop ( 88c9e5...0e28c5 )
by nguereza
01:41
created
src/Formatter/DefaultFormatter.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
         $logLevel = strtoupper($level);
80 80
         $useIp = $this->config->get('handlers.file.ip_addr', false);
81 81
         $ipStr = '';
82
-        if($useIp){
82
+        if ($useIp) {
83 83
             $ip = Str::ip();
84 84
             $ipStr = '[' . $ip . ']' . $this->tab;
85 85
         }
Please login to merge, or discard this patch.
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
  * Class DefaultFormatter
54 54
  * @package Platine\Logger\Formatter
55 55
  */
56
-class DefaultFormatter extends AbstractFormatter
57
-{
56
+class DefaultFormatter extends AbstractFormatter {
58 57
     /**
59 58
      * {@inheritdoc}
60 59
      * YYYY-mm-dd HH:ii:ss.micro  [log level]  [channel]  [pid:##]
@@ -79,7 +78,7 @@  discard block
 block discarded – undo
79 78
         $logLevel = strtoupper($level);
80 79
         $useIp = $this->config->get('handlers.file.ip_addr', false);
81 80
         $ipStr = '';
82
-        if($useIp){
81
+        if($useIp) {
83 82
             $ip = Str::ip();
84 83
             $ipStr = '[' . $ip . ']' . $this->tab;
85 84
         }
Please login to merge, or discard this patch.