Passed
Push — main ( 04b043...77724e )
by Sammy
01:30
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
         }
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         public static function formatThrowable(\Throwable $err)
66 66
         {
67 67
             return sprintf(
68
-                '%s (%d) in file %s:%d' . PHP_EOL . '%s',
68
+                '%s (%d) in file %s:%d'.PHP_EOL.'%s',
69 69
                 get_class($err),
70 70
                 $err->getCode(),
71 71
                 self::formatFilename($err->getFile()),
@@ -137,13 +137,13 @@  discard block
 block discarded – undo
137 137
             if (is_null($arg)) {
138 138
                 $ret = 'NULL';
139 139
             } elseif (is_bool($arg)) {
140
-                $ret = 'bool:' . ((int)$arg);
140
+                $ret = 'bool:'.((int)$arg);
141 141
             } elseif (is_scalar($arg)) {
142 142
                 $ret = $arg;
143 143
             } elseif (is_object($arg)) {
144 144
                 $ret = get_class($arg);
145 145
             } elseif (is_array($arg)) {
146
-                $ret = 'Array #' . count($arg);
146
+                $ret = 'Array #'.count($arg);
147 147
             }
148 148
             return $ret;
149 149
         }
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
 
156 156
         private static function isShortcutCall($function_name): bool
157 157
         {
158
-            return in_array($function_name, ['vd', 'dd','vdt', 'ddt']);
158
+            return in_array($function_name, ['vd', 'dd', 'vdt', 'ddt']);
159 159
         }
160 160
 
161 161
 
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
         {
164 164
             return PHP_EOL
165 165
             . "******* "
166
-            . (empty($var_name) ? $backtrace[1]['function'] . '()' : " ($var_name) ")
166
+            . (empty($var_name) ? $backtrace[1]['function'].'()' : " ($var_name) ")
167 167
             . " *******"
168 168
             . PHP_EOL
169 169
             . self::tracesToString($backtrace, $full_backtrace)
Please login to merge, or discard this patch.