1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Fix reporting level grab

This commit is contained in:
Matthew Brown 2017-02-12 13:38:41 -05:00
parent d6c25c90b3
commit e75436fdc7

View File

@ -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;