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:
parent
2e7763c314
commit
3e236fc2fe
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user