mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fix calculation when sample has a newline
This commit is contained in:
parent
b7099aaf3f
commit
ecf9d8afd7
@ -368,6 +368,7 @@ class IssueBuffer
|
||||
$issue_baseline[$file][$type]['o'] = $issue_baseline[$file][$type]['o'] - 1;
|
||||
}
|
||||
} else {
|
||||
$issue_baseline[$file][$type]['s'] = [];
|
||||
$issue_data['severity'] = Config::REPORT_INFO;
|
||||
$issue_baseline[$file][$type]['o'] = $issue_baseline[$file][$type]['o'] - 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user