diff --git a/src/Psalm/Config/FileFilter.php b/src/Psalm/Config/FileFilter.php index 71f046998..beddce22b 100644 --- a/src/Psalm/Config/FileFilter.php +++ b/src/Psalm/Config/FileFilter.php @@ -1,6 +1,7 @@ rewind(); while ($iterator->valid()) { - if (!$iterator->isDot() && $iterator->isLink()) { + if ($iterator->isLink()) { $linked_path = readlink($iterator->getPathname()); if (stripos($linked_path, $directory_path) !== 0) {