Within symfony 6.4.7, the VoucherGenerator contains an invalid range constraint config:
The "Symfony\Component\Validator\Constraints\Range" constraint can not use "minMessage" and "maxMessage" when the "min" and "max" options are both set. Use "notInRangeMessage" instead.
Affected CS Version: 4.x
Within symfony 6.4.7, the VoucherGenerator contains an invalid range constraint config:
The "Symfony\Component\Validator\Constraints\Range" constraint can not use "minMessage" and "maxMessage" when the "min" and "max" options are both set. Use "notInRangeMessage" instead.
Source:
https://github.com/coreshop/CoreShop/blob/0333b345951835fc142fa38073e555d28a41b0a6/src/CoreShop/Bundle/OrderBundle/Resources/config/validation/CartPriceRuleVoucherGenerator.yml#L8-L11