When trying to do a FileReflection on a zend module.config.php you run into a ReflectionException when invoking FileReflection::getClasses(). Underlying problem is the tokens_get_all() function (in Zend\Code\Scanner\FileScanner::__construct) incorrectly flags the object::class constant as a T_CLASS.