Skip to content

Commit 6faa366

Browse files
committed
Merge pull request #44
2 parents f66ffc9 + 2351fc7 commit 6faa366

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/PedantryTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ public function provideProjectClassNames()
6666
continue;
6767
}
6868

69+
/* autoload.php added downstream (e.g. Fedora) */
70+
if ($file->getFilename() === 'autoload.php') {
71+
continue;
72+
}
73+
6974
$classNames[][] = 'MongoDB\\' . str_replace(DIRECTORY_SEPARATOR, '\\', substr($file->getRealPath(), strlen($srcDir) + 1, -4));
7075
}
7176

0 commit comments

Comments
 (0)