Remove unused variable $valid from ConfigValidator::validate