Completed
Push — master ( 6d1d70...5b3b49 )
by Westin
02:51
created
src/Handler/ZendMonitorHandlerFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace WShafer\PSR11MonoLog\Handler;
5 5
 
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 {
15 15
     public function __invoke(array $options)
16 16
     {
17
-        $level  = (int)     ($options['level']  ?? Logger::DEBUG);
17
+        $level  = (int) ($options['level']  ?? Logger::DEBUG);
18 18
         $bubble = (boolean) ($options['bubble'] ?? true);
19 19
 
20 20
         return new ZendMonitorHandler(
Please login to merge, or discard this patch.
src/Handler/LogglyHandlerFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace WShafer\PSR11MonoLog\Handler;
5 5
 
@@ -11,8 +11,8 @@  discard block
 block discarded – undo
11 11
 {
12 12
     public function __invoke(array $options)
13 13
     {
14
-        $token  = (string)  ($options['token']     ?? '');
15
-        $level  = (int)     ($options['level']     ?? Logger::DEBUG);
14
+        $token  = (string) ($options['token']     ?? '');
15
+        $level  = (int) ($options['level']     ?? Logger::DEBUG);
16 16
         $bubble = (boolean) ($options['bubble']    ?? true);
17 17
 
18 18
         return new LogglyHandler(
Please login to merge, or discard this patch.
src/Handler/SyslogUdpHandlerFactory.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace WShafer\PSR11MonoLog\Handler;
5 5
 
@@ -11,12 +11,12 @@  discard block
 block discarded – undo
11 11
 {
12 12
     public function __invoke(array $options)
13 13
     {
14
-        $host     = (string)  ($options['host']     ?? '');
15
-        $port     = (int)     ($options['host']     ?? 514);
16
-        $facility = (int)     ($options['facility'] ?? LOG_USER);
17
-        $level    = (int)     ($options['level']    ?? Logger::DEBUG);
14
+        $host     = (string) ($options['host']     ?? '');
15
+        $port     = (int) ($options['host']     ?? 514);
16
+        $facility = (int) ($options['facility'] ?? LOG_USER);
17
+        $level    = (int) ($options['level']    ?? Logger::DEBUG);
18 18
         $bubble   = (boolean) ($options['bubble']   ?? true);
19
-        $ident    = (string)  ($options['ident']    ?? 'php');
19
+        $ident    = (string) ($options['ident']    ?? 'php');
20 20
 
21 21
         return new SyslogUdpHandler(
22 22
             $host,
Please login to merge, or discard this patch.
src/Handler/LogEntriesHandlerFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace WShafer\PSR11MonoLog\Handler;
5 5
 
@@ -11,9 +11,9 @@  discard block
 block discarded – undo
11 11
 {
12 12
     public function __invoke(array $options)
13 13
     {
14
-        $token  = (string)  ($options['token']     ?? '');
14
+        $token  = (string) ($options['token']     ?? '');
15 15
         $useSSL = (boolean) ($options['useSSL']    ?? true);
16
-        $level  = (int)     ($options['level']     ?? Logger::DEBUG);
16
+        $level  = (int) ($options['level']     ?? Logger::DEBUG);
17 17
         $bubble = (boolean) ($options['bubble']    ?? true);
18 18
 
19 19
         return new LogEntriesHandler(
Please login to merge, or discard this patch.
src/Handler/FirePHPHandlerFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace WShafer\PSR11MonoLog\Handler;
5 5
 
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 {
12 12
     public function __invoke(array $options)
13 13
     {
14
-        $level  = (int)     ($options['level']  ?? Logger::DEBUG);
14
+        $level  = (int) ($options['level']  ?? Logger::DEBUG);
15 15
         $bubble = (boolean) ($options['bubble'] ?? true);
16 16
 
17 17
         return new FirePHPHandler(
Please login to merge, or discard this patch.
src/Handler/ChromePHPHandlerFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace WShafer\PSR11MonoLog\Handler;
5 5
 
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 {
12 12
     public function __invoke(array $options)
13 13
     {
14
-        $level  = (int)     ($options['level']  ?? Logger::DEBUG);
14
+        $level  = (int) ($options['level']  ?? Logger::DEBUG);
15 15
         $bubble = (boolean) ($options['bubble'] ?? true);
16 16
 
17 17
         return new ChromePHPHandler(
Please login to merge, or discard this patch.
src/Handler/BrowserConsoleHandlerFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace WShafer\PSR11MonoLog\Handler;
5 5
 
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 {
12 12
     public function __invoke(array $options)
13 13
     {
14
-        $level  = (int)     ($options['level']  ?? Logger::DEBUG);
14
+        $level  = (int) ($options['level']  ?? Logger::DEBUG);
15 15
         $bubble = (boolean) ($options['bubble'] ?? true);
16 16
 
17 17
         return new BrowserConsoleHandler(
Please login to merge, or discard this patch.
src/Config/ProcessorConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace WShafer\PSR11MonoLog\Config;
5 5
 
Please login to merge, or discard this patch.
src/Handler/PHPConsoleHandlerFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace WShafer\PSR11MonoLog\Handler;
5 5
 
@@ -17,9 +17,9 @@  discard block
 block discarded – undo
17 17
 
18 18
     public function __invoke(array $options)
19 19
     {
20
-        $consoleOptions = (array)   ($options['options'] ?? []);
20
+        $consoleOptions = (array) ($options['options'] ?? []);
21 21
         $connector      = $this->getConnector($options);
22
-        $level          = (int)     ($options['level']   ?? Logger::DEBUG);
22
+        $level          = (int) ($options['level']   ?? Logger::DEBUG);
23 23
         $bubble         = (boolean) ($options['bubble']  ?? true);
24 24
 
25 25
         return new PHPConsoleHandler(
Please login to merge, or discard this patch.