1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00

Changed path output in PhpStorm report to absolute (#4159)

Needs to be absolute to be recognized and linked up by PhpStorm terminal (at least for me on Windows).

See #3271, https://youtrack.jetbrains.com/issue/IDEA-154439
This commit is contained in:
Andrey Savchenko 2020-09-08 21:29:46 +03:00 committed by Daniil Gentili
parent a1ee5e6682
commit 0e22f733b5
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -36,7 +36,7 @@ class PhpStormReport extends Report
$issue_reference = ' (see ' . $issue_data->link . ')';
$issue_string .= ': ' . $issue_data->type
. "\nat " . $issue_data->file_name . ':' . $issue_data->line_from . ':' . $issue_data->column_from
. "\nat " . $issue_data->file_path . ':' . $issue_data->line_from . ':' . $issue_data->column_from
. "\n" . $issue_data->message . $issue_reference . "\n";