From 6e8d0cbe5487e8c08d416042da6a8b995d9334ad Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Mon, 1 Sep 2025 15:29:16 +0200 Subject: [PATCH] clean up 7.4 versionadded directives --- components/intl.rst | 4 ---- routing.rst | 4 ---- security.rst | 9 --------- serializer/streaming_json.rst | 4 ---- 4 files changed, 21 deletions(-) diff --git a/components/intl.rst b/components/intl.rst index 4f70963fc07..0c30506c79b 100644 --- a/components/intl.rst +++ b/components/intl.rst @@ -208,10 +208,6 @@ numeric country codes:: the Symfony Intl component will also recognize user-assigned codes: ``XK``, ``XKK``, and ``983``. This allows applications to handle these codes, which is useful for supporting regions that need to use them. -.. versionadded:: 7.4 - - Support for ``SYMFONY_INTL_WITH_USER_ASSIGNED`` was introduced in Symfony 7.4. - Locales ~~~~~~~ diff --git a/routing.rst b/routing.rst index f42a310099f..aedca495e2e 100644 --- a/routing.rst +++ b/routing.rst @@ -319,10 +319,6 @@ given value: } }; -.. versionadded:: 7.4 - - The ability to pass an array of environments to the ``env`` argument was introduced in Symfony 7.4. - .. _routing-matching-expressions: Matching Expressions diff --git a/security.rst b/security.rst index d7e2d36f08d..9a1d41aef35 100644 --- a/security.rst +++ b/security.rst @@ -2532,11 +2532,6 @@ You can also extend the ``IsGranted`` attribute to create meaningful shortcuts:: } } -.. versionadded:: 7.4 - - The :class:`Symfony\\Component\\Security\\Http\\Attribute\\IsGranted` - attribute is extendable since Symfony 7.4. - You can restrict access validation to specific HTTP methods by using the ``methods`` argument:: @@ -2556,10 +2551,6 @@ by using the ``methods`` argument:: } } -.. versionadded:: 7.4 - - The ``methods`` argument was introduced in Symfony 7.4. - .. _security-template: Access Control in Templates diff --git a/serializer/streaming_json.rst b/serializer/streaming_json.rst index ca420c8896a..aa17b7ebfc7 100644 --- a/serializer/streaming_json.rst +++ b/serializer/streaming_json.rst @@ -542,10 +542,6 @@ When callables are not enough, you can use a service implementing the option called ``_current_object`` which gives access to the object holding the current property (or ``null`` if there's none). - .. versionadded:: 7.4 - - The ``_current_object`` option was introduced in Symfony 7.4. - To use this transformer in a class, configure the ``#[ValueTransformer]`` attribute:: // src/Dto/Dog.php