replaced preg_replace with modifier e by preg_replace_callback to avoid deprecated warning on classmap generation
cs fixes
replaced PHP_EOL with \n
Merge pull request #93