Skip to content

Commit 2de7548

Browse files
committed
Removed versionadded directives of previous versions
1 parent 8a070cc commit 2de7548

Some content is hidden

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

44 files changed

+12
-203
lines changed

bundles/configuration.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ The ``Configuration`` class to handle the sample configuration looks like::
198198
}
199199

200200
.. versionadded:: 4.2
201+
201202
Not passing the root node name to ``TreeBuilder`` was deprecated in Symfony 4.2.
202203

203204
.. seealso::

components/asset.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,9 +375,6 @@ document inside a template::
375375
Local Files and Other Protocols
376376
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
377377

378-
.. versionadded:: 4.2
379-
The support for other protocols was introduced in Symfony 4.2.
380-
381378
In addition to HTTP this component supports other protocols (such as ``file://``
382379
and ``ftp://``). This allows for example to serve local files in order to
383380
improve performance::

components/browser_kit.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@ simulate the link click::
105105

106106
$crawler = $client->clickLink('Go elsewhere...');
107107

108-
.. versionadded:: 4.2
109-
The ``clickLink()`` method was introduced in Symfony 4.2.
110-
111108
If you need the :class:`Symfony\\Component\\DomCrawler\\Link` object that
112109
provides access to the link properties (e.g. ``$link->getMethod()``,
113110
``$link->getUri()``), use this other method:
@@ -151,9 +148,6 @@ field values, etc.) before submitting it::
151148
array('HTTP_ACCEPT_LANGUAGE' => 'es')
152149
);
153150

154-
.. versionadded:: 4.2
155-
The ``submitForm()`` method was introduced in Symfony 4.2.
156-
157151
If you need the :class:`Symfony\\Component\\DomCrawler\\Form` object that
158152
provides access to the form properties (e.g. ``$form->getUri()``,
159153
``$form->getValues()``, ``$form->getFields()``), use this other method::

components/cache/adapters/pdo_doctrine_dbal_adapter.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ third, and forth parameters::
3131
$options = array()
3232
);
3333

34-
.. versionadded:: 4.2
35-
Automatic table creation was introduced in Symfony 4.2.
36-
3734
The table where values are stored is created automatically on the first call to
3835
the :method:`Symfony\\Component\\Cache\\Adapter\\PdoAdapter::save` method.
3936
You can also create this table explicitly by calling the

