1
0
Fork 0

use best finder adapter

pull/2052/head
Robert Schönthal 2013-07-05 09:24:54 +02:00
parent 4af410e1b9
commit 1a4a104df0
1 changed files with 1 additions and 1 deletions

View File

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