From 9ca05fbfa85a5d647a977c306aa88b84fcd5f4a1 Mon Sep 17 00:00:00 2001 From: Ben Dusinberre Date: Fri, 6 Mar 2020 21:24:59 -0600 Subject: [PATCH] Don't trim ints --- src/Psalm/Report/JunitReport.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Psalm/Report/JunitReport.php b/src/Psalm/Report/JunitReport.php index aafc38b78..3c94f96c8 100644 --- a/src/Psalm/Report/JunitReport.php +++ b/src/Psalm/Report/JunitReport.php @@ -163,9 +163,9 @@ class JunitReport extends Report $ret .= 'snippet: ' . trim($data->snippet) . "\n"; } $ret .= 'selected_text: ' . trim($data->selected_text) . "\n"; - $ret .= 'line: ' . trim($data->line_from) . "\n"; - $ret .= 'column_from: ' . trim($data->column_from) . "\n"; - $ret .= 'column_to: ' . trim($data->column_to) . "\n"; + $ret .= 'line: ' . $data->line_from . "\n"; + $ret .= 'column_from: ' . $data->column_from . "\n"; + $ret .= 'column_to: ' . $data->column_to . "\n"; return $ret; }