Skip to content

Commit

Permalink
Merge pull request #9299 from weirdan/fix-8331
Browse files Browse the repository at this point in the history
Added issue type and psalm.dev link to Emacs report
  • Loading branch information
weirdan committed Feb 15, 2023
2 parents 47eb024 + 840250c commit eca65bf
Show file tree
Hide file tree
Showing 2 changed files with 199 additions and 171 deletions.
4 changes: 3 additions & 1 deletion src/Psalm/Report/EmacsReport.php
Expand Up @@ -14,12 +14,14 @@ public function create(): string
$output = '';
foreach ($this->issues_data as $issue_data) {
$output .= sprintf(
'%s:%s:%s:%s - %s',
'%s:%s:%s:%s - %s: %s (see %s)',
$issue_data->file_path,
$issue_data->line_from,
$issue_data->column_from,
($issue_data->severity === Config::REPORT_ERROR ? 'error' : 'warning'),
$issue_data->type,
$issue_data->message,
$issue_data->link,
) . "\n";
}

Expand Down

0 comments on commit eca65bf

Please sign in to comment.