Add validators to the configuration handler and make sure it adheres to the current draft of the Symfony Console Style Guide (https://github.com/symfony/symfony-docs/issues/4265)