Passed
Pull Request — master (#1)
by Alex
02:58
created
src/Factory/Processor/UidProcessorFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         $options = $options ?? $this->getServiceOptions($container, $requestedName);
30 30
 
31 31
         return new UidProcessor(
32
-            isset($options['length']) ? (int)$options['length'] : 7
32
+            isset($options['length']) ? (int) $options['length'] : 7
33 33
         );
34 34
     }
35 35
 }
Please login to merge, or discard this patch.
src/Factory/Processor/MemoryPeakUsageProcessorFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,11 +32,11 @@
 block discarded – undo
32 32
         $options = $options ?? $this->getServiceOptions($container, $requestedName);
33 33
 
34 34
         $realUsage = isset($options['real_usage'])
35
-            ? (bool)$options['real_usage']
35
+            ? (bool) $options['real_usage']
36 36
             : true;
37 37
 
38 38
         $useFormatting = isset($options['use_formatting'])
39
-            ? (bool)$options['use_formatting']
39
+            ? (bool) $options['use_formatting']
40 40
             : true;
41 41
 
42 42
         return new MemoryPeakUsageProcessor($realUsage, $useFormatting);
Please login to merge, or discard this patch.
src/Factory/Handler/SyslogHandlerFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             $ident,
44 44
             $options['facility'] ?? LOG_USER,
45 45
             $options['level'] ?? Logger::DEBUG,
46
-            isset($options['bubble']) ? (bool)$options['bubble'] : true,
46
+            isset($options['bubble']) ? (bool) $options['bubble'] : true,
47 47
             $options['logopts'] ?? LOG_PID
48 48
         );
49 49
     }
Please login to merge, or discard this patch.
src/Factory/Handler/ErrorLogHandlerFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,10 +33,10 @@
 block discarded – undo
33 33
         $options = $options ?? $this->getServiceOptions($container, $requestedName);
34 34
 
35 35
         return new ErrorLogHandler(
36
-            isset($options['message_type']) ? (int)$options['message_type'] : ErrorLogHandler::OPERATING_SYSTEM,
37
-            isset($options['level']) ? (int)$options['level'] : Logger::DEBUG,
38
-            isset($options['bubble']) ? (bool)$options['bubble'] : true,
39
-            isset($options['expand_new_lines']) ? (bool)$options['expand_new_lines'] : false
36
+            isset($options['message_type']) ? (int) $options['message_type'] : ErrorLogHandler::OPERATING_SYSTEM,
37
+            isset($options['level']) ? (int) $options['level'] : Logger::DEBUG,
38
+            isset($options['bubble']) ? (bool) $options['bubble'] : true,
39
+            isset($options['expand_new_lines']) ? (bool) $options['expand_new_lines'] : false
40 40
         );
41 41
     }
42 42
 }
Please login to merge, or discard this patch.
src/Factory/Handler/PsrHandlerFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,8 +43,8 @@
 block discarded – undo
43 43
 
44 44
         $handler = new PsrHandler(
45 45
             $this->getLogger($container, $options['logger'], $requestedName),
46
-            isset($options['level']) ? (int)$options['level'] : Logger::DEBUG,
47
-            isset($options['bubble']) ? (bool)$options['bubble'] : true
46
+            isset($options['level']) ? (int) $options['level'] : Logger::DEBUG,
47
+            isset($options['bubble']) ? (bool) $options['bubble'] : true
48 48
         );
49 49
 
50 50
         if (!empty($options['formatter'])) {
Please login to merge, or discard this patch.