8000 [Validator] Removed old versionadded directive · symfony/symfony-docs@a8fc474 · GitHub
[go: up one dir, main page]

Skip to content

Commit a8fc474

Browse files
committed
[Validator] Removed old versionadded directive
1 parent 6a22af8 commit a8fc474

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

validation/custom_constraint.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@ The validator class is also simple, and only has one required method ``validate(
9393
}
9494
}
9595

96-
.. versionadded:: 4.4
97-
98-
The feature to allow passing an object as the ``buildViolation()`` argument
99-
was introduced in Symfony 4.4.
100-
10196
Inside ``validate``, you don't need to return a value. Instead, you add violations
10297
to the validator's ``context`` property and a value will be considered valid
10398
if it causes no violations. The ``buildViolation()`` method takes the error

0 commit comments

Comments
 (0)
0