8000 minor #7622 Removed all 3.1 versionadded directives (wouterj) · symfony/symfony-docs@01b10f1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 01b10f1

Browse files
committed
minor #7622 Removed all 3.1 versionadded directives (wouterj)
This PR was merged into the master branch. Discussion ---------- Removed all 3.1 versionadded directives Commits ------- e2cf9d7 Removed all 3.1 versionadded directives
2 parents 17c05f6 + e2cf9d7 commit 01b10f1

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. 8000 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

logging/disable_microsecond_precision.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
How to Disable Microseconds Precision (for a Performance Boost)
22
===============================================================
33

4-
.. versionadded:: 2.11
5-
The ``use_microseconds`` option was introduced in MonologBundle 2.11.
6-
74
Setting the parameter ``use_microseconds`` to ``false`` forces the logger to reduce
85
the precision in the ``datetime`` field of the log messages from microsecond to second,
96
avoiding a call to the ``microtime(true)`` function and the subsequent parsing.

reference/constraints/Callback.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ can do anything, including creating and assigning validation errors.
3131
Configuration
3232
-------------
3333

34-
.. versionadded:: 3.1
35-
The ``$payload`` parameter was introduced in Symfony 3.1.
36-
3734
.. configuration-block::
3835

3936
.. code-block:: php-annotations

reference/constraints/DateTime.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,6 @@ format
8484

8585
**type**: ``string`` **default**: ``Y-m-d H:i:s``
8686

87-
.. versionadded:: 3.1
88-
The ``format`` option was introduced in Symfony 3.1.
89-
9087
This option allows to validate a custom date format. See
9188
:phpmethod:`DateTime::createFromFormat` for formatting options.
9289

reference/constraints/Image.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,6 @@ If this option is false, the image cannot be portrait oriented.
316316
detectCorrupted
317317
~~~~~~~~~~~~~~~
318318

319-
.. versionadded:: 3.1
320-
The ``detectCorrupted`` option was introduced in Symfony 3.1.
321-
322319
**type**: ``boolean`` **default**: ``false``
323320

324321
If this option is true, the image contents are validated to ensure that the
@@ -409,9 +406,6 @@ The error message if the image is portrait oriented and you set `allowPortrait`_
409406
corruptedMessage
410407
~~~~~~~~~~~~~~~~
411408

412-
.. versionadded:: 3.1
413-
The ``corruptedMessage`` option was introduced in Symfony 3.1.
414-
415409
**type**: ``string`` **default**: ``The image file is corrupted.``
416410

417411
The error message when the `detectCorrupted`_ option is enabled and the image

reference/constraints/UniqueEntity.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,6 @@ The message that's displayed when this constraint fails. This message is always
137137
mapped to the first field causing the violation, even when using multiple fields
138138
in the constraint.
139139

140-
.. versionadded:: 3.1
141-
The ability to include the invalid value into the message was introduced
142-
in Symfony 3.1.
143-
144140
Messages can include the ``{{ value }}`` placeholder to display a string
145141
representation of the invalid entity. If the entity doesn't define the
146142
``__toString()`` method, the following generic value will be used: *"Object of

reference/dic_tags.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,6 @@ For details on registering your own commands in the service container, read
367367
controller.argument_value_resolver
368368
----------------------------------
369369

370-
.. versionadded:: 3.1
371-
The ``controller.argument_value_resolver`` tag was introduced in Symfony 3.1.
372-
373370
**Purpose**: Register a value resolver for controller arguments such as ``Request``
374371

375372
Value resolvers implement the

0 commit comments

Comments
 (0)
0