Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit304f14d

Browse files
committed
minor#20359 [Validator] Update the constraint index (javiereguiluz)
This PR was merged into the 5.4 branch.Discussion----------[Validator] Update the constraint indexThis PR updates the pagehttps://symfony.com/doc/current/reference/constraints.html with these changes:* Sorts the constraints alphabetically on each group* Adds the missing `GroupSequence` constraint* Applies some CSS classes to display long lists in 2 or 3 columnsThis is how it looks now:![](https://github.com/user-attachments/assets/d3d72af6-9077-4eff-b8e1-cfd251e9f27e)Commits-------e71f495 [Validator] Update the constraint index
2 parentsce1e931 +e71f495 commit304f14d

File tree

1 file changed

+40
-28
lines changed

1 file changed

+40
-28
lines changed

‎reference/constraints/map.rst.inc‎

Lines changed: 40 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,53 +4,60 @@ Basic Constraints
44
These are the basic constraints: use them to assert very basic things about
55
the value of properties or the return value of methods on your object.
66

7-
* :doc:`NotBlank</reference/constraints/NotBlank>`
7+
.. class:: ui-list-two-columns
8+
89
* :doc:`Blank</reference/constraints/Blank>`
9-
* :doc:`NotNull</reference/constraints/NotNull>`
10+
* :doc:`IsFalse</reference/constraints/IsFalse>`
1011
* :doc:`IsNull</reference/constraints/IsNull>`
1112
* :doc:`IsTrue</reference/constraints/IsTrue>`
12-
* :doc:`IsFalse</reference/constraints/IsFalse>`
13+
* :doc:`NotBlank</reference/constraints/NotBlank>`
14+
* :doc:`NotNull</reference/constraints/NotNull>`
1315
* :doc:`Type</reference/constraints/Type>`
1416

1517
String Constraints
1618
~~~~~~~~~~~~~~~~~~
1719

20+
.. class:: ui-list-three-columns
21+
22+
* :doc:`Cidr</reference/constraints/Cidr>`
23+
* :doc:`CssColor</reference/constraints/CssColor>`
1824
* :doc:`Email</reference/constraints/Email>`
1925
* :doc:`ExpressionLanguageSyntax</reference/constraints/ExpressionLanguageSyntax>`
20-
* :doc:`Length</reference/constraints/Length>`
21-
* :doc:`Url</reference/constraints/Url>`
22-
* :doc:`Regex</reference/constraints/Regex>`
2326
* :doc:`Hostname</reference/constraints/Hostname>`
2427
* :doc:`Ip</reference/constraints/Ip>`
25-
* :doc:`Cidr</reference/constraints/Cidr>`
2628
* :doc:`Json</reference/constraints/Json>`
27-
* :doc:`Uuid</reference/constraints/Uuid>`
29+
* :doc:`Length</reference/constraints/Length>`
30+
* :doc:`NotCompromisedPassword</reference/constraints/NotCompromisedPassword>`
31+
* :doc:`Regex</reference/constraints/Regex>`
2832
* :doc:`Ulid</reference/constraints/Ulid>`
33+
* :doc:`Url</reference/constraints/Url>`
2934
* :doc:`UserPassword</reference/constraints/UserPassword>`
30-
* :doc:`NotCompromisedPassword</reference/constraints/NotCompromisedPassword>`
31-
* :doc:`CssColor</reference/constraints/CssColor>`
35+
* :doc:`Uuid</reference/constraints/Uuid>`
3236

3337
Comparison Constraints
3438
~~~~~~~~~~~~~~~~~~~~~~
3539

40+
.. class:: ui-list-three-columns
41+
42+
* :doc:`DivisibleBy</reference/constraints/DivisibleBy>`
3643
* :doc:`EqualTo</reference/constraints/EqualTo>`
37-
* :doc:`NotEqualTo</reference/constraints/NotEqualTo>`
44+
* :doc:`GreaterThan</reference/constraints/GreaterThan>`
45+
* :doc:`GreaterThanOrEqual</reference/constraints/GreaterThanOrEqual>`
3846
* :doc:`IdenticalTo</reference/constraints/IdenticalTo>`
39-
* :doc:`NotIdenticalTo</reference/constraints/NotIdenticalTo>`
4047
* :doc:`LessThan</reference/constraints/LessThan>`
4148
* :doc:`LessThanOrEqual</reference/constraints/LessThanOrEqual>`
42-
* :doc:`GreaterThan</reference/constraints/GreaterThan>`
43-
* :doc:`GreaterThanOrEqual</reference/constraints/GreaterThanOrEqual>`
49+
* :doc:`NotEqualTo</reference/constraints/NotEqualTo>`
50+
* :doc:`NotIdenticalTo</reference/constraints/NotIdenticalTo>`
4451
* :doc:`Range</reference/constraints/Range>`
45-
* :doc:`DivisibleBy</reference/constraints/DivisibleBy>`
4652
* :doc:`Unique</reference/constraints/Unique>`
4753

