From 2ccb4d887519dd196284fc758d23f92aeca914be Mon Sep 17 00:00:00 2001 From: Tom Sherman Date: Fri, 30 Aug 2019 14:32:17 +0100 Subject: [PATCH] Exclude files --- src/Indexer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Indexer.php b/src/Indexer.php index 8dfc184..27f1628 100644 --- a/src/Indexer.php +++ b/src/Indexer.php @@ -113,7 +113,7 @@ class Indexer return coroutine(function () { $pattern = Path::makeAbsolute('**/*.php', $this->rootPath); - $uris = yield $this->filesFinder->find($pattern); + $uris = yield $this->filesFinder->find($pattern, $this->configuration->excludePatterns); $count = count($uris); $startTime = microtime(true);