mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Only add linked directories
This commit is contained in:
parent
14f456e160
commit
5d5fbb1e9c
@ -161,7 +161,9 @@ class FileFilter
|
||||
$filter->declare_strict_types[$directory_path] = true;
|
||||
}
|
||||
|
||||
$filter->addDirectory(readlink($iterator->getPathName()));
|
||||
if (is_dir($linked_path)) {
|
||||
$filter->addDirectory($linked_path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user