fix PHPCS errors for Zend\Validator
Merge branch 'cs/#6982-zend-validator-psr2-compliance'

Close #6982