Completed
Push — master ( 021295...2ba284 )
by Westin
05:24
created
src/Processor/TagProcessorFactory.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\Processor;
5 5
 
Please login to merge, or discard this patch.
src/Handler/RedisHandlerFactory.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
 
@@ -16,10 +16,10 @@  discard block
 block discarded – undo
16 16
     public function __invoke(array $options)
17 17
     {
18 18
         $client  = $this->getClient($options);
19
-        $key     = (string)  ($options['key']     ?? '');
20
-        $level   = (int)     ($options['level']   ?? Logger::DEBUG);
19
+        $key     = (string) ($options['key']     ?? '');
20
+        $level   = (int) ($options['level']   ?? Logger::DEBUG);
21 21
         $bubble  = (boolean) ($options['bubble']  ?? true);
22
-        $capSize = (int)     ($options['capSize'] ?? 0);
22
+        $capSize = (int) ($options['capSize'] ?? 0);
23 23
 
24 24
         return new RedisHandler(
25 25
             $client,
Please login to merge, or discard this patch.
src/Handler/MongoDBHandlerFactory.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
 
@@ -16,9 +16,9 @@  discard block
 block discarded – undo
16 16
     public function __invoke(array $options)
17 17
     {
18 18
         $client     = $this->getClient($options);
19
-        $database   = (string)  ($options['database']   ?? '');
20
-        $collection = (string)  ($options['collection'] ?? '');
21
-        $level      = (int)     ($options['level']      ?? Logger::DEBUG);
19
+        $database   = (string) ($options['database']   ?? '');
20
+        $collection = (string) ($options['collection'] ?? '');
21
+        $level      = (int) ($options['level']      ?? Logger::DEBUG);
22 22
         $bubble     = (boolean) ($options['bubble']     ?? true);
23 23
 
24 24
         return new MongoDBHandler(
Please login to merge, or discard this patch.
src/Handler/CouchDBHandlerFactory.php 1 patch
Spacing   +7 added lines, -7 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']     ?? 'localhost');
15
-        $port     = (int)     ($options['port']     ?? 5984);
16
-        $dbname   = (string)  ($options['port']     ?? 'logger');
17
-        $userName = (string)  ($options['username'] ?? '');
18
-        $password = (string)  ($options['password'] ?? '');
19
-        $level    = (int)     ($options['level']    ?? Logger::DEBUG);
14
+        $host     = (string) ($options['host']     ?? 'localhost');
15
+        $port     = (int) ($options['port']     ?? 5984);
16
+        $dbname   = (string) ($options['port']     ?? 'logger');
17
+        $userName = (string) ($options['username'] ?? '');
18
+        $password = (string) ($options['password'] ?? '');
19
+        $level    = (int) ($options['level']    ?? Logger::DEBUG);
20 20
         $bubble   = (boolean) ($options['bubble']   ?? true);
21 21
 
22 22
         return new CouchDBHandler(
Please login to merge, or discard this patch.
src/Handler/DoctrineCouchDBHandlerFactory.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
 
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
     public function __invoke(array $options)
17 17
     {
18 18
         $client  = $this->getClient($options);
19
-        $level   = (int)     ($options['level']   ?? Logger::DEBUG);
19
+        $level   = (int) ($options['level']   ?? Logger::DEBUG);
20 20
         $bubble  = (boolean) ($options['bubble']  ?? true);
21 21
 
22 22
         return new DoctrineCouchDBHandler(
Please login to merge, or discard this patch.