Skip to content

Commit 7d2f0f3

Browse files
committed
Removed 2.5 versionadded as its deprecated
1 parent 0df1064 commit 7d2f0f3

30 files changed

+0
-140
lines changed

book/security.rst

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

812-
.. versionadded:: 2.5
813-
The ``createAccessDeniedException`` method was introduced in Symfony 2.5.
814-
815812
The :method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::createAccessDeniedException`
816813
method creates a special :class:`Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException`
817814
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

@@ -1041,9 +1038,6 @@ If you dont give a version or pass ``null``, the default package version
10411038
(from :ref:`ref-framework-assets-version`) will be used. If you pass ``false``,
10421039
versioned URL will be deactivated for this asset.
10431040

1044-
.. versionadded:: 2.5
1045-
Absolute URLs for assets were introduced in Symfony 2.5.
1046-
10471041
If you need absolute URLs for assets, you can set the third argument (or the
10481042
``absolute`` argument) to ``true``:
10491043

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`

components/dependency_injection/advanced.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,6 @@ which means that your file will be included only once per request.
225225
Decorating Services
226226
-------------------
227227

228-
.. versionadded:: 2.5
229-
Decorated services were introduced in Symfony 2.5.
230-
231228
When overriding an existing definition, the old service is lost:
232229

233230
.. code-block:: php

components/event_dispatcher/traceable_dispatcher.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
The Traceable Event Dispatcher
66
==============================
77

8-
.. versionadded:: 2.5
9-
The ``TraceableEventDispatcher`` class was moved to the EventDispatcher
10-
component in Symfony 2.5. Before, it was located in the HttpKernel component.
11-
128
The :class:`Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher`
139
is an event dispatcher that wraps any other event dispatcher and can then
1410
be used to determine which event listeners have been called by the dispatcher.

components/form/introduction.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -663,14 +663,6 @@ and the errors will display next to the fields on error.
663663
Accessing Form Errors
664664
~~~~~~~~~~~~~~~~~~~~~
665665

666-
.. versionadded:: 2.5
667-
Before Symfony 2.5, ``getErrors()`` returned an array of ``FormError``
668-
objects. The return value was changed to ``FormErrorIterator`` in Symfony
669-
2.5.
670-
671-
.. versionadded:: 2.5
672-
The ``$deep`` and ``$flatten`` arguments were introduced in Symfony 2.5.
673-
674666
You can use the :method:`Symfony\\Component\\Form\\FormInterface::getErrors`
675667
method to access the list of errors. It returns a
676668
:class:`Symfony\\Component\\Form\\FormErrorIterator` instance::

components/process.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +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:: 2.5
54-
The ``mustRun()`` method was introduced in Symfony 2.5.
55-
5653
The ``mustRun()`` method is identical to ``run()``, except that it will throw
5754
a :class:`Symfony\\Component\\Process\\Exception\\ProcessFailedException`
5855
if the process couldn't be executed successfully (i.e. the process exited
@@ -306,11 +303,6 @@ You can access the `pid`_ of a running process with the
306303
Disabling Output
307304
----------------
308305

309-
.. versionadded:: 2.5
310-
The :method:`Symfony\\Component\\Process\\Process::disableOutput` and
311-
:method:`Symfony\\Component\\Process\\Process::enableOutput` methods were
312-
introduced in Symfony 2.5.
313-
314306
As standard output and error output are always fetched from the underlying process,
315307
it might be convenient to disable output in some cases to save memory.
316308
Use :method:`Symfony\\Component\\Process\\Process::disableOutput` and

components/property_access/introduction.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -314,13 +314,6 @@ see `Enable other Features`_.
314314
Checking Property Paths
315315
-----------------------
316316

