See https://github.com/symfony/symfony/pull/23039 Things to do: * [ ] Check if we mention somewhere that this is a Symfony limitation for validation files. * [ ] Think if we should show an example of using PHP constants in validation files.