diff --git a/components/cache.rst b/components/cache.rst index e36b7177692..4b940850853 100644 --- a/components/cache.rst +++ b/components/cache.rst @@ -13,9 +13,6 @@ The Cache Component It is designed to have a low overhead and it ships with ready to use adapters for the most common caching backends. -.. versionadded:: 3.1 - The Cache component was introduced in Symfony 3.1. - .. versionadded:: 3.3 The PSR-16 "Simple Cache" implementation was introduced in Symfony 3.3. diff --git a/components/console/helpers/formatterhelper.rst b/components/console/helpers/formatterhelper.rst index c8a7856007f..98f2ad87f93 100644 --- a/components/console/helpers/formatterhelper.rst +++ b/components/console/helpers/formatterhelper.rst @@ -67,9 +67,6 @@ your own. See :doc:`/console/coloring`. Print Truncated Messages ------------------------ -.. versionadded:: 3.1 - The ``truncate`` method was introduced in Symfony 3.1. - Sometimes you want to print a message truncated to an explicit character length. This is possible with the :method:`Symfony\\Component\\Console\\Helper\\FormatterHelper::truncate` method. diff --git a/components/console/helpers/table.rst b/components/console/helpers/table.rst index 036d10f7181..b874bd984df 100644 --- a/components/console/helpers/table.rst +++ b/components/console/helpers/table.rst @@ -66,10 +66,6 @@ You can add a table separator anywhere in the output by passing an instance of | 80-902734-1-6 | And Then There Were None | Agatha Christie | +---------------+--------------------------+------------------+ -.. versionadded:: 3.1 - The ``setColumnWidths()`` and ``setColumnWidth()`` methods were introduced - in Symfony 3.1. - By default the width of the columns is calculated automatically based on their contents. Use the :method:`Symfony\\Component\\Console\\Helper\\Table::setColumnWidths` method to set the column widths explicitly:: diff --git a/components/phpunit_bridge.rst b/components/phpunit_bridge.rst index 1ee8d6fb056..bae9875d70f 100644 --- a/components/phpunit_bridge.rst +++ b/components/phpunit_bridge.rst @@ -142,10 +142,6 @@ worlds. Disabling the Deprecation Helper ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.. versionadded:: 3.1 - The ability to disable the deprecation helper was introduced in the 3.1 - version of this component. - Set the ``SYMFONY_DEPRECATIONS_HELPER`` environment variable to ``disabled`` to completely disable the deprecation helper. This is useful to make use of the rest of features provided by this component without getting errors or messages @@ -257,10 +253,6 @@ And that's all! DNS-sensitive Tests ------------------- -.. versionadded:: 3.1 - The mocks for DNS related functions were introduced in the 3.1 version - of this component. - Tests that make network connections, for example to check the validity of a DNS record, can be slow to execute and unreliable due to the conditions of the network. For that reason, this component also provides mocks for these PHP diff --git a/components/process.rst b/components/process.rst index 2b9f0b2adf2..4776be4061a 100644 --- a/components/process.rst +++ b/components/process.rst @@ -50,10 +50,6 @@ the contents of the output and :method:`Symfony\\Component\\Process\\Process::clearErrorOutput` clears the contents of the error output. -.. versionadded:: 3.1 - Support for streaming the output of a process was introduced in - Symfony 3.1. - You can also use the :class:`Symfony\\Component\\Process\\Process` class with the foreach construct to get the output while it is generated. By default, the loop waits for new output before going to the next iteration:: @@ -181,10 +177,6 @@ in the output and its type:: Streaming to the Standard Input of a Process -------------------------------------------- -.. versionadded:: 3.1 - Support for streaming the input of a process was introduced in - Symfony 3.1. - Before a process is started, you can specify its standard input using either the :method:`Symfony\\Component\\Process\\Process::setInput` method or the 4th argument of the constructor. The provided input can be a string, a stream resource or a diff --git a/components/serializer.rst b/components/serializer.rst index 0ae72c6556b..505a6570c1f 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -563,10 +563,6 @@ There are several types of normalizers available: This normalizer converts :phpclass:`SplFileInfo` objects into a data URI string (``data:...``) such that files can be embedded into serialized data. -.. versionadded:: 3.1 - The ``JsonSerializableNormalizer``, ``DateTimeNormalizer`` and - ``DataUriNormalizer`` normalizers were added in Symfony 3.1 - Encoders -------- diff --git a/components/yaml.rst b/components/yaml.rst index fda22666d9a..e957bd0fa71 100644 --- a/components/yaml.rst +++ b/components/yaml.rst @@ -229,10 +229,6 @@ underscores you can include or the way you group contents. Advanced Usage: Flags --------------------- -.. versionadded:: 3.1 - Flags were introduced in Symfony 3.1 and replaced the earlier boolean - arguments. - .. _objects-for-mappings: Object Parsing and Dumping diff --git a/controller.rst b/controller.rst index b2f8fbf01e3..3ef67d063d7 100644 --- a/controller.rst +++ b/controller.rst @@ -542,9 +542,6 @@ There are special classes that make certain kinds of responses easier: JSON Helper ~~~~~~~~~~~ -.. versionadded:: 3.1 - The ``json()`` helper was introduced in Symfony 3.1. - To return JSON from a controller, use the ``json()`` helper method on the base controller. This returns a special ``JsonResponse`` object that encodes the data automatically:: diff --git a/controller/argument_value_resolver.rst b/controller/argument_value_resolver.rst index c8e30120e83..6a8b6bf99fc 100644 --- a/controller/argument_value_resolver.rst +++ b/controller/argument_value_resolver.rst @@ -4,9 +4,6 @@ Extending Action Argument Resolving =================================== -.. versionadded:: 3.1 - The ``ArgumentResolver`` and value resolvers were introduced in Symfony 3.1. - In the :doc:`controller guide `, you've learned that you can get the :class:`Symfony\\Component\\HttpFoundation\\Request` object via an argument in your controller. This argument has to be type-hinted by the ``Request`` class diff --git a/frontend/custom_version_strategy.rst b/frontend/custom_version_strategy.rst index 112ecd7f6b9..12f9aafefcd 100644 --- a/frontend/custom_version_strategy.rst +++ b/frontend/custom_version_strategy.rst @@ -4,9 +4,6 @@ How to Use a Custom Version Strategy for Assets =============================================== -.. versionadded:: 3.1 - Support for custom version strategies was introduced in Symfony 3.1. - Asset versioning is a technique that improves the performance of web applications by adding a version identifier to the URL of the static assets (CSS, JavaScript, images, etc.) When the content of the asset changes, its diff --git a/logging/disable_microsecond_precision.rst b/logging/disable_microsecond_precision.rst index b0f7aa36326..1ed5607dfce 100644 --- a/logging/disable_microsecond_precision.rst +++ b/logging/disable_microsecond_precision.rst @@ -1,9 +1,6 @@ How to Disable Microseconds Precision (for a Performance Boost) =============================================================== -.. versionadded:: 2.11 - The ``use_microseconds`` option was introduced in MonologBundle 2.11. - Setting the parameter ``use_microseconds`` to ``false`` forces the logger to reduce the precision in the ``datetime`` field of the log messages from microsecond to second, avoiding a call to the ``microtime(true)`` function and the subsequent parsing. diff --git a/reference/constraints/Callback.rst b/reference/constraints/Callback.rst index b16984797b6..4151b4ca514 100644 --- a/reference/constraints/Callback.rst +++ b/reference/constraints/Callback.rst @@ -31,9 +31,6 @@ can do anything, including creating and assigning validation errors. Configuration ------------- -.. versionadded:: 3.1 - The ``$payload`` parameter was introduced in Symfony 3.1. - .. configuration-block:: .. code-block:: php-annotations diff --git a/reference/constraints/DateTime.rst b/reference/constraints/DateTime.rst index 10c61ccf275..1e60b233986 100644 --- a/reference/constraints/DateTime.rst +++ b/reference/constraints/DateTime.rst @@ -84,9 +84,6 @@ format **type**: ``string`` **default**: ``Y-m-d H:i:s`` -.. versionadded:: 3.1 - The ``format`` option was introduced in Symfony 3.1. - This option allows to validate a custom date format. See :phpmethod:`DateTime::createFromFormat` for formatting options. diff --git a/reference/constraints/Image.rst b/reference/constraints/Image.rst index 211b3c4ca84..0e74501ae67 100644 --- a/reference/constraints/Image.rst +++ b/reference/constraints/Image.rst @@ -316,9 +316,6 @@ If this option is false, the image cannot be portrait oriented. detectCorrupted ~~~~~~~~~~~~~~~ -.. versionadded:: 3.1 - The ``detectCorrupted`` option was introduced in Symfony 3.1. - **type**: ``boolean`` **default**: ``false`` 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`_ corruptedMessage ~~~~~~~~~~~~~~~~ -.. versionadded:: 3.1 - The ``corruptedMessage`` option was introduced in Symfony 3.1. - **type**: ``string`` **default**: ``The image file is corrupted.`` The error message when the `detectCorrupted`_ option is enabled and the image diff --git a/reference/constraints/UniqueEntity.rst b/reference/constraints/UniqueEntity.rst index 6990441d047..a01335974d7 100644 --- a/reference/constraints/UniqueEntity.rst +++ b/reference/constraints/UniqueEntity.rst @@ -137,10 +137,6 @@ The message that's displayed when this constraint fails. This message is always mapped to the first field causing the violation, even when using multiple fields in the constraint. -.. versionadded:: 3.1 - The ability to include the invalid value into the message was introduced - in Symfony 3.1. - Messages can include the ``{{ value }}`` placeholder to display a string representation of the invalid entity. If the entity doesn't define the ``__toString()`` method, the following generic value will be used: *"Object of diff --git a/reference/dic_tags.rst b/reference/dic_tags.rst index 6f06028e86b..79a95dc218c 100644 --- a/reference/dic_tags.rst +++ b/reference/dic_tags.rst @@ -367,9 +367,6 @@ For details on registering your own commands in the service container, read controller.argument_value_resolver ---------------------------------- -.. versionadded:: 3.1 - The ``controller.argument_value_resolver`` tag was introduced in Symfony 3.1. - **Purpose**: Register a value resolver for controller arguments such as ``Request`` Value resolvers implement the