deprecated feature in classmap generator

The /e modifier in preg_replace is deprecated since 5.5.0, use preg_replace_callback instead