Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Closed
Description
Hi guys!
Related tohttps://github.com/symfony/symfony/blob/master/UPGRADE-2.5.md#validator andhttps://github.com/symfony/symfony/blob/master/UPGRADE-3.0.md#validator - specifically, I'm talking about the new Validator API and options.
Needed changes:
- A) Update the
ExecutionContextInterfacenamespaces (seeUpdate Callback.rst #4161 and2.5 Validation API changes #4233) - B) Update the
addViolationAttobuildViolation - C) Add a cookbook entry to explain all of this stuff, and show how a bundle can support both versions
- D) Update the framework reference section with the
framework.validation.apioption. - E) Replace usages of deprecated method
validateValue()where needed. - F) Change signature of using
->validatewith a group argument: