Skip to content

Commit e2cf9d7

Browse files
committed
Removed all 3.1 versionadded directives
1 parent 17c05f6 commit e2cf9d7

16 files changed

+0
-65
lines changed

components/cache.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ The Cache Component
1313
It is designed to have a low overhead and it ships with ready to use adapters
1414
for the most common caching backends.
1515

16-
.. versionadded:: 3.1
17-
The Cache component was introduced in Symfony 3.1.
18-
1916
.. versionadded:: 3.3
2017
The PSR-16 "Simple Cache" implementation was introduced in Symfony 3.3.
2118

components/console/helpers/formatterhelper.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ your own. See :doc:`/console/coloring`.
6767
Print Truncated Messages
6868
------------------------
6969

70-
.. versionadded:: 3.1
71-
The ``truncate`` method was introduced in Symfony 3.1.
72-
7370
Sometimes you want to print a message truncated to an explicit character length.
7471
This is possible with the
7572
:method:`Symfony\\Component\\Console\\Helper\\FormatterHelper::truncate` method.

components/console/helpers/table.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ You can add a table separator anywhere in the output by passing an instance of
6666
| 80-902734-1-6 | And Then There Were None | Agatha Christie |
6767
+---------------+--------------------------+------------------+
6868
69-
.. versionadded:: 3.1
70-
The ``setColumnWidths()`` and ``setColumnWidth()`` methods were introduced
71-
in Symfony 3.1.
72-
7369
By default the width of the columns is calculated automatically based on their
7470
contents. Use the :method:`Symfony\\Component\\Console\\Helper\\Table::setColumnWidths`
7571
method to set the column widths explicitly::

components/phpunit_bridge.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,6 @@ worlds.
142142
Disabling the Deprecation Helper
143143
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
144144

145-
.. versionadded:: 3.1
146-
The ability to disable the deprecation helper was introduced in the 3.1
147-
version of this component.
148-
149145
Set the ``SYMFONY_DEPRECATIONS_HELPER`` environment variable to ``disabled`` to
150146
completely disable the deprecation helper. This is useful to make use of the
151147
rest of features provided by this component without getting errors or messages
@@ -257,10 +253,6 @@ And that's all!
257253
DNS-sensitive Tests
258254
-------------------
259255

260-
.. versionadded:: 3.1
261-
The mocks for DNS related functions were introduced in the 3.1 version
262-
of this component.
263-
264256
Tests that make network connections, for example to check the validity of a DNS
265257
record, can be slow to execute and unreliable due to the conditions of the
266258
network. For that reason, this component also provides mocks for these PHP

components/process.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ the contents of the output and
5050
:method:`Symfony\\Component\\Process\\Process::clearErrorOutput` clears
5151
the contents of the error output.
5252

53-
.. versionadded:: 3.1
54-
Support for streaming the output of a process was introduced in
55-
Symfony 3.1.
56-
5753
You can also use the :class:`Symfony\\Component\\Process\\Process` class with the
5854
foreach construct to get the output while it is generated. By default, the loop waits
5955
for new output before going to the next iteration::
@@ -181,10 +177,6 @@ in the output and its type::
181177
Streaming to the Standard Input of a Process
182178
--------------------------------------------
183179

184-
.. versionadded:: 3.1
185-
Support for streaming the input of a process was introduced in
186-
Symfony 3.1.
187-
188180
Before a process is started, you can specify its standard input using either the
189181
:method:`Symfony\\Component\\Process\\Process::setInput` method or the 4th argument
190182
of the constructor. The provided input can be a string, a stream resource or a

components/serializer.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -563,10 +563,6 @@ There are several types of normalizers available:
563563
This normalizer converts :phpclass:`SplFileInfo` objects into a data URI
564564
string (``data:...``) such that files can be embedded into serialized data.
565565

566-
.. versionadded:: 3.1
567-
The ``JsonSerializableNormalizer``, ``DateTimeNormalizer`` and
568-
``DataUriNormalizer`` normalizers were added in Symfony 3.1
569-
570566
Encoders
571567
--------
572568

components/yaml.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,6 @@ underscores you can include or the way you group contents.
229229
Advanced Usage: Flags
230230
---------------------
231231

232-
.. versionadded:: 3.1
233-
Flags were introduced in Symfony 3.1 and replaced the earlier boolean
234-
arguments.
235-
236232
.. _objects-for-mappings:
237233

238234
Object Parsing and Dumping

controller.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -542,9 +542,6 @@ There are special classes that make certain kinds of responses easier:
542542
JSON Helper
543543
~~~~~~~~~~~
544544

545-
.. versionadded:: 3.1
546-
The ``json()`` helper was introduced in Symfony 3.1.
547-
548545
To return JSON from a controller, use the ``json()`` helper method on the base controller.
549546
This returns a special ``JsonResponse`` object that encodes the data automatically::
550547

controller/argument_value_resolver.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
Extending Action Argument Resolving
55
===================================
66

7-
.. versionadded:: 3.1
8-
The ``ArgumentResolver`` and value resolvers were introduced in Symfony 3.1.
9-
107
In the :doc:`controller guide </controller>`, you've learned that you can get the
118
:class:`Symfony\\Component\\HttpFoundation\\Request` object via an argument in
129
your controller. This argument has to be type-hinted by the ``Request`` class

frontend/custom_version_strategy.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
How to Use a Custom Version Strategy for Assets
55
===============================================
66

7-
.. versionadded:: 3.1
8-
Support for custom version strategies was introduced in Symfony 3.1.
9-
107
Asset versioning is a technique that improves the performance of web
118
applications by adding a version identifier to the URL of the static assets
129
(CSS, JavaScript, images, etc.) When the content of the asset changes, its

0 commit comments

Comments
 (0)