Passed
Push — main ( bf57ac...d3a7fe )
by Nobufumi
02:11
created
src/LogPsr3.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -132,10 +132,10 @@  discard block
 block discarded – undo
132 132
             // Handle object
133 133
             $formattedMessage = method_exists($message, '__toString')
134 134
                 ? (string) $message
135
-                : json_encode($message, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
135
+                : json_encode($message, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE);
136 136
             $type = get_class($message); // Use the class name for objects
137 137
         } else {
138
-            $formattedMessage = (string)$message; // Handle string or other types
138
+            $formattedMessage = (string) $message; // Handle string or other types
139 139
         }
140 140
 
141 141
         $timestamp = date('Y-m-d H:i:s');
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
     {
271 271
         $backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
272 272
         $traceInfo = array_map(
273
-            function ($trace) {
273
+            function($trace) {
274 274
                 $file = $trace['file'] ?? '[internal function]';
275 275
                 $line = $trace['line'] ?? '?';
276 276
                 $function = $trace['function'];
Please login to merge, or discard this patch.