fix PHPCS errors for Zend\Validator