Passed
Push — main ( fbbeff...049c2b )
by Sammy
06:39 queued 04:40
created
Debugger.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
         {
11 11
             $debugger = new \ReflectionClass(__CLASS__);
12 12
             $methods = $debugger->getMethods();
13
-            self::$meta_methods = array_map(function ($m) {
13
+            self::$meta_methods = array_map(function($m) {
14 14
                 return $m->name;
15 15
             }, $methods);
16 16
         }
@@ -69,8 +69,8 @@  discard block
 block discarded – undo
69 69
       // -- formatting : first line of \Throwable-based error
70 70
         public static function formatThrowable(\Throwable $err)
71 71
         {
72
-            return PHP_EOL . sprintf(
73
-                '%s (%d) in file %s:%d' . PHP_EOL . '%s',
72
+            return PHP_EOL.sprintf(
73
+                '%s (%d) in file %s:%d'.PHP_EOL.'%s',
74 74
                 get_class($err),
75 75
                 $err->getCode(),
76 76
                 self::formatFilename($err->getFile()),
@@ -145,13 +145,13 @@  discard block
 block discarded – undo
145 145
             if (is_null($arg)) {
146 146
                 $ret = 'NULL';
147 147
             } elseif (is_bool($arg)) {
148
-                $ret = 'bool:' . ((int)$arg);
148
+                $ret = 'bool:'.((int)$arg);
149 149
             } elseif (is_scalar($arg)) {
150 150
                 $ret = $arg;
151 151
             } elseif (is_object($arg)) {
152 152
                 $ret = get_class($arg);
153 153
             } elseif (is_array($arg)) {
154
-                $ret = 'Array #' . count($arg);
154
+                $ret = 'Array #'.count($arg);
155 155
             }
156 156
             return $ret;
157 157
         }
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
 
164 164
         private static function isShortcutCall($function_name): bool
165 165
         {
166
-            return in_array($function_name, ['vd', 'dd','vdt', 'ddt']);
166
+            return in_array($function_name, ['vd', 'dd', 'vdt', 'ddt']);
167 167
         }
168 168
 
169 169
         private static function toHTML($message)
Please login to merge, or discard this patch.