Skip to content

Commit

Permalink
MAGETWO-66739: Always skip hidden files #6567
Browse files Browse the repository at this point in the history
  • Loading branch information
vrann authored Mar 25, 2017
2 parents 55d9503 + 605c735 commit e6a25fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function getList($path)
$classes = [];
foreach ($recursiveIterator as $fileItem) {
/** @var $fileItem \SplFileInfo */
if ($fileItem->isDir() || $fileItem->getExtension() !== 'php') {
if ($fileItem->isDir() || $fileItem->getExtension() !== 'php' || $fileItem->getBasename()[0] == '.') {
continue;
}
foreach ($this->excludePatterns as $excludePatterns) {
Expand Down

0 comments on commit e6a25fe

Please sign in to comment.