Skip to content

Commit

Permalink
[LSP] Add issue type in description
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Jan 28, 2024
1 parent 294220c commit 4b2cd0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/LanguageServer/LanguageServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ public function emitVersionedIssues(array $files, ?int $version = null): void
$diagnostics = array_map(
function (IssueData $issue_data): Diagnostic {
//$check_name = $issue->check_name;
$description = $issue_data->message;
$description = '[' . $issue_data->type . '] ' . $issue_data->message;
$severity = $issue_data->severity;

$start_line = max($issue_data->line_from, 1);
Expand Down

0 comments on commit 4b2cd0f

Please sign in to comment.