components/config/definition.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ implements the :class:`Symfony\\Component\\Config\\Definition\\ConfigurationInte
6969
}
7070

7171
.. versionadded:: 4.2
72+
7273
Not passing the root node name to ``TreeBuilder`` was deprecated in Symfony 4.2.
7374

7475
Adding Node Definitions to the Tree

components/console/helpers/table.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,6 @@ You can optionally display titles at the top and the bottom of the table::
8888
| 80-902734-1-6 | And Then There Were None | Agatha Christie |
8989
+---------------+--------- Page 1/2 -------+------------------+
9090
91-
.. versionadded:: 4.2
92-
The ``setHeaderTitle()`` and ``setFooterTitle()`` methods were introduced
93-
in Symfony 4.2.
94-
9591
By default the width of the columns is calculated automatically based on their
9692
contents. Use the :method:`Symfony\\Component\\Console\\Helper\\Table::setColumnWidths`
9793
method to set the column widths explicitly::
@@ -154,9 +150,6 @@ The output of this command will be:
154150
| (the rest of rows...) |
155151
+-------+------------+--------------------------------+
156152
157-
.. versionadded:: 4.2
158-
The ``setColumnMaxWidth()`` method was introduced in Symfony 4.2.
159-
160153
The table style can be changed to any built-in styles via
161154
:method:`Symfony\\Component\\Console\\Helper\\Table::setStyle`::
162155

components/dom_crawler.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,6 @@ Get all the direct child nodes matching a CSS selector::
186186

187187
$crawler->filter('body')->children('p.lorem');
188188

189-
.. versionadded:: 4.2
190-
The optional selector in ``children($selector)`` method was introduced in Symfony 4.2.
191-
192189
.. note::
193190

194191
All the traversal methods return a new :class:`Symfony\\Component\\DomCrawler\\Crawler`

components/dotenv.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ The ``load()`` method never overwrites existing environment variables. Use the
6464
// ...
6565
$dotenv->overload(__DIR__.'/.env');
6666

67-
.. versionadded:: 4.2
68-
The ``Dotenv::overload()`` method was introduced in Symfony 4.2.
69-
7067
You should never store a ``.env`` file in your code repository as it might
7168
contain sensitive information; create a ``.env.dist`` file with sensible
7269
defaults instead.

components/finder.rst

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,6 @@ Sort the result by name or by type (directories first, then files)::
175175
as its argument to use PHP's `natural sort order`_ algorithm instead (e.g.
176176
``file1.txt``, ``file2.txt``, ``file10.txt``).
177177

178-
.. versionadded:: 4.2
179-
The option to use the natural sort order was introduced in Symfony 4.2.
180-
181178
Sort the files and directories by the last accessed, changed or modified time::
182179

183180
$finder->sortByAccessedTime();
@@ -197,9 +194,6 @@ You can reverse any sorting by using the ``reverseSorting()`` method::
197194
// results will be sorted "Z to A" instead of the default "A to Z"
198195
$finder->sortByName()->reverseSorting();
199196

200-
.. versionadded:: 4.2
201-
The ``reverseSorting()`` method was introduced in Symfony 4.2.
202-
203197
.. note::
204198

205199
Notice that the ``sort*`` methods need to get all matching elements to do
@@ -236,10 +230,6 @@ Multiple filenames can be excluded by chaining calls or passing an array::
236230
// same as above
237231
$finder->files()->notName(array('*.rb', '*.py'));
238232

239-
.. versionadded:: 4.2
240-
Support for passing arrays to ``name()`` and ``notName()`` was introduced
241-
in Symfony 4.2
242-
243233
File Contents
244234
~~~~~~~~~~~~~
245235

@@ -282,9 +272,6 @@ Multiple paths can be defined by chaining calls or passing an array::
282272
// same as above
283273
$finder->path(array('data', 'foo/bar'));
284274

285-
.. versionadded:: 4.2
286-
Support for passing arrays to ``path()`` was introduced in Symfony 4.2
287-
288275
Internally, strings are converted into regular expressions by escaping slashes
289276
and adding delimiters:
290277

@@ -323,9 +310,6 @@ Restrict by a size range by chaining calls or passing an array::
323310
// same as above
324311
$finder->files()->size(array('>= 1K', '<= 2K'));
325312

326-
.. versionadded:: 4.2
327-
Support for passing arrays to ``size()`` was introduced in Symfony 4.2
328-
329313
The comparison operator can be any of the following: ``>``, ``>=``, ``<``, ``<=``,
330314
``==``, ``!=``.
331315

@@ -348,9 +332,6 @@ Restrict by a date range by chaining calls or passing an array::
348332
// same as above
349333
$finder->date(array('>= 2018-01-01', '<= 2018-12-31'));
350334

351-
.. versionadded:: 4.2
352-
Support for passing arrays to ``date()`` was introduced in Symfony 4.2
353-
354335
The comparison operator can be any of the following: ``>``, ``>=``, ``<``, ``<=``,
355336
``==``. You can also use ``since`` or ``after`` as an alias for ``>``, and
356337
``until`` or ``before`` as an alias for ``<``.
@@ -373,9 +354,6 @@ Restrict by a depth range by chaining calls or passing an array::
373354
// same as above
374355
$finder->depth(array('> 2', '< 5'));
375356

376-
.. versionadded:: 4.2
377-
Support for passing arrays to ``depth()`` was introduced in Symfony 4.2
378-
379357
Custom Filtering
380358
~~~~~~~~~~~~~~~~
381359

components/form.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -758,9 +758,6 @@ method to access the list of errors. It returns a
758758
Clearing Form Errors
759759
~~~~~~~~~~~~~~~~~~~~
760760

761-
.. versionadded:: 4.2
762-
The ``clearErrors()`` method was introduced in Symfony 4.2.
763-
764761
Any errors can be manually cleared using the
765762
:method:`Symfony\\Component\\Form\\ClearableErrorsInterface::clearErrors`
766763
method. This is useful when you'd like to validate the form without showing

0 commit comments

Comments
 (0)