From 3a53b06f008855b7340ba5663f2a36f6d4819f49 Mon Sep 17 00:00:00 2001 From: Giulio De Donato Date: Tue, 12 Jun 2012 18:08:22 +0300 Subject: [PATCH] just added a \ before RuntimeException (sorry I didn't run the test) --- 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 b1039a737..c8bf43099 100644 --- a/src/Composer/Autoload/ClassMapGenerator.php +++ b/src/Composer/Autoload/ClassMapGenerator.php @@ -91,7 +91,7 @@ class ClassMapGenerator try { $tokens = token_get_all($contents); } catch (\Exception $e) { - throw new RuntimeException('Could not scan for classes inside '.$path.": \n".$e->getMessage(), 0, $e); + throw new \RuntimeException('Could not scan for classes inside '.$path.": \n".$e->getMessage(), 0, $e); } $T_TRAIT = version_compare(PHP_VERSION, '5.4', '<') ? -1 : T_TRAIT;