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

Appearance settings

Commit 80f9208

Browse filesBrowse files
committed
minor #10249 Move range to the comparison constraint types (alexander-schranz)
This PR was squashed before being merged into the 2.8 branch (closes #10249). Discussion ---------- Move range to the comparison constraint types As the [Range](http://symfony.com/doc/3.4/reference/constraints/Range.html) constraint also work for **date** fields the section headline [Number Constraints](http://symfony.com/doc/3.4/reference/constraints.html#number-constraints) is misleading. As I first thought that the Range will work only for numbers then. fixes #10229 Commits ------- 7921ae5 Move range to the comparison constraint types
2 parents fab4a8b + 7921ae5 commit 80f9208
Copy full SHA for 80f9208

File tree

Expand file treeCollapse file tree

2 files changed

+2
-7
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-7
lines changed

‎reference/constraints.rst

Copy file name to clipboardExpand all lines: reference/constraints.rst
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ Validation Constraints Reference
2323
constraints/Ip
2424
constraints/Uuid
2525

26-
constraints/Range
27-
2826
constraints/EqualTo
2927
constraints/NotEqualTo
3028
constraints/IdenticalTo
@@ -33,6 +31,7 @@ Validation Constraints Reference
3331
constraints/LessThanOrEqual
3432
constraints/GreaterThan
3533
constraints/GreaterThanOrEqual
34+
constraints/Range
3635

3736
constraints/Date
3837
constraints/DateTime

‎reference/constraints/map.rst.inc

Copy file name to clipboardExpand all lines: reference/constraints/map.rst.inc
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ String Constraints
2222
* :doc:`Ip </reference/constraints/Ip>`
2323
* :doc:`Uuid</reference/constraints/Uuid>`
2424

25-
Number Constraints
26-
~~~~~~~~~~~~~~~~~~
27-
28-
* :doc:`Range </reference/constraints/Range>`
29-
3025
Comparison Constraints
3126
~~~~~~~~~~~~~~~~~~~~~~
3227

@@ -38,6 +33,7 @@ Comparison Constraints
3833
* :doc:`LessThanOrEqual </reference/constraints/LessThanOrEqual>`
3934
* :doc:`GreaterThan </reference/constraints/GreaterThan>`
4035
* :doc:`GreaterThanOrEqual </reference/constraints/GreaterThanOrEqual>`
36+
* :doc:`Range </reference/constraints/Range>`
4137

4238
Date Constraints
4339
~~~~~~~~~~~~~~~~

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.