mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Fix reporting level grab
This commit is contained in:
parent
d6c25c90b3
commit
e75436fdc7
@ -63,7 +63,7 @@ class IssueBuffer
|
||||
|
||||
$error_message = $issue_type . ' - ' . $e->getShortLocation() . ' - ' . $e->getMessage();
|
||||
|
||||
$reporting_level = $config->getReportingLevelForFile($issue_type, $e->getFileName());
|
||||
$reporting_level = $config->getReportingLevelForFile($issue_type, $e->getFilePath());
|
||||
|
||||
if ($reporting_level === Config::REPORT_SUPPRESS) {
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user