4854
Number Constraints
4955
~~~~~~~~~~~~~~~~~~
50-
* :doc:`Positive</reference/constraints/Positive>`
51-
* :doc:`PositiveOrZero</reference/constraints/PositiveOrZero>`
56+
5257
* :doc:`Negative</reference/constraints/Negative>`
5358
* :doc:`NegativeOrZero</reference/constraints/NegativeOrZero>`
59+
* :doc:`Positive</reference/constraints/Positive>`
60+
* :doc:`PositiveOrZero</reference/constraints/PositiveOrZero>`
5461

5562
Date Constraints
5663
~~~~~~~~~~~~~~~~
@@ -64,9 +71,9 @@ Choice Constraints
6471
~~~~~~~~~~~~~~~~~~
6572

6673
* :doc:`Choice</reference/constraints/Choice>`
74+
* :doc:`Country</reference/constraints/Country>`
6775
* :doc:`Language</reference/constraints/Language>`
6876
* :doc:`Locale</reference/constraints/Locale>`
69-
* :doc:`Country</reference/constraints/Country>`
7077

7178
File Constraints
7279
~~~~~~~~~~~~~~~~
@@ -77,33 +84,38 @@ File Constraints
7784
Financial and other Number Constraints
7885
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7986

87+
.. class:: ui-list-two-columns
88+
8089
* :doc:`Bic</reference/constraints/Bic>`
8190
* :doc:`CardScheme</reference/constraints/CardScheme>`
8291
* :doc:`Currency</reference/constraints/Currency>`
83-
* :doc:`Luhn</reference/constraints/Luhn>`
8492
* :doc:`Iban</reference/constraints/Iban>`
8593
* :doc:`Isbn</reference/constraints/Isbn>`
86-
* :doc:`Issn</reference/constraints/Issn>`
8794
* :doc:`Isin</reference/constraints/Isin>`
95+
* :doc:`Issn</reference/constraints/Issn>`
96+
* :doc:`Luhn</reference/constraints/Luhn>`
8897

8998
Doctrine Constraints
9099
~~~~~~~~~~~~~~~~~~~~
91100

92-
* :doc:`UniqueEntity</reference/constraints/UniqueEntity>`
93-
* :doc:`EnableAutoMapping</reference/constraints/EnableAutoMapping>`
94101
* :doc:`DisableAutoMapping</reference/constraints/DisableAutoMapping>`
102+
* :doc:`EnableAutoMapping</reference/constraints/EnableAutoMapping>`
103+
* :doc:`UniqueEntity</reference/constraints/UniqueEntity>`
95104

96105
Other Constraints
97106
~~~~~~~~~~~~~~~~~
98107

108+
.. class:: ui-list-three-columns
109+
110+
* :doc:`All</reference/constraints/All>`
99111
* :doc:`AtLeastOneOf</reference/constraints/AtLeastOneOf>`
100-
* :doc:`Sequentially</reference/constraints/Sequentially>`
101-
* :doc:`Compound</reference/constraints/Compound>`
102112
* :doc:`Callback</reference/constraints/Callback>`
103-
* :doc:`Expression</reference/constraints/Expression>`
104-
* :doc:`All</reference/constraints/All>`
105-
* :doc:`Valid</reference/constraints/Valid>`
106113
* :doc:`Cascade</reference/constraints/Cascade>`
107-
* :doc:`Traverse</reference/constraints/Traverse>`
108114
* :doc:`Collection</reference/constraints/Collection>`
115+
* :doc:`Compound</reference/constraints/Compound>`
109116
* :doc:`Count</reference/constraints/Count>`
117+
* :doc:`Expression</reference/constraints/Expression>`
118+
* :doc:`GroupSequence</validation/sequence_provider>`
119+
* :doc:`Sequentially</reference/constraints/Sequentially>`
120+
* :doc:`Traverse</reference/constraints/Traverse>`
121+
* :doc:`Valid</reference/constraints/Valid>`

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp