Skip to content

Commit 64062ed

Browse files
committed
Removed the versionadded directives for previous versions
1 parent 9b87127 commit 64062ed

Some content is hidden

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

41 files changed

+9
-232
lines changed

components/browser_kit.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ make AJAX requests::
9191
// the required HTTP_X_REQUESTED_WITH header is added automatically
9292
$crawler = $client->xmlHttpRequest('GET', '/');
9393

94-
.. versionadded:: 4.1
95-
The ``xmlHttpRequest()`` method was introduced in Symfony 4.1.
96-
9794
Clicking Links
9895
~~~~~~~~~~~~~~
9996

components/cache/cache_pools.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,6 @@ when all items are successfully deleted)::
151151
# clears the "cache.validation" and "cache.app" pool
152152
$ php bin/console cache:pool:clear cache.validation cache.app
153153
154-
.. versionadded:: 4.1
155-
156-
The ``cache:pool:delete`` command was introduced in Symfony 4.1.
157-
158154
.. _component-cache-cache-pool-prune:
159155

160156
Pruning Cache Items

components/config/definition.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -791,9 +791,6 @@ for the node, instead of the node's original value.
791791
Configuring the Node Path Separator
792792
-----------------------------------
793793

794-
.. versionadded:: 4.1
795-
The option to configure the node path separator was introduced in Symfony 4.1.
796-
797794
Consider the following config builder example::
798795

799796
$treeBuilder = new TreeBuilder('database');

components/console/helpers/progressbar.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ value and then call the ``setMaxSteps()`` method to update it as needed::
6464
// a complex task has just been created: increase the progressbar to 200 units
6565
$progressBar->setMaxSteps(200);
6666

67-
.. versionadded:: 4.1
68-
The ``setMaxSteps()`` method was introduced in Symfony 4.1.
69-
7067
Another solution is to omit the steps argument when creating the
7168
:class:`Symfony\\Component\\Console\\Helper\\ProgressBar` instance::
7269

@@ -348,10 +345,6 @@ of the custom placeholders::
348345
Displaying Multiple Progress Bars
349346
---------------------------------
350347

351-
.. versionadded:: 4.1
352-
The feature to display multiple progress bars using output sections was
353-
introduced in Symfony 4.1.
354-
355348
When using :ref:`Console output sections <console-output-sections>` it's
356349
possible to display multiple progress bars at the same time and change their
357350
progress independently::

components/console/helpers/table.rst

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,6 @@ which outputs:
213213
│ 80-902734-1-6 │ And Then There Were None │ Agatha Christie │
214214
└───────────────┴──────────────────────────┴──────────────────┘
215215
216-
.. versionadded:: 4.1
217-
The ``box`` style was introduced in Symfony 4.1.
218-
219216
You can also set the style to ``box-double``::
220217

221218
$table->setStyle('box-double');
@@ -234,9 +231,6 @@ which outputs:
234231
║ 80-902734-1-6 │ And Then There Were None │ Agatha Christie ║
235232
╚═══════════════╧══════════════════════════╧══════════════════╝
236233
237-
.. versionadded:: 4.1
238-
The ``box-double`` style was introduced in Symfony 4.1.
239-
240234
If the built-in styles do not fit your need, define your own::
241235

