Skip to content

Commit 6aa61a1

Browse files
committed
Remove 5.x versionadded directives
1 parent fe38f8b commit 6aa61a1

File tree

154 files changed

+63
-1560
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+63
-1560
lines changed

best_practices.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ Use the ``auto`` Password Hasher
368368

369369
The :ref:`auto password hasher <reference-security-encoder-auto>` automatically
370370
selects the best possible encoder/hasher depending on your PHP installation.
371-
Starting from Symfony 5.3, the default auto hasher is ``bcrypt``.
371+
Currently, the default auto hasher is ``bcrypt``.
372372

373373
Use Voters to Implement Fine-grained Security Restrictions
374374
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

cache.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,6 @@ The Cache component comes with a series of adapters pre-configured:
107107
* :doc:`cache.adapter.redis </components/cache/adapters/redis_adapter>`
108108
* :ref:`cache.adapter.redis_tag_aware <redis-tag-aware-adapter>` (Redis adapter optimized to work with tags)
109109

110-
.. versionadded:: 5.2
111-
112-
``cache.adapter.redis_tag_aware`` has been introduced in Symfony 5.2.
113-
114110
Some of these adapters could be configured via shortcuts. Using these shortcuts
115111
will create pools with service IDs that follow the pattern ``cache.[type]``.
116112

@@ -725,11 +721,6 @@ Clear all caches everywhere:
725721
Encrypting the Cache
726722
--------------------
727723

728-
.. versionadded:: 5.1
729-
730-
The :class:`Symfony\\Component\\Cache\\Marshaller\\SodiumMarshaller`
731-
class was introduced in Symfony 5.1.
732-
733724
To encrypt the cache using ``libsodium``, you can use the
734725
:class:`Symfony\\Component\\Cache\\Marshaller\\SodiumMarshaller`.
735726

components/asset.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,6 @@ with the :doc:`HttpClient component </http_client>`::
179179
$manifestUrl = 'https://cdn.example.com/rev-manifest.json';
180180
$package = new Package(new RemoteJsonManifestVersionStrategy($manifestUrl, $httpClient));
181181

182-
.. versionadded:: 5.1
183-
184-
The ``RemoteJsonManifestVersionStrategy`` was introduced in Symfony 5.1.
185-
186182
Custom Version Strategies
187183
.........................
188184

components/browser_kit.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,6 @@ convert the request parameters into a JSON string and set the needed HTTP header
9090
// this encodes parameters as JSON and sets the required CONTENT_TYPE and HTTP_ACCEPT headers
9191
$crawler = $client->jsonRequest('GET', '/', ['some_parameter' => 'some_value']);
9292

93-
.. versionadded:: 5.3
94-
95-
The ``jsonRequest()`` method was introduced in Symfony 5.3.
96-
9793
The :method:`Symfony\\Component\\BrowserKit\\AbstractBrowser::xmlHttpRequest` method,
9894
which defines the same arguments as the ``request()`` method, is a shortcut to
9995
make AJAX requests::
@@ -178,10 +174,6 @@ provides access to the form properties (e.g. ``$form->getUri()``,
178174
Custom Header Handling
179175
~~~~~~~~~~~~~~~~~~~~~~
180176

181-
.. versionadded:: 5.2
182-
183-
The ``getHeaders()`` method was introduced in Symfony 5.2.
184-
185177
The optional HTTP headers passed to the ``request()`` method follows the FastCGI
186178
request format (uppercase, underscores instead of dashes and prefixed with ``HTTP_``).
187179
Before saving those headers to the request, they are lower-cased, with ``HTTP_``

components/cache/adapters/array_cache_adapter.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,3 @@ method::
3030
// is reached, cache follows the LRU model (least recently used items are deleted)
3131
$maxItems = 0
3232
);
33-
34-
.. versionadded:: 5.1
35-
36-
The ``maxLifetime`` and ``maxItems`` options were introduced in Symfony 5.1.

components/cache/adapters/couchbasebucket_adapter.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
Couchbase Cache Adapter
88
=======================
99

10-
.. versionadded:: 5.1
11-
12-
The CouchbaseBucketAdapter was introduced in Symfony 5.1.
13-
1410
This adapter stores the values in-memory using one (or more) `Couchbase server`_
1511
instances. Unlike the :ref:`APCu adapter <apcu-adapter>`, and similarly to the
1612
:ref:`Memcached adapter <memcached-adapter>`, it is not limited to the current server's

components/config/definition.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -435,13 +435,6 @@ The following example shows these methods in practice::
435435
Deprecating the Option
436436
----------------------
437437

438-
.. versionadded:: 5.1
439-
440-
The signature of the ``setDeprecated()`` method changed from
441-
``setDeprecated(?string $message)`` to
442-
``setDeprecated(string $package, string $version, ?string $message)``
443-
in Symfony 5.1.
444-
445438
You can deprecate options using the
446439
:method:`Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::setDeprecated`
447440
method::

components/console/helpers/cursor.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
Cursor Helper
55
=============
66

7-
.. versionadded:: 5.1
8-
9-
The :class:`Symfony\\Component\\Console\\Cursor` class was introduced
10-
in Symfony 5.1.
11-
127
The :class:`Symfony\\Component\\Console\\Cursor` allows you to change the
138
cursor position in a console command. This allows you to write on any position
149
of the output:

components/console/helpers/questionhelper.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,6 @@ from a predefined list::
117117
// ... do something with the color
118118
}
119119

120-
.. versionadded:: 5.2
121-
122-
Support for using PHP objects as choice values was introduced in Symfony 5.2.
123-
124120
The option which should be selected by default is provided with the third
125121
argument of the constructor. The default is ``null``, which means that no
126122
option is the default one.
@@ -242,11 +238,6 @@ You can also specify if you want to not trim the answer by setting it directly w
242238
Accept Multiline Answers
243239
~~~~~~~~~~~~~~~~~~~~~~~~
244240

245-
.. versionadded:: 5.2
246-
247-
The ``setMultiline()`` and ``isMultiline()`` methods were introduced in
248-
Symfony 5.2.
249-
250241
By default, the question helper stops reading user input when it receives a newline
251242
character (i.e., when the user hits ``ENTER`` once). However, you may specify that
252243
the response to a question should allow multiline answers by passing ``true`` to

components/console/helpers/table.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,6 @@ Here is a full list of things you can customize:
265265

266266
This method can also be used to override a built-in style.
267267

268-
.. versionadded:: 5.2
269-
270-
The option to style table cells was introduced in Symfony 5.2.
271-
272268
In addition to the built-in table styles, you can also apply different styles
273269
to each table cell via :class:`Symfony\\Component\\Console\\Helper\\TableCellStyle`::
274270

0 commit comments

Comments
 (0)