1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Remove --show-snippet support

This commit is contained in:
Ben Dusinberre 2020-03-07 21:21:46 -06:00 committed by Matthew Brown
parent ca2716878b
commit 6d21520628

View File

@ -173,9 +173,7 @@ class JunitReport extends Report
{
$ret = 'message: ' . htmlspecialchars(trim($data->message), ENT_XML1 | ENT_QUOTES) . "\n";
$ret .= 'type: ' . trim($data->type) . "\n";
if ($this->show_snippet) {
$ret .= 'snippet: ' . htmlspecialchars(trim($data->snippet), ENT_XML1 | ENT_QUOTES) . "\n";
}
$ret .= 'snippet: ' . htmlspecialchars(trim($data->snippet), ENT_XML1 | ENT_QUOTES) . "\n";
$ret .= 'selected_text: ' . trim($data->selected_text) . "\n";
$ret .= 'line: ' . $data->line_from . "\n";
$ret .= 'column_from: ' . $data->column_from . "\n";