Completed
Push — master ( 9f8f1f...f3e8cc )
by Westin
05:37
created
src/Handler/NewRelicHandlerFactory.php 1 patch
Spacing   +4 added lines, -4 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,11 +11,11 @@  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
-        $appName         = (string)  ($options['appName']         ?? '');
16
+        $appName         = (string) ($options['appName']         ?? '');
17 17
         $explodeArrays   = (boolean) ($options['explodeArrays']   ?? false);
18
-        $transactionName = (string)  ($options['transactionName'] ?? '');
18
+        $transactionName = (string) ($options['transactionName'] ?? '');
19 19
 
20 20
         return new NewRelicHandler(
21 21
             $level,
Please login to merge, or discard this patch.
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.