Skip to content

Remove outdated versionadded 5.* directives #16406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -412,11 +412,6 @@ files directly in the ``config/packages/`` directory.

.. tip::

.. versionadded:: 5.3

The ability to defined different environments in a single file was
introduced in Symfony 5.3.

You can also define options for different environments in a single
configuration file using the special ``when`` keyword:

Expand Down
4 changes: 0 additions & 4 deletions http_client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1688,10 +1688,6 @@ responses dynamically when it's called::
$client = new MockHttpClient();
$client->setResponseFactory($responses);

.. versionadded:: 5.4

The ``setResponseFactory()`` method was introduced in Symfony 5.4.

If you need to test responses with HTTP status codes different than 200,
define the ``http_code`` option::

Expand Down
5 changes: 0 additions & 5 deletions serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,6 @@ configuration:
;
};

.. versionadded:: 5.4

The ability to configure the ``default_context`` option in the
Serializer was introduced in Symfony 5.4.

.. _serializer-using-serialization-groups-annotations:

Using Serialization Groups Annotations
Expand Down
4 changes: 0 additions & 4 deletions service_container.rst
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,6 @@ each time you ask for it.
Limiting Services to a specific Symfony Environment
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. versionadded:: 5.3

The ``#[When]`` attribute was introduced in Symfony 5.3.

If you are using PHP 8.0 or later, you can use the ``#[When]`` PHP
attribute to only register the class as a service in some environments::

Expand Down