242236
use Symfony\Component\Console\Helper\TableStyle;
@@ -266,17 +260,6 @@ Here is a full list of things you can customize:
266260
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setBorderFormat`
267261
* :method:`Symfony\\Component\\Console\\Helper\\TableStyle::setPadType`
268262

269-
.. versionadded:: 4.1
270-
The ``setDefaultCrossingChars`` method was introduced in Symfony 4.1.
271-
It replaces the deprecated ``setHorizontalBorderChar`` method.
272-
273-
Also, the ``setVerticalBorderChars`` method was introduced. Use this instead
274-
of the deprecated ``setVerticalBorderChar`` method.
275-
276-
The ``setCrossingChars()`` and ``setDefaultCrossingChar()`` methods are also
277-
new. Previously you could only use the now deprecated ``setCrossingChar()``
278-
method.
279-
280263
.. tip::
281264

282265
You can also register a style globally::
@@ -382,9 +365,6 @@ you to create any table layout you may wish.
382365
Modifying Rendered Tables
383366
-------------------------
384367

385-
.. versionadded:: 4.1
386-
The feature to modify rendered tables was introduced in Symfony 4.1.
387-
388368
The ``render()`` method requires passing the entire table contents. However,
389369
sometimes that information is not available beforehand because it's generated
390370
dynamically. In those cases, use the

components/http_foundation.rst

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -242,18 +242,9 @@ the
242242
method tells you if the request contains a session which was started in one of
243243
the previous requests.
244244

245-
.. versionadded:: 4.1
246-
Using :method:`Symfony\\Component\\HttpFoundation\\Request::getSession`
247-
when no session has been set was deprecated in Symfony 4.1. It will throw
248-
an exception in Symfony 5.0 when the session is ``null``. Check for an existing session
249-
first by calling :method:`Symfony\\Component\\HttpFoundation\\Request::hasSession`.
250-
251245
Processing HTTP Headers
252246
~~~~~~~~~~~~~~~~~~~~~~~
253247

254-
.. versionadded:: 4.1
255-
The ``HeaderUtils`` class was introduced in Symfony 4.1.
256-
257248
Processing HTTP headers is not a trivial task because of the escaping and white
258249
space handling of their contents. Symfony provides a
259250
:class:`Symfony\\Component\\HttpFoundation\\HeaderUtils` class that abstracts
@@ -325,10 +316,6 @@ are also supported::
325316
$quality = $accept->get('text/xml')->getQuality(); // $quality = 0.8
326317
$quality = $accept->get('application/xml')->getQuality(); // $quality = 0.3
327318

328-
.. versionadded:: 4.1
329-
The support of default values in the ``Accept-*`` headers was introduced in
330-
Symfony 4.1.
331-
332319
Accessing other Data
333320
~~~~~~~~~~~~~~~~~~~~
334321

components/http_foundation/session_configuration.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ Example usage::
9191
Migrating Between Save Handlers
9292
-------------------------------
9393

94-
.. versionadded:: 4.1
95-
  The ``MigratingSessionHandler`` class was introduced in Symfony 4.1.
96-
9794
If your application changes the way sessions are stored, use the
9895
:class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\MigratingSessionHandler`
9996
to migrate between old and new save handlers without losing session data.

components/ldap.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,5 @@ operation type.
168168

169169
.. versionadded:: 4.2
170170
The ``applyOperations()`` method was introduced in Symfony 4.2.
171-
172-
.. versionadded:: 4.1
173-
The ``addAttributeValues()`` and ``removeAttributeValues()`` methods
174-
were introduced in Symfony 4.1.
175171

176172
.. _Packagist: https://packagist.org/packages/symfony/ldap

components/lock.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,6 @@ to reset the TTL to its original value::
157157
// refresh the lock for 600 seconds (next refresh() call will be 30 seconds again)
158158
$lock->refresh(600);
159159

160-
.. versionadded:: 4.1
161-
The feature to pass a custom TTL as an argument of the ``refresh()``
162-
method was introduced in Symfony 4.1.
163-
164160
Available Stores
165161
----------------
166162

components/process.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,6 @@ whether `TTY`_ is supported on the current operating system::
461461

462462
$process = (new Process())->setTty(Process::isTtySupported());
463463

464-
.. versionadded:: 4.1
465-
The ``isTtySupported()`` method was introduced in Symfony 4.1.
466-
467464
.. _`Symfony Issue#5759`: https://github.com/symfony/symfony/issues/5759
468465
.. _`PHP Bug#39992`: https://bugs.php.net/bug.php?id=39992
469466
.. _`exec`: https://en.wikipedia.org/wiki/Exec_(operating_system)

0 commit comments

Comments
 (0)