Skip to content

Commit ee0c75d

Browse files
committed
minor #12208 Use Symfony 5 examples (OskarStark)
This PR was merged into the master branch. Discussion ---------- Use Symfony 5 examples <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- ffbc179 Use Symfony 5 examples
2 parents 84697f6 + ffbc179 commit ee0c75d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

contributing/documentation/format.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,14 @@ If you are documenting a brand new feature, a change or a deprecation that's
175175
been made in Symfony, you should precede your description of the change with
176176
the corresponding directive and a short description:
177177

178-
For a new feature or a behavior change use the ``.. versionadded:: 4.x``
178+
For a new feature or a behavior change use the ``.. versionadded:: 5.x``
179179
directive:
180180

181181
.. code-block:: rst
182182
183-
.. versionadded:: 4.2
183+
.. versionadded:: 5.2
184184
185-
Named autowiring aliases have been introduced in Symfony 4.2.
185+
... ... ... was introduced in Symfony 5.2.
186186
187187
If you are documenting a behavior change, it may be helpful to *briefly*
188188
describe how the behavior has changed:
@@ -191,23 +191,23 @@ describe how the behavior has changed:
191191
192192
.. versionadded:: 4.2
193193
194-
Support for ICU MessageFormat was introduced in Symfony 4.2. Prior to this,
195-
pluralization was managed by the ``transChoice`` method.
194+
... ... ... was introduced in Symfony 5.2. Prior to this,
195+
... ... ... ... ... ... ... ... .
196196
197-
For a deprecation use the ``.. deprecated:: 4.x`` directive:
197+
For a deprecation use the ``.. deprecated:: 5.x`` directive:
198198

199199
.. code-block:: rst
200200
201-
.. deprecated:: 4.2
201+
.. deprecated:: 5.2
202202
203-
Not passing the root node name to ``TreeBuilder`` was deprecated in Symfony 4.2.
203+
... ... ... was deprecated in Symfony 5.2.
204204
205-
Whenever a new major version of Symfony is released (e.g. 5.0, 6.0, etc),
205+
Whenever a new major version of Symfony is released (e.g. 6.0, 7.0, etc),
206206
a new branch of the documentation is created from the ``master`` branch.
207207
At this point, all the ``versionadded`` and ``deprecated`` tags for Symfony
208208
versions that have a lower major version will be removed. For example, if
209-
Symfony 5.0 were released today, 4.0 to 4.4 ``versionadded`` and ``deprecated``
210-
tags would be removed from the new ``5.0`` branch.
209+
Symfony 6.0 were released today, 5.0 to 5.4 ``versionadded`` and ``deprecated``
210+
tags would be removed from the new ``6.0`` branch.
211211

212212
.. _reStructuredText: http://docutils.sourceforge.net/rst.html
213213
.. _Sphinx: https://www.sphinx-doc.org/

0 commit comments

Comments
 (0)