317-
.. versionadded:: 2.5
318-
The
319-
:method:`PropertyAccessor::isReadable <Symfony\\Component\\PropertyAccess\\PropertyAccessor::isReadable>`
320-
and
321-
:method:`PropertyAccessor::isWritable <Symfony\\Component\\PropertyAccess\\PropertyAccessor::isWritable>`
322-
methods were introduced in Symfony 2.5.
323-
324317
When you want to check whether
325318
:method:`PropertyAccessor::getValue<Symfony\\Component\\PropertyAccess\\PropertyAccessor::getValue>`
326319
can safely be called without actually calling that method, you can use

components/serializer.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,6 @@ it were ``firstName`` and uses the ``getFirstName`` and ``setFirstName`` methods
198198
Serializing Boolean Attributes
199199
------------------------------
200200

201-
.. versionadded:: 2.5
202-
Support for ``is*`` accessors in
203-
:class:`Symfony\\Component\\Serializer\\Normalizer\\GetSetMethodNormalizer`
204-
was introduced in Symfony 2.5.
205-
206201
If you are using isser methods (methods prefixed by ``is``, like
207202
``Acme\Person::isSportsman()``), the Serializer component will automatically
208203
detect and use it to serialize related attributes.

components/stopwatch.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ microtime by yourself. Instead, use the simple
3131
// ... some code goes here
3232
$event = $stopwatch->stop('eventName');
3333

34-
.. versionadded:: 2.5
35-
The ``getEvent()`` method was introduced in Symfony 2.5
36-
3734
The :class:`Symfony\\Component\\Stopwatch\\StopwatchEvent` object can be retrieved
3835
from the :method:`Symfony\\Component\\Stopwatch\\Stopwatch::start`,
3936
:method:`Symfony\\Component\\Stopwatch\\Stopwatch::stop`,

components/templating/helpers/assetshelper.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ You can also specify a URL to use in the second parameter of the constructor::
4747

4848
Now URLs are rendered like ``http://cdn.example.com/images/logo.png``.
4949

50-
.. versionadded:: 2.5
51-
Absolute URLs for assets were introduced in Symfony 2.5.
52-
5350
You can also use the third argument of the helper to force an absolute URL:
5451

5552
.. code-block:: html+php
@@ -80,9 +77,6 @@ is used in :phpfunction:`sprintf`. The first argument is the path and the
8077
second is the version. For instance, ``%s?v=%s`` will be rendered as
8178
``/images/logo.png?v=328rad75``.
8279

83-
.. versionadded:: 2.5
84-
On-demand versioned URLs for assets were introduced in Symfony 2.5.
85-
8680
You can also generate a versioned URL on an asset-by-asset basis using the
8781
fourth argument of the helper:
8882

cookbook/console/console_command.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -225,13 +225,3 @@ you can extend your test from
225225
// ...
226226
}
227227
}
228-
229-
.. versionadded:: 2.5
230-
:class:`Symfony\\Bundle\\FrameworkBundle\\Test\\KernelTestCase` was
231-
extracted from :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\WebTestCase`
232-
in Symfony 2.5. ``WebTestCase`` inherits from ``KernelTestCase``. The
233-
``WebTestCase`` creates an instance of
234-
:class:`Symfony\\Bundle\\FrameworkBundle\\Client` via ``createClient()``,
235-
while ``KernelTestCase`` creates an instance of
236-
:class:`Symfony\\Component\\HttpKernel\\KernelInterface` via
237-
``createKernel()``.

cookbook/request/mime_type.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ object. Internally, Symfony contains a map of the most common formats (e.g.
1515
easily be added. This document will show how you can add the ``jsonp`` format
1616
and corresponding MIME type.
1717

18-
.. versionadded:: 2.5
19-
The possibility to configure request formats was introduced in Symfony 2.5.
20-
2118
Configure your New Format
2219
-------------------------
2320

cookbook/security/acl_advanced.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,6 @@ Security Identities
4545
This is analog to the object identity, but represents a user, or a role in
4646
your application. Each role, or user has its own security identity.
4747

48-
.. versionadded:: 2.5
49-
For users, the security identity is based on the username. This means that,
50-
if for any reason, a user's username was to change, you must ensure its
51-
security identity is updated too. The
52-
:method:`MutableAclProvider::updateUserSecurityIdentity() <Symfony\\Component\\Security\\Acl\\Dbal\\MutableAclProvider::updateUserSecurityIdentity>`
53-
method is there to handle the update, it was introduced in Symfony 2.5.
54-
5548
Database Table Structure
5649
------------------------
5750

cookbook/security/firewall_restriction.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,6 @@ request.
135135
Restricting by HTTP Methods
136136
---------------------------
137137

138-
.. versionadded:: 2.5
139-
Support for restricting security firewalls to specific HTTP methods was introduced in
140-
Symfony 2.5.
141-
142138
The configuration option ``methods`` restricts the initialization of the firewall to
143139
the provided HTTP methods.
144140

cookbook/security/named_encoders.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
How to Choose the Password Encoder Algorithm Dynamically
55
========================================================
66

7-
.. versionadded:: 2.5
8-
Named encoders were introduced in Symfony 2.5.
9-
107
Usually, the same password encoder is used for all users by configuring it
118
to apply to all instances of a specific class:
129

cookbook/validation/custom_constraint.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,6 @@ message as its argument and returns an instance of
8888
:class:`Symfony\\Component\\Validator\\Violation\\ConstraintViolationBuilderInterface`.
8989
The ``addViolation`` method call finally adds the violation to the context.
9090

91-
.. versionadded:: 2.5
92-
The ``buildViolation`` method was added in Symfony 2.5. For usage examples
93-
with older Symfony versions, see the corresponding versions of this documentation
94-
page.
95-
9691
Using the new Validator
9792
-----------------------
9893

reference/configuration/security.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ Each part will be explained in the next section.
1717
Support for restricting security firewalls to a specific host was introduced in
1818
Symfony 2.4.
1919

20-
.. versionadded:: 2.5
21-
Support for restricting security firewalls to specific http methods was introduced in
22-
Symfony 2.5.
23-
2420
.. configuration-block::
2521

2622
.. code-block:: yaml

reference/constraints/Callback.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,6 @@ those errors should be attributed::
134134
}
135135
}
136136

137-
.. versionadded:: 2.5
138-
The ``buildViolation`` method was added in Symfony 2.5. For usage examples
139-
with older Symfony versions, see the corresponding versions of this documentation
140-
page.
141-
142137
Static Callbacks
143138
----------------
144139

reference/constraints/Email.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ Basic Usage
9090
Options
9191
-------
9292

93-
.. versionadded:: 2.5
94-
The ``strict`` option was introduced in Symfony 2.5.
95-
9693
strict
9794
~~~~~~
9895

reference/constraints/Uuid.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
Uuid
22
====
33

4-
.. versionadded:: 2.5
5-
The Uuid constraint was introduced in Symfony 2.5.
6-
74
Validates that a value is a valid `Universally unique identifier (UUID)`_ per `RFC 4122`_.
85
By default, this will validate the format according to the RFC's guidelines, but this can
96
be relaxed to accept non-standard UUIDs that other systems (like PostgreSQL) accept.

reference/forms/types/collection.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,6 @@ For more information, see :ref:`cookbook-form-collections-remove`.
259259
delete_empty
260260
~~~~~~~~~~~~
261261

262-
.. versionadded:: 2.5
263-
The ``delete_empty`` option was introduced in Symfony 2.5.
264-
265262
**type**: ``Boolean`` **default**: ``false``
266263

267264
If you want to explicitly remove entirely empty collection entries from your

reference/forms/types/file.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ Field Options
8686
multiple
8787
~~~~~~~~
8888

89-
.. versionadded:: 2.5
90-
The ``multiple`` option was introduced in Symfony 2.5.
91-
9289
**type**: ``Boolean`` **default**: ``false``
9390

9491
When set to true, the user will be able to upload multiple files at the same time.

0 commit comments

Comments
 (0)