We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e94d03 commit aa3cd05Copy full SHA for aa3cd05
src/Filter.php
@@ -100,11 +100,7 @@ public function isFile(string $filename): bool
100
101
public function isExcluded(string $filename): bool
102
{
103
- if (!$this->isFile($filename)) {
104
- return true;
105
- }
106
-
107
- return !isset($this->files[$filename]);
+ return !isset($this->files[$filename]) || !$this->isFile($filename);
108
}
109
110
/**
0 commit comments