Skip to content

Commit

Permalink
[#6597] some tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jun 30, 2016
1 parent 56122bc commit 04edf66
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 13 deletions.
4 changes: 2 additions & 2 deletions reference/constraints/GreaterThan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ Basic Usage
-----------

The following constraints ensure that:
- the number of ``siblings`` of a ``Person`` is greater than ``5``
- the ``age`` of a ``Person`` class is greater than ``18``

* the number of ``siblings`` of a ``Person`` is greater than ``5``
* the ``age`` of a ``Person`` class is greater than ``18``

.. configuration-block::

Expand Down
5 changes: 3 additions & 2 deletions reference/constraints/GreaterThanOrEqual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ Basic Usage
-----------

The following constraints ensure that:
- the number of ``siblings`` of a ``Person`` is greater than or equal to ``5``
- the ``age`` of a ``Person`` class is greater than or equal to ``18``

* the number of ``siblings`` of a ``Person`` is greater than or equal to ``5``
* the ``age`` of a ``Person`` class is greater than or equal to ``18``

.. configuration-block::

Expand Down
5 changes: 3 additions & 2 deletions reference/constraints/IdenticalTo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ Basic Usage
-----------

The following constraints ensure that:
- ``firstName`` of ``Person` class is equal to ``Mary`` *and* is a string
- ``age`` is equal to``20`` *and* is of type integer

* ``firstName`` of ``Person` class is equal to ``Mary`` *and* is a string
* ``age`` is equal to``20`` *and* is of type integer

.. configuration-block::

Expand Down
5 changes: 3 additions & 2 deletions reference/constraints/LessThan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ Basic Usage
-----------

The following constraints ensure that:
- the number of ``siblings`` of a ``Person`` is less than or equal to ``5``
- ``age`` is less than``80``

* the number of ``siblings`` of a ``Person`` is less than or equal to ``5``
* ``age`` is less than``80``

.. configuration-block::

Expand Down
5 changes: 3 additions & 2 deletions reference/constraints/LessThanOrEqual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ Basic Usage
-----------

The following constraints ensure that:
- the number of ``siblings`` of a ``Person`` is less than or equal to ``5``
- the ``age`` is less than or equal to ``80``

* the number of ``siblings`` of a ``Person`` is less than or equal to ``5``
* the ``age`` is less than or equal to ``80``

.. configuration-block::

Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/NotEqualTo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ options. To force that a value is equal, see

Basic Usage
-----------

If you want to ensure that the ``firstName`` of a ``Person`` is not equal to
``Mary`` and that the ``age`` of a ``Person`` class is not ``15``, you could do
the following:


.. configuration-block::

.. code-block:: php-annotations
Expand Down
5 changes: 3 additions & 2 deletions reference/constraints/NotIdenticalTo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ Basic Usage
-----------

The following constraints ensure that:
- ``firstName`` of ``Person`` is not equal to ``Mary`` *or* not of the same type
- ``age`` of ``Person`` class is not equal to ``15`` *or* not of the same type

* ``firstName`` of ``Person`` is not equal to ``Mary`` *or* not of the same type
* ``age`` of ``Person`` class is not equal to ``15`` *or* not of the same type

.. configuration-block::

Expand Down

0 comments on commit 04edf66

Please sign in to comment.