1
0
Fork 0

Skip best adapter since it can create issues on some platforms, fixes #2168

pull/2175/head
Jordi Boggiano 2013-08-12 15:58:13 +02:00
parent 0044c75ca0
commit 3346609c5d
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class ClassMapGenerator
if (is_file($path)) { if (is_file($path)) {
$path = array(new \SplFileInfo($path)); $path = array(new \SplFileInfo($path));
} elseif (is_dir($path)) { } elseif (is_dir($path)) {
$path = Finder::create()->useBestAdapter()->files()->followLinks()->name('/\.(php|inc)$/')->in($path); $path = Finder::create()->files()->followLinks()->name('/\.(php|inc)$/')->in($path);
} else { } else {
throw new \RuntimeException( throw new \RuntimeException(
'Could not scan for classes inside "'.$path. 'Could not scan for classes inside "'.$path.