1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

don't report UnusedSuppressions in non project dirs

This commit is contained in:
orklah 2021-08-19 18:43:29 +02:00
parent 2e7763c314
commit 3e236fc2fe

View File

@ -395,6 +395,10 @@ class IssueBuffer
continue;
}
if (!$config->isInProjectDirs($file_path)) {
continue;
}
$file_contents = $file_provider->getContents($file_path);
foreach ($offsets as $start => $end) {