Skip to content

Commit

Permalink
Merge branch 'skip'
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Jun 15, 2020
2 parents 92661a9 + cd0c206 commit 6e1f39d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/PhpFileGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ private function generate(string $path) : \Generator
{
foreach ($this->filesIterator($path) as $file) {
/* @var \SplFileInfo $file */
if (is_int(strpos($file->getPathname(), '/vendor/'))) {
continue;
}

yield $file;
}
}
Expand Down

0 comments on commit 6e1f39d

Please sign in to comment.