Completed
Pull Request — master (#2)
by Westin
05:20 queued 03:26
created
src/HandlerManagerAwareInterface.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;
5 5
 
Please login to merge, or discard this patch.
src/Handler/DeduplicationHandlerFactory.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
         $handler            = $this->getHandlerManager()->get($options['handler']);
19
-        $deduplicationStore =            $options['deduplicationStore'] ?? null;
20
-        $deduplicationLevel = (int)     ($options['deduplicationLevel'] ?? Logger::ERROR);
21
-        $time               = (int)     ($options['time']               ?? 60);
19
+        $deduplicationStore = $options['deduplicationStore'] ?? null;
20
+        $deduplicationLevel = (int) ($options['deduplicationLevel'] ?? Logger::ERROR);
21
+        $time               = (int) ($options['time']               ?? 60);
22 22
         $bubble             = (boolean) ($options['bubble']             ?? true);
23 23
 
24 24
         return new DeduplicationHandler(
Please login to merge, or discard this patch.
src/Handler/FingersCrossedHandlerFactory.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
 
@@ -19,10 +19,10 @@  discard block
 block discarded – undo
19 19
     {
20 20
         $handler            = $this->getHandlerManager()->get($options['handler']);
21 21
         $activationStrategy = $this->getActivationStrategy($options);
22
-        $bufferSize         = (int)     ($options['bufferSize']    ?? 0);
22
+        $bufferSize         = (int) ($options['bufferSize']    ?? 0);
23 23
         $bubble             = (boolean) ($options['bubble']        ?? true);
24 24
         $stopBuffering      = (boolean) ($options['stopBuffering'] ?? true);
25
-        $passthruLevel      =            $options['passthruLevel'] ?? null;
25
+        $passthruLevel      = $options['passthruLevel'] ?? null;
26 26
 
27 27
         return new FingersCrossedHandler(
28 28
             $handler,
Please login to merge, or discard this patch.
src/Handler/FilterHandlerFactory.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
 
@@ -15,8 +15,8 @@  discard block
 block discarded – undo
15 15
     public function __invoke(array $options)
16 16
     {
17 17
         $handler        = $this->getHandlerManager()->get($options['handler']);
18
-        $minLevelOrList =            $options['minLevelOrList'] ?? null;
19
-        $maxLevel       =            $options['maxLevel']       ?? null;
18
+        $minLevelOrList = $options['minLevelOrList'] ?? null;
19
+        $maxLevel       = $options['maxLevel']       ?? null;
20 20
         $bubble         = (boolean) ($options['bubble']         ?? true);
21 21
 
22 22
         return new FilterHandler(
Please login to merge, or discard this patch.
src/Handler/BufferHandlerFactory.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
 
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
     public function __invoke(array $options)
17 17
     {
18 18
         $handler          = $this->getHandlerManager()->get($options['handler']);
19
-        $bufferLimit      = (int)     ($options['bufferLimit']     ?? 0);
20
-        $level            = (int)     ($options['level']           ?? Logger::DEBUG);
19
+        $bufferLimit      = (int) ($options['bufferLimit']     ?? 0);
20
+        $level            = (int) ($options['level']           ?? Logger::DEBUG);
21 21
         $bubble           = (boolean) ($options['bubble']          ?? true);
22 22
         $flushOnOverflow  = (boolean) ($options['flushOnOverflow'] ?? true);
23 23
 
Please login to merge, or discard this patch.