Commit 6faa3662 authored by Jeremy Mikola's avatar Jeremy Mikola

Merge pull request #44

parents f66ffc9f 2351fc76
...@@ -66,6 +66,11 @@ class PedantryTest extends \PHPUnit_Framework_TestCase ...@@ -66,6 +66,11 @@ class PedantryTest extends \PHPUnit_Framework_TestCase
continue; continue;
} }
/* autoload.php added downstream (e.g. Fedora) */
if ($file->getFilename() === 'autoload.php') {
continue;
}
$classNames[][] = 'MongoDB\\' . str_replace(DIRECTORY_SEPARATOR, '\\', substr($file->getRealPath(), strlen($srcDir) + 1, -4)); $classNames[][] = 'MongoDB\\' . str_replace(DIRECTORY_SEPARATOR, '\\', substr($file->getRealPath(), strlen($srcDir) + 1, -4));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment