Merge branch 'cs/#6674-zend-view-cs-fixes'

Close #6674
The /e modifier of preg_replace() deprecated as of PHP 5.5.0
Merge branch 'hotfix/#6644-template-map-generator-preg-replace-deprecated-modifier' into develop

Close #6644
Forward port #6644