Skip to content

Commit a6b13d8

Browse files
committed
clean up 7.4 versionadded directives
1 parent b26fb1b commit a6b13d8

File tree

8 files changed

+0
-38
lines changed

8 files changed

+0
-38
lines changed

components/config/definition.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -743,12 +743,6 @@ of the option name using the second argument of the ``arrayNode()`` method::
743743
->end()
744744
;
745745

746-
.. versionadded:: 7.4
747-
748-
The second argument of ``arrayNode()`` was introduced in Symfony 7.4. In prior
749-
Symfony versions, you had to define the singular variant using the ``fixXmlConfig()``
750-
method on the root node (``$rootNode->fixXmlConfig('extension')``).
751-
752746
This ensures that single XML elements are still turned into an array. So you may have:
753747

754748
.. code-block:: xml

components/runtime.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,6 @@ or a JSON encoded string::
315315

316316
// ...
317317

318-
.. versionadded:: 7.4
319-
320-
The support for JSON contents in ``APP_RUNTIME_OPTIONS`` was introduced in Symfony 7.4.
321-
322318
You can also configure ``extra.runtime`` in ``composer.json``:
323319

324320
.. code-block:: json

console.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,6 @@ longer help text for the command::
167167
}
168168
}
169169

170-
.. versionadded:: 7.4
171-
172-
The feature to define usage examples in the ``#[AsCommand]`` attribute was
173-
introduced in Symfony 7.4.
174-
175170
Additionally, you can extend the :class:`Symfony\\Component\\Console\\Command\\Command` class to
176171
leverage advanced features like lifecycle hooks (e.g. :method:`Symfony\\Component\\Console\\Command\\Command::initialize` and
177172
and :method:`Symfony\\Component\\Console\\Command\\Command::interact`)::

lock.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,3 @@ For example, to select the ``invoice`` lock defined earlier::
330330
// ...
331331
}
332332
}
333-
334-
.. versionadded:: 7.4
335-
336-
Before Symfony 7.4, the target name had to include the ``.lock.factory``
337-
suffix (e.g. ``#[Target('invoice.lock.factory')]``).

object_mapper.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,10 +447,6 @@ With this configuration, ObjectMapper maps each item in the ``products`` array
447447
according to the usual mapping rules. Without ``transform: new MapCollection()``,
448448
the array is left unchanged.
449449

450-
.. versionadded:: 7.4
451-
452-
The ``MapCollection`` transformer was introduced in Symfony 7.4.
453-
454450
Mapping Multiple Targets
455451
------------------------
456452

reference/configuration/framework.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -279,11 +279,6 @@ For example, to select the ``foo_package`` package defined earlier::
279279
}
280280
}
281281

282-
.. versionadded:: 7.4
283-
284-
Before Symfony 7.4, the target name had to include the ``.package``
285-
suffix (e.g. ``#[Target('foo_package.package')]``).
286-
287282
.. _reference-framework-assets-packages:
288283

289284
packages

reference/constraints/Url.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,6 @@ The value of this option can also be an asterisk (``*``) to allow all protocols:
243243
// (e.g. 'https://', 'git+ssh://', 'file://', 'custom://')
244244
protocols: '*'
245245

246-
.. versionadded:: 7.4
247-
248-
Support for ``*`` in the ``protocols`` option was introduced in Symfony 7.4.
249-
250246
``relativeProtocol``
251247
~~~~~~~~~~~~~~~~~~~~
252248

service_container/service_decoration.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,6 @@ but keeps a reference of the old one as ``.inner``:
128128
You can apply multiple ``#[AsDecorator]`` attributes to the same class to
129129
decorate multiple services with it.
130130

131-
.. versionadded:: 7.4
132-
133-
The possibility to allow multiple ``#[AsDecorator]`` attributes was
134-
introduced in Symfony 7.4.
135-
136131
The ``decorates`` option tells the container that the ``App\DecoratingMailer``
137132
service replaces the ``App\Mailer`` service. If you're using the
138133
:ref:`default services.yaml configuration <service-container-services-load-example>`,

0 commit comments

Comments
 (0)