Skip to content

[Validator] Remove duplicated entries in validator constraint pages #16042

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions reference/constraints/All.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ you to apply a collection of constraints to each element of the array.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `constraints`_
- `groups`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\All`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\AllValidator`
========== ===================================================================
Expand Down
6 changes: 0 additions & 6 deletions reference/constraints/Bic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ check that the BIC's country code is the same as a given IBAN's one.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `iban`_
- `ibanMessage`_
- `ibanPropertyPath`_
- `message`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Bic`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\BicValidator`
========== ===================================================================
Expand Down
3 changes: 0 additions & 3 deletions reference/constraints/Blank.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ But be careful as ``NotBlank`` is *not* strictly the opposite of ``Blank``.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Blank`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\BlankValidator`
========== ===================================================================
Expand Down
3 changes: 0 additions & 3 deletions reference/constraints/Callback.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ can do anything, including creating and assigning validation errors.

========== ===================================================================
Applies to :ref:`class <validation-class-target>` or :ref:`property/method <validation-property-target>`
Options - :ref:`callback <callback-option>`
- `groups`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Callback`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\CallbackValidator`
========== ===================================================================
Expand Down
4 changes: 0 additions & 4 deletions reference/constraints/CardScheme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ a payment through a payment gateway.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
- `schemes`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\CardScheme`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\CardSchemeValidator`
========== ===================================================================
Expand Down
11 changes: 0 additions & 11 deletions reference/constraints/Choice.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,6 @@ an array of items is one of those valid choices.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `callback`_
- `choices`_
- `groups`_
- `max`_
- `maxMessage`_
- `message`_
- `min`_
- `minMessage`_
- `multiple`_
- `multipleMessage`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Choice`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\ChoiceValidator`
========== ===================================================================
Expand Down
7 changes: 0 additions & 7 deletions reference/constraints/Collection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ and that extra keys are not present.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `allowExtraFields`_
- `allowMissingFields`_
- `extraFieldsMessage`_
- `fields`_
- `groups`_
- `missingFieldsMessage`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Collection`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\CollectionValidator`
========== ===================================================================
Expand Down
7 changes: 0 additions & 7 deletions reference/constraints/Count.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ Countable) element count is *between* some minimum and maximum value.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `exactMessage`_
- `groups`_
- `max`_
- `maxMessage`_
- `min`_
- `minMessage`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Count`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\CountValidator`
========== ===================================================================
Expand Down
3 changes: 0 additions & 3 deletions reference/constraints/Country.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ Validates that a value is a valid `ISO 3166-1 alpha-2`_ country code.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Country`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\CountryValidator`
========== ===================================================================
Expand Down
3 changes: 0 additions & 3 deletions reference/constraints/Currency.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ Validates that a value is a valid `3-letter ISO 4217`_ currency name.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Currency`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\CurrencyValidator`
========== ===================================================================
Expand Down
3 changes: 0 additions & 3 deletions reference/constraints/Date.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ be cast into a string) that follows a valid ``YYYY-MM-DD`` format.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Date`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\DateValidator`
========== ===================================================================
Expand Down
4 changes: 0 additions & 4 deletions reference/constraints/DateTime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ that can be cast into a string) that follows a specific format.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `format`_
- `groups`_
- `message`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\DateTime`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\DateTimeValidator`
========== ===================================================================
Expand Down
5 changes: 0 additions & 5 deletions reference/constraints/DivisibleBy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ Validates that a value is divisible by another value, defined in the options.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
- `propertyPath`_
- `value`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\DivisibleBy`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\DivisibleByValidator`
========== ===================================================================
Expand Down
7 changes: 0 additions & 7 deletions reference/constraints/Email.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ cast to a string before being validated.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `checkHost`_
- `checkMX`_
- `groups`_
- `message`_
- `mode`_
- `normalizer`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Email`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\EmailValidator`
========== ===================================================================
Expand Down
5 changes: 0 additions & 5 deletions reference/constraints/EqualTo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ To force that a value is *not* equal, see :doc:`/reference/constraints/NotEqualT

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
- `propertyPath`_
- `value`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\EqualTo`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\EqualToValidator`
========== ===================================================================
Expand Down
5 changes: 0 additions & 5 deletions reference/constraints/Expression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ gives you similar flexibility.
========== ===================================================================
Applies to :ref:`class <validation-class-target>`
or :ref:`property/method <validation-property-target>`
Options - :ref:`expression <reference-constraint-expression-option>`
- `groups`_
- `message`_
- `payload`_
- `values`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Expression`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\ExpressionValidator`
========== ===================================================================
Expand Down
18 changes: 0 additions & 18 deletions reference/constraints/File.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,6 @@ form field.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `binaryFormat`_
- `disallowEmptyMessage`_
- `groups`_
- `maxSize`_
- `maxSizeMessage`_
- `mimeTypes`_
- `mimeTypesMessage`_
- `notFoundMessage`_
- `notReadableMessage`_
- `payload`_
- `uploadCantWriteErrorMessage`_
- `uploadErrorMessage`_
- `uploadExtensionErrorMessage`_
- `uploadFormSizeErrorMessage`_
- `uploadIniSizeErrorMessage`_
- `uploadNoFileErrorMessage`_
- `uploadNoTmpDirErrorMessage`_
- `uploadPartialErrorMessage`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\File`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\FileValidator`
========== ===================================================================
Expand Down
5 changes: 0 additions & 5 deletions reference/constraints/GreaterThan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ than another value, see :doc:`/reference/constraints/LessThan`.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
- `propertyPath`_
- `value`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\GreaterThan`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\GreaterThanValidator`
========== ===================================================================
Expand Down
5 changes: 0 additions & 5 deletions reference/constraints/GreaterThanOrEqual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ the options. To force that a value is greater than another value, see

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
- `propertyPath`_
- `value`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\GreaterThanOrEqual`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\GreaterThanOrEqualValidator`
========== ===================================================================
Expand Down
3 changes: 0 additions & 3 deletions reference/constraints/Iban.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ borders with a reduced risk of propagating transcription errors.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Iban`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\IbanValidator`
========== ===================================================================
Expand Down
5 changes: 0 additions & 5 deletions reference/constraints/IdenticalTo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ To force that a value is *not* identical, see

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
- `propertyPath`_
- `value`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\IdenticalTo`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\IdenticalToValidator`
========== ===================================================================
Expand Down
29 changes: 0 additions & 29 deletions reference/constraints/Image.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,6 @@ of the documentation on this constraint.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `allowLandscape`_
- `allowLandscapeMessage`_
- `allowPortrait`_
- `allowPortraitMessage`_
- `allowSquare`_
- `allowSquareMessage`_
- `corruptedMessage`_
- `detectCorrupted`_
- `groups`_
- `maxHeight`_
- `maxHeightMessage`_
- `maxPixels`_
- `maxPixelsMessage`_
- `maxRatio`_
- `maxRatioMessage`_
- `maxWidth`_
- `maxWidthMessage`_
- `mimeTypes`_
- `mimeTypesMessage`_
- `minHeight`_
- `minHeightMessage`_
- `minPixels`_
- `minPixelsMessage`_
- `minRatio`_
- `minRatioMessage`_
- `minWidth`_
- `minWidthMessage`_
- `sizeNotDetectedMessage`_
- See :doc:`File </reference/constraints/File>` for inherited options
Class :class:`Symfony\\Component\\Validator\\Constraints\\Image`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\ImageValidator`
========== ===================================================================
Expand Down
5 changes: 0 additions & 5 deletions reference/constraints/Ip.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ IPv6 and many other combinations.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `normalizer`_
- `payload`_
- `version`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Ip`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\IpValidator`
========== ===================================================================
Expand Down
3 changes: 0 additions & 3 deletions reference/constraints/IsFalse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ Also see :doc:`IsTrue <IsTrue>`.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\IsFalse`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\IsFalseValidator`
========== ===================================================================
Expand Down
3 changes: 0 additions & 3 deletions reference/constraints/IsNull.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ Also see :doc:`NotNull <NotNull>`.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\IsNull`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\IsNullValidator`
========== ===================================================================
Expand Down
3 changes: 0 additions & 3 deletions reference/constraints/IsTrue.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ Also see :doc:`IsFalse <IsFalse>`.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\IsTrue`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\IsTrueValidator`
========== ===================================================================
Expand Down
7 changes: 0 additions & 7 deletions reference/constraints/Isbn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ is either a valid ISBN-10 or a valid ISBN-13.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `bothIsbnMessage`_
- `groups`_
- `isbn10Message`_
- `isbn13Message`_
- `message`_
- `payload`_
- `type`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Isbn`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\IsbnValidator`
========== ===================================================================
Expand Down
5 changes: 0 additions & 5 deletions reference/constraints/Issn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ Validates that a value is a valid

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `caseSensitive`_
- `groups`_
- `message`_
- `payload`_
- `requireHyphen`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Issn`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\IssnValidator`
========== ===================================================================
Expand Down
2 changes: 0 additions & 2 deletions reference/constraints/Json.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ Validates that a value has valid `JSON`_ syntax.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `message`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Json`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\JsonValidator`
========== ===================================================================
Expand Down
3 changes: 0 additions & 3 deletions reference/constraints/Language.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ Validates that a value is a valid language *Unicode language identifier*

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
Class :class:`Symfony\\Component\\Validator\\Constraints\\Language`
Validator :class:`Symfony\\Component\\Validator\\Constraints\\LanguageValidator`
========== ===================================================================
Expand Down
Loading