Completed
Push — master ( a605f2...08e099 )
by Raffael
02:43
created
src/Exception.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Balloon
Please login to merge, or discard this patch.
src/Log.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Balloon
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
      */
216 216
     protected function _format(string $message, string $format, string $date_format, string $level, array $context = []): string
217 217
     {
218
-        $parsed = preg_replace_callback('/(\{(([a-z]\.*)+)\})/', function ($match) use ($message, $level, $date_format, $context) {
218
+        $parsed = preg_replace_callback('/(\{(([a-z]\.*)+)\})/', function($match) use ($message, $level, $date_format, $context) {
219 219
             $key = '';
220 220
             $context = array_merge($this->context, $context);
221 221
 
Please login to merge, or discard this patch.
src/Adapter/Blackhole.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Balloon
Please login to merge, or discard this patch.
src/Adapter/Stdout.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Balloon
Please login to merge, or discard this patch.
src/Adapter/File.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Balloon
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         foreach ($config as $option => $value) {
45 45
             switch ($option) {
46 46
                 case 'file':
47
-                    $this->file = (string) $value;
47
+                    $this->file = (string)$value;
48 48
                     unset($config[$option]);
49 49
 
50 50
                 break;
@@ -74,6 +74,6 @@  discard block
 block discarded – undo
74 74
 
75 75
         $result = fwrite($this->resource, $message."\n");
76 76
 
77
-        return (bool) $result;
77
+        return (bool)$result;
78 78
     }
79 79
 }
Please login to merge, or discard this patch.
src/Adapter/AbstractAdapter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Balloon
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
             switch ($option) {
89 89
                 case 'date_format':
90 90
                 case 'format':
91
-                    $this->{$option} = (string) $value;
91
+                    $this->{$option} = (string)$value;
92 92
 
93 93
                 break;
94 94
                 case 'level':
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
                         throw new Exception('log level must be a number');
97 97
                     }
98 98
 
99
-                    $this->level = (int) $value;
99
+                    $this->level = (int)$value;
100 100
 
101 101
                 break;
102 102
                 default:
Please login to merge, or discard this patch.
src/Adapter/AdapterInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Balloon
Please login to merge, or discard this patch.
src/Adapter/Syslog.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Balloon
@@ -51,17 +51,17 @@  discard block
 block discarded – undo
51 51
         foreach ($config as $option => $value) {
52 52
             switch ($option) {
53 53
                 case 'ident':
54
-                    $this->ident = (string) $value;
54
+                    $this->ident = (string)$value;
55 55
                     unset($config[$option]);
56 56
 
57 57
                 break;
58 58
                 case 'option':
59
-                    $this->option = (int) (string) $value;
59
+                    $this->option = (int)(string)$value;
60 60
                     unset($config[$option]);
61 61
 
62 62
                 break;
63 63
                 case 'facility':
64
-                    $this->facility = (int) (string) $value;
64
+                    $this->facility = (int)(string)$value;
65 65
                     unset($config[$option]);
66 66
 
67 67
                 break;
Please login to merge, or discard this patch.