Skip to content

Commit

Permalink
Ignore specific files from finder
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Frömer <andreas.froemer@check24.de>
  • Loading branch information
Andreas Frömer committed Sep 9, 2020
1 parent eabb0e9 commit 8f9ab39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Symbol/Loader/UsedSymbolLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ public function load(PackageDecoratorInterface $package): Generator
->files()
->name('*.php')
->in($package->getBaseDir())
->ignoreDotFiles(true)
->ignoreVCS(true)
->ignoreVCSIgnored(true)
->ignoreUnreadableDirs()
->exclude(
array_merge(['vendor', 'data'])
);
Expand Down

0 comments on commit 8f9ab39

Please sign in to comment.