Skip to content

Commit

Permalink
Renaming constraint rst files to Is* to preserve edit history
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Stamp authored and weaverryan committed Oct 15, 2015
1 parent b2a9a6c commit 639be4b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reference/constraints.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ Validation Constraints Reference
constraints/NotBlank
constraints/Blank
constraints/NotNull
constraints/Null
constraints/True
constraints/False
constraints/IsNull
constraints/IsTrue
constraints/IsFalse
constraints/Type

constraints/Email
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
False
=====

.. caution::

The ``False`` constraint is deprecated since Symfony 2.7
and will be removed in Symfony 3.0. Use the ``IsFalse`` constraint instead.

Validates that a value is ``false``. Specifically, this checks to see if
the value is exactly ``false``, exactly the integer ``0``, or exactly the
string "``0``".
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Null
====

.. caution::

The ``Null`` constraint is deprecated since Symfony 2.7
and will be removed in Symfony 3.0. Use the ``IsNull`` constraint instead.

Validates that a value is exactly equal to ``null``. To force that a property
is simply blank (blank string or ``null``), see the :doc:`/reference/constraints/Blank`
constraint. To ensure that a property is not null, see :doc:`/reference/constraints/NotNull`.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
True
====

.. caution::

The ``True`` constraint is deprecated since Symfony 2.7
and will be removed in Symfony 3.0. Use the ``IsTrue`` constraint instead.

Validates that a value is ``true``. Specifically, this checks to see if
the value is exactly ``true``, exactly the integer ``1``, or exactly the
string "``1``".
Expand Down

0 comments on commit 639be4b

Please sign in to comment.