File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ protected function parseText(array &$matches = []): void
2626 $ length = strlen ($ this ->text );
2727
2828 $ this ->extractContextsFromFullText ();
29- $ this ->normalizeContextLineEndings ();
3029
3130 $ this ->extra ['log_size ' ] = $ length ;
3231 $ this ->extra ['log_size_formatted ' ] = Utils::bytesForHumans ($ length );
@@ -192,19 +191,6 @@ protected function getJsonStringsFromFullText(): array
192191 return $ json_strings ;
193192 }
194193
195- protected function normalizeContextLineEndings (): void
196- {
197- if (empty ($ this ->context )) {
198- return ;
199- }
200-
201- foreach ($ this ->context as $ key => $ value ) {
202- if (is_string ($ value )) {
203- $ this ->context [$ key ] = str_replace (["\r\n" , "\r" ], "\n" , $ value );
204- }
205- }
206- }
207-
208194 protected function filterStackTrace (string $ text ): string
209195 {
210196 // Normalize line endings for cross-platform compatibility
You can’t perform that action at this time.
0 commit comments