Skip to content

Commit 8b2691a

Browse files
committed
minor #6624 remove versionadded directive for 2.x features (xabbuh)
This PR was merged into the 3.0 branch. Discussion ---------- remove versionadded directive for 2.x features Commits ------- 96dbba8 remove versionadded directive for 2.x features
2 parents ad76b72 + 96dbba8 commit 8b2691a

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

components/yaml/introduction.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,6 @@ error occurred:
130130
Objects for Mappings
131131
....................
132132

133-
.. versionadded:: 2.7
134-
Support for parsing mappings as objects was introduced in Symfony 2.7.
135-
136133
Yaml :ref:`mappings <yaml-format-collections>` are basically associative
137134
arrays. You can instruct the parser to return mappings as objects (i.e.
138135
``\stdClass`` instances) by setting the fourth argument to ``true``::

reference/forms/types/entity.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,6 @@ Overridden Options
211211
choice_name
212212
~~~~~~~~~~~
213213

214-
.. versionadded:: 2.7
215-
The ``choice_name`` option was introduced in Symfony 2.7.
216-
217214
**type**: ``string``, ``callable`` or :class:`Symfony\\Component\\PropertyAccess\\PropertyPath` **default**: id
218215

219216
By default the name of each field is the id of the entity, if it can be read
@@ -223,9 +220,6 @@ fall back to using increasing integers.
223220
choice_value
224221
~~~~~~~~~~~~
225222

226-
.. versionadded:: 2.7
227-
The ``choice_value`` option was introduced in Symfony 2.7.
228-
229223
**type**: ``string``, ``callable`` or :class:`Symfony\\Component\\PropertyAccess\\PropertyPath` **default**: id
230224

231225
As for the ``choice_name`` option, ``choice_value`` uses the id by default.

0 commit comments

Comments
 (0)