task: #3555535 Since symfony/validator 7.4: Support for passing the choices as the first argument to Symfony\Component\Validator\Constraints\Choice is deprecated.
By: longwave By: godotislate (cherry picked from commit 1abec239)
Closes #3567868