Passed
Push — main ( 30c07b...a0c9f0 )
by Sammy
02:13
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()),
@@ -131,13 +131,13 @@  discard block
 block discarded – undo
131 131
                 if (is_null($arg)) {
132 132
                     $ret[] = 'NULL';
133 133
                 } elseif (is_bool($arg)) {
134
-                    $ret[] = 'bool:' . ((int)$arg);
134
+                    $ret[] = 'bool:'.((int) $arg);
135 135
                 } elseif (is_scalar($arg)) {
136 136
                     $ret[] = $arg;
137 137
                 } elseif (is_object($arg)) {
138 138
                     $ret[] = get_class($arg);
139 139
                 } elseif (is_array($arg)) {
140
-                    $ret[] = 'Array #' . count($arg);
140
+                    $ret[] = 'Array #'.count($arg);
141 141
                 } else {
142 142
                     $ret[] = 'unknown type';
143 143
                 }
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 
154 154
         private static function isShortcutCall($function_name): bool
155 155
         {
156
-            return in_array($function_name, ['vd', 'dd','vdt', 'ddt']);
156
+            return in_array($function_name, ['vd', 'dd', 'vdt', 'ddt']);
157 157
         }
158 158
 
159 159
         private static function toHTML($message)
Please login to merge, or discard this patch.