Passed
Push — main ( 871ea4...e17d1e )
by Sammy
03:00 queued 16s
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()),
@@ -139,13 +139,13 @@  discard block
 block discarded – undo
139 139
             if (is_null($arg)) {
140 140
                 $ret = 'NULL';
141 141
             } elseif (is_bool($arg)) {
142
-                $ret = 'bool:' . ((int)$arg);
142
+                $ret = 'bool:'.((int) $arg);
143 143
             } elseif (is_scalar($arg)) {
144 144
                 $ret = $arg;
145 145
             } elseif (is_object($arg)) {
146 146
                 $ret = get_class($arg);
147 147
             } elseif (is_array($arg)) {
148
-                $ret = 'Array #' . count($arg);
148
+                $ret = 'Array #'.count($arg);
149 149
             }
150 150
             return $ret;
151 151
         }
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 
158 158
         private static function isShortcutCall($function_name): bool
159 159
         {
160
-            return in_array($function_name, ['vd', 'dd','vdt', 'ddt']);
160
+            return in_array($function_name, ['vd', 'dd', 'vdt', 'ddt']);
161 161
         }
162 162
 
163 163
         private static function toHTML($message)
Please login to merge, or discard this patch.