Skip to content

Commit dc25c65

Browse files
committed
minor #4769 [2.7] Removed 2.5 versionadded as its deprecated (WouterJ)
This PR was merged into the 2.7 branch. Discussion ---------- [2.7] Removed 2.5 versionadded as its deprecated Commits ------- 7d2f0f3 Removed 2.5 versionadded as its deprecated
2 parents 1da9206 + 7d2f0f3 commit dc25c65

30 files changed

+0
-140
lines changed

book/security.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -810,9 +810,6 @@ You can easily deny access from inside a controller::
810810
The ``security.authorization_checker`` service was introduced in Symfony 2.6. Prior
811811
to Symfony 2.6, you had to use the ``isGranted()`` method of the ``security.context`` service.
812812

813-
.. versionadded:: 2.5
814-
The ``createAccessDeniedException`` method was introduced in Symfony 2.5.
815-
816813
The :method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::createAccessDeniedException`
817814
method creates a special :class:`Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException`
818815
object, which ultimately triggers a 403 HTTP response inside Symfony.
@@ -1306,11 +1303,6 @@ cookie will be ever created by Symfony):
13061303
Checking for Known Security Vulnerabilities in Dependencies
13071304
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13081305

1309-
.. versionadded:: 2.5
1310-
The ``security:check`` command was introduced in Symfony 2.5. This command is
1311-
included in ``SensioDistributionBundle``, which has to be registered in your
1312-
application in order to use this command.
1313-
13141306
When using lots of dependencies in your Symfony projects, some of them may
13151307
contain security vulnerabilities. That's why Symfony includes a command called
13161308
``security:check`` that checks your ``composer.lock`` file to find any known

book/templating.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,9 +1021,6 @@ configuration option.
10211021

10221022
.. _`book-templating-version-by-asset`:
10231023

1024-
.. versionadded:: 2.5
1025-
Setting versioned URLs on an asset-by-asset basis was introduced in Symfony 2.5.
1026-
10271024
If you need to set a version for a specific asset, you can set the fourth
10281025
argument (or the ``version`` argument) to the desired version:
10291026

@@ -1046,9 +1043,6 @@ If you don't give a version or pass ``null``, the default package version
10461043
(from :ref:`ref-framework-assets-version`) will be used. If you pass ``false``,
10471044
versioned URL will be deactivated for this asset.
10481045

1049-
.. versionadded:: 2.5
1050-
Absolute URLs for assets were introduced in Symfony 2.5.
1051-
10521046
If you need absolute URLs for assets, you can set the third argument (or the
10531047
``absolute`` argument) to ``true``:
10541048

book/translation.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -670,9 +670,6 @@ For more information, see the documentation for these libraries.
670670
Debugging Translations
671671
----------------------
672672

673-
.. versionadded:: 2.5
674-
The ``debug:translation`` command was introduced in Symfony 2.5.
675-
676673
.. versionadded:: 2.6
677674
Prior to Symfony 2.6, this command was called ``translation:debug``.
678675

book/validation.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -586,9 +586,6 @@ allows you to add a constraint to any public method whose name starts with
586586
"get", "is" or "has". In this guide, these types of methods are referred to
587587
as "getters".
588588

589-
.. versionadded:: 2.5
590-
Support for methods starting with ``has`` was introduced in Symfony 2.5.
591-
592589
The benefit of this technique is that it allows you to validate your object
593590
dynamically. For example, suppose you want to make sure that a password field
594591
doesn't match the first name of the user (for security reasons). You can

components/class_loader/psr4_class_loader.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
The PSR-4 Class Loader
55
======================
66

7-
.. versionadded:: 2.5
8-
The :class:`Symfony\\Component\\ClassLoader\\Psr4ClassLoader` was
9-
introduced in Symfony 2.5.
10-
117
Libraries that follow the `PSR-4`_ standard can be loaded with the ``Psr4ClassLoader``.
128

139
.. note::

components/console/changing_default_command.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
Changing the Default Command
55
============================
66

7-
.. versionadded:: 2.5
8-
The :method:`Symfony\\Component\\Console\\Application::setDefaultCommand`
9-
method was introduced in Symfony 2.5.
10-
117
The Console component will always run the ``ListCommand`` when no command name is
128
passed. In order to change the default command you just need to pass the command
139
name to the ``setDefaultCommand`` method::

components/console/helpers/progressbar.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
Progress Bar
55
============
66

7-
.. versionadded:: 2.5
8-
The Progress Bar feature was introduced in Symfony 2.5 as a replacement for
9-
the :doc:`Progress Helper </components/console/helpers/progresshelper>`.
10-
117
When executing longer-running commands, it may be helpful to show progress
128
information, which updates as your command runs:
139

components/console/helpers/questionhelper.rst

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

7-
.. versionadded:: 2.5
8-
The Question Helper was introduced in Symfony 2.5.
9-
107
The :class:`Symfony\\Component\\Console\\Helper\\QuestionHelper` provides
118
functions to ask the user for more information. It is included in the default
129
helper set, which you can get by calling

components/console/helpers/table.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
Table
55
=====
66

7-
.. versionadded:: 2.5
8-
The ``Table`` class was introduced in Symfony 2.5 as a replacement for the
9-
:doc:`Table Helper </components/console/helpers/tablehelper>`.
10-
117
When building a console application it may be useful to display tabular data:
128

139
.. code-block:: text

components/console/logger.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
Using the Logger
55
================
66

7-
.. versionadded:: 2.5
8-
The :class:`Symfony\\Component\\Console\\Logger\\ConsoleLogger` was
9-
introduced in Symfony 2.5.
10-
117
The Console component comes with a standalone logger complying with the
128
`PSR-3`_ standard. Depending on the verbosity setting, log messages will
139
be sent to the :class:`Symfony\\Component\\Console\\Output\\OutputInterface`

0 commit comments

Comments
 (0)