Completed
Push — master ( 38fa1b...50cdc8 )
by Westin
06:25
created
src/Handler/OverflowHandlerFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
             Logger::EMERGENCY => $options['thresholdMap']['emergency'] ?? 0,
29 29
         ];
30 30
 
31
-        $level  = (int)     ($options['level']  ?? Logger::DEBUG);
31
+        $level  = (int) ($options['level']  ?? Logger::DEBUG);
32 32
         $bubble = (bool) ($options['bubble'] ?? true);
33 33
 
34 34
         return new OverflowHandler(
Please login to merge, or discard this patch.
src/Handler/NewRelicHandlerFactory.php 1 patch
Spacing   +3 added lines, -3 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
-        $level           = (int)     ($options['level']           ?? Logger::DEBUG);
15
+        $level           = (int) ($options['level']           ?? Logger::DEBUG);
16 16
         $bubble          = (bool) ($options['bubble']          ?? true);
17
-        $appName         =            $options['appName']         ?? null;
17
+        $appName         = $options['appName']         ?? null;
18 18
         $explodeArrays   = (bool) ($options['explodeArrays']   ?? false);
19
-        $transactionName =            $options['transactionName'] ?? null;
19
+        $transactionName = $options['transactionName'] ?? null;
20 20
 
21 21
         return new NewRelicHandler(
22 22
             $level,
Please login to merge, or discard this patch.
src/Handler/RotatingFileHandlerFactory.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
-        $filename       = (string)  ($options['filename']       ?? '');
16
-        $maxFiles       = (int)     ($options['maxFiles']       ?? 0);
17
-        $level          = (int)     ($options['level']          ?? Logger::DEBUG);
15
+        $filename       = (string) ($options['filename']       ?? '');
16
+        $maxFiles       = (int) ($options['maxFiles']       ?? 0);
17
+        $level          = (int) ($options['level']          ?? Logger::DEBUG);
18 18
         $bubble         = (bool) ($options['bubble']         ?? true);
19
-        $filePermission = (int)     ($options['filePermission'] ?? null);
19
+        $filePermission = (int) ($options['filePermission'] ?? null);
20 20
         $useLocking     = (bool) ($options['useLocking']     ?? false);
21 21
 
22 22
         return new RotatingFileHandler($filename, $maxFiles, $level, $bubble, $filePermission, $useLocking);
Please login to merge, or discard this patch.
src/Handler/ChromePHPHandlerFactory.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 ChromePHPHandler(
Please login to merge, or discard this patch.
src/Handler/SyslogUdpHandlerFactory.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,12 +12,12 @@
 block discarded – undo
12 12
 {
13 13
     public function __invoke(array $options)
14 14
     {
15
-        $host     = (string)  ($options['host']     ?? '');
16
-        $port     = (int)     ($options['host']     ?? 514);
17
-        $facility = (int)     ($options['facility'] ?? LOG_USER);
18
-        $level    = (int)     ($options['level']    ?? Logger::DEBUG);
15
+        $host     = (string) ($options['host']     ?? '');
16
+        $port     = (int) ($options['host']     ?? 514);
17
+        $facility = (int) ($options['facility'] ?? LOG_USER);
18
+        $level    = (int) ($options['level']    ?? Logger::DEBUG);
19 19
         $bubble   = (bool) ($options['bubble']   ?? true);
20
-        $ident    = (string)  ($options['ident']    ?? 'php');
20
+        $ident    = (string) ($options['ident']    ?? 'php');
21 21
 
22 22
         return new SyslogUdpHandler(
23 23
             $host,
Please login to merge, or discard this patch.
src/Handler/PushoverHandlerFactory.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -12,16 +12,16 @@
 block discarded – undo
12 12
 {
13 13
     public function __invoke(array $options)
14 14
     {
15
-        $token             = (string)  ($options['token']             ?? '');
16
-        $users             = (array)   ($options['users']             ?? []);
17
-        $title             =            $options['title']             ?? null;
18
-        $level             = (int)     ($options['level']             ?? Logger::DEBUG);
15
+        $token             = (string) ($options['token']             ?? '');
16
+        $users             = (array) ($options['users']             ?? []);
17
+        $title             = $options['title']             ?? null;
18
+        $level             = (int) ($options['level']             ?? Logger::DEBUG);
19 19
         $bubble            = (bool) ($options['bubble']            ?? true);
20 20
         $useSSL            = (bool) ($options['useSSL']            ?? true);
21
-        $highPriorityLevel = (int)     ($options['highPriorityLevel'] ?? Logger::CRITICAL);
22
-        $emergencyLevel    = (int)     ($options['emergencyLevel']    ?? Logger::EMERGENCY);
23
-        $retry             = (int)     ($options['retry']             ?? 30);
24
-        $expire            = (int)     ($options['expire']            ?? 25200);
21
+        $highPriorityLevel = (int) ($options['highPriorityLevel'] ?? Logger::CRITICAL);
22
+        $emergencyLevel    = (int) ($options['emergencyLevel']    ?? Logger::EMERGENCY);
23
+        $retry             = (int) ($options['retry']             ?? 30);
24
+        $expire            = (int) ($options['expire']            ?? 25200);
25 25
 
26 26
         return new PushoverHandler(
27 27
             $token,
Please login to merge, or discard this patch.
src/Handler/FirePHPHandlerFactory.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 FirePHPHandler(
Please login to merge, or discard this patch.
src/Handler/BrowserConsoleHandlerFactory.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 BrowserConsoleHandler(
Please login to merge, or discard this patch.
src/Handler/LogglyHandlerFactory.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 LogglyHandler(
Please login to merge, or discard this patch.