PHPCS fixes for Zend\Dom
Merge branch 'cs/#6699-zend-dom-psr-2-compat'

Close #6699
Fixes #6769 : remove form element should remove the inputFilter
handle setValidationGroup too to remove the inputFilter