[Validator] Fixed phpcs issues