From 3346609c5d1bf4b5e7b7f7959c70d294e5b78549 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 12 Aug 2013 15:58:13 +0200 Subject: [PATCH] Skip best adapter since it can create issues on some platforms, fixes #2168 --- src/Composer/Autoload/ClassMapGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Autoload/ClassMapGenerator.php b/src/Composer/Autoload/ClassMapGenerator.php index e408eea75..05d5d175e 100644 --- a/src/Composer/Autoload/ClassMapGenerator.php +++ b/src/Composer/Autoload/ClassMapGenerator.php @@ -54,7 +54,7 @@ class ClassMapGenerator if (is_file($path)) { $path = array(new \SplFileInfo($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 { throw new \RuntimeException( 'Could not scan for classes inside "'.$path.