Closed Nek- closed 1 year ago
As @garak highlighted here: https://github.com/odolbeau/phone-number-bundle/issues/113#issuecomment-1382707339 the work in https://github.com/odolbeau/phone-number-bundle/pull/119 was not complete.
Since Symfony 6.1 we need to add a new attribute HasNamedArguments which is required for constraints using constructors: https://symfony.com/doc/current/validation/custom_constraint.html#creating-the-constraint-class
As @garak highlighted here: https://github.com/odolbeau/phone-number-bundle/issues/113#issuecomment-1382707339 the work in https://github.com/odolbeau/phone-number-bundle/pull/119 was not complete.
Since Symfony 6.1 we need to add a new attribute HasNamedArguments which is required for constraints using constructors: https://symfony.com/doc/current/validation/custom_constraint.html#creating-the-constraint-class