Skip to content

Commit 3658770

Browse files
committed
fixes #67 by only finding files that begin with an uppercase letter
1 parent 18554b4 commit 3658770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Install/GuidelineAssist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ private function discover(callable $cb): array
6868
$finder = Finder::create()
6969
->in($appPath)
7070
->files()
71-
->name('/[A-Z]*.php/');
71+
->name('/[A-Z].*\.php$/');
7272

7373
foreach ($finder as $file) {
7474
$relativePath = $file->getRelativePathname();

0 commit comments

Comments
 (0)