Completed
Push — master ( 38fa1b...50cdc8 )
by Westin
06:25
created
src/Handler/BufferHandlerFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
     public function __invoke(array $options)
18 18
     {
19 19
         $handler          = $this->getHandlerManager()->get($options['handler']);
20
-        $bufferLimit      = (int)     ($options['bufferLimit']     ?? 0);
21
-        $level            = (int)     ($options['level']           ?? Logger::DEBUG);
20
+        $bufferLimit      = (int) ($options['bufferLimit']     ?? 0);
21
+        $level            = (int) ($options['level']           ?? Logger::DEBUG);
22 22
         $bubble           = (bool) ($options['bubble']          ?? true);
23 23
         $flushOnOverflow  = (bool) ($options['flushOnOverflow'] ?? true);
24 24
 
Please login to merge, or discard this patch.
src/Handler/FleepHookHandlerFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
      */
19 19
     public function __invoke(array $options)
20 20
     {
21
-        $token  = (string)  ($options['token']     ?? '');
22
-        $level  = (int)     ($options['level']     ?? Logger::DEBUG);
21
+        $token  = (string) ($options['token']     ?? '');
22
+        $level  = (int) ($options['level']     ?? Logger::DEBUG);
23 23
         $bubble = (bool) ($options['bubble']    ?? true);
24 24
 
25 25
         return new FleepHookHandler(
Please login to merge, or discard this patch.
src/Handler/DynamoDbHandlerFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
     public function __invoke(array $options)
18 18
     {
19 19
         $client  = $this->getService($options['client'] ?? null);
20
-        $table   = (string)  ($options['table']  ?? null);
21
-        $level   = (int)     ($options['level']  ?? Logger::DEBUG);
20
+        $table   = (string) ($options['table']  ?? null);
21
+        $level   = (int) ($options['level']  ?? Logger::DEBUG);
22 22
         $bubble  = (bool) ($options['bubble'] ?? true);
23 23
 
24 24
         return new DynamoDbHandler(
Please login to merge, or discard this patch.
src/Handler/TestHandlerFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 {
13 13
     public function __invoke(array $options)
14 14
     {
15
-        $level      = (int)     ($options['level']  ?? Logger::DEBUG);
15
+        $level      = (int) ($options['level']  ?? Logger::DEBUG);
16 16
         $bubble     = (bool) ($options['bubble'] ?? true);
17 17
 
18 18
         return new TestHandler(
Please login to merge, or discard this patch.
src/Handler/PHPConsoleHandlerFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@
 block discarded – undo
16 16
 
17 17
     public function __invoke(array $options)
18 18
     {
19
-        $consoleOptions = (array)   ($options['options'] ?? []);
19
+        $consoleOptions = (array) ($options['options'] ?? []);
20 20
         $connector      = $this->getService($options['connector'] ?? null);
21
-        $level          = (int)     ($options['level']   ?? Logger::DEBUG);
21
+        $level          = (int) ($options['level']   ?? Logger::DEBUG);
22 22
         $bubble         = (bool) ($options['bubble']  ?? true);
23 23
 
24 24
         return new PHPConsoleHandler(
Please login to merge, or discard this patch.
src/Handler/MandrillHandlerFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,9 +15,9 @@
 block discarded – undo
15 15
 
16 16
     public function __invoke(array $options)
17 17
     {
18
-        $apiKey  = (string)  ($options['apiKey']  ?? '');
18
+        $apiKey  = (string) ($options['apiKey']  ?? '');
19 19
         $message = $this->getSwiftMessage($options);
20
-        $level   = (int)     ($options['level']   ?? Logger::DEBUG);
20
+        $level   = (int) ($options['level']   ?? Logger::DEBUG);
21 21
         $bubble  = (bool) ($options['bubble']  ?? true);
22 22
 
23 23
         return new MandrillHandler(
Please login to merge, or discard this patch.
src/Handler/ErrorLogHandlerFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 {
13 13
     public function __invoke(array $options)
14 14
     {
15
-        $messageType    = (int)     ($options['messageType']    ?? ErrorLogHandler::OPERATING_SYSTEM);
16
-        $level          = (int)     ($options['level']          ?? Logger::DEBUG);
15
+        $messageType    = (int) ($options['messageType']    ?? ErrorLogHandler::OPERATING_SYSTEM);
16
+        $level          = (int) ($options['level']          ?? Logger::DEBUG);
17 17
         $bubble         = (bool) ($options['bubble']         ?? true);
18 18
         $expandNewlines = (bool) ($options['expandNewlines'] ?? false);
19 19
 
Please login to merge, or discard this patch.
src/Handler/ProcessHandlerFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 {
13 13
     public function __invoke(array $options)
14 14
     {
15
-        $command    = (string)  ($options['command'] ?? null);
16
-        $cwd        = (string)  ($options['cwd']     ?? null);
17
-        $level      = (int)     ($options['level']   ?? Logger::DEBUG);
15
+        $command    = (string) ($options['command'] ?? null);
16
+        $cwd        = (string) ($options['cwd']     ?? null);
17
+        $level      = (int) ($options['level']   ?? Logger::DEBUG);
18 18
         $bubble     = (bool) ($options['bubble']  ?? true);
19 19
 
20 20
         return new ProcessHandler(
Please login to merge, or discard this patch.
src/Handler/SyslogHandlerFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
 {
13 13
     public function __invoke(array $options)
14 14
     {
15
-        $ident    = (string)  ($options['ident']    ?? '');
16
-        $facility = (int)     ($options['facility'] ?? LOG_USER);
17
-        $level    = (int)     ($options['level']    ?? Logger::DEBUG);
15
+        $ident    = (string) ($options['ident']    ?? '');
16
+        $facility = (int) ($options['facility'] ?? LOG_USER);
17
+        $level    = (int) ($options['level']    ?? Logger::DEBUG);
18 18
         $bubble   = (bool) ($options['bubble']   ?? true);
19
-        $logOpts  = (int)     ($options['logOpts']  ?? LOG_PID);
19
+        $logOpts  = (int) ($options['logOpts']  ?? LOG_PID);
20 20
 
21 21
         return new SyslogHandler($ident, $facility, $level, $bubble, $logOpts);
22 22
     }
Please login to merge, or discard this patch.