Skip to content

Improve ConstraintValidator#buildViolation() documentation #16427

Closed
@m14t

Description

@m14t

In UPGRADE-3.0.md, it is advised to use buildViolation() instead of addViolationAt(), however as a part of Pull-Request #12016, this method was also marked as depreciated.

What is the preferred way to handle this situation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementGood first issueIdeal for your first contribution! (some Symfony experience may be required)Validator

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions