Skip to content

Commit 48835de

Browse files
committed
minor #4767 [2.6] Removed 2.4 versionadded as version is deprecated (WouterJ)
This PR was merged into the 2.6 branch. Discussion ---------- [2.6] Removed 2.4 versionadded as version is deprecated Commits ------- 89caa75 Removed 2.4 versionadded as version is deprecated
2 parents 08e5ac9 + 89caa75 commit 48835de

40 files changed

+0
-167
lines changed

book/controller.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -683,9 +683,6 @@ content that's sent back to the client::
683683
$response = new Response(json_encode(array('name' => $name)));
684684
$response->headers->set('Content-Type', 'application/json');
685685

686-
.. versionadded:: 2.4
687-
Support for HTTP status code constants was introduced in Symfony 2.4.
688-
689686
The ``headers`` property is a :class:`Symfony\\Component\\HttpFoundation\\HeaderBag`
690687
object and has some nice methods for getting and setting the headers. The
691688
header names are normalized so that using ``Content-Type`` is equivalent to

book/from_flat_php_to_symfony2.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,9 +484,6 @@ the HTTP response being returned. Use them to improve the blog:
484484
// echo the headers and send the response
485485
$response->send();
486486

487-
.. versionadded:: 2.4
488-
Support for HTTP status code constants was introduced in Symfony 2.4.
489-
490487
The controllers are now responsible for returning a ``Response`` object.
491488
To make this easier, you can add a new ``render_template()`` function, which,
492489
incidentally, acts quite a bit like the Symfony templating engine:

book/http_fundamentals.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,6 @@ interface to construct the response that needs to be returned to the client::
287287
// prints the HTTP headers followed by the content
288288
$response->send();
289289

290-
.. versionadded:: 2.4
291-
Support for HTTP status code constants was introduced in Symfony 2.4.
292-
293290
If Symfony offered nothing else, you would already have a toolkit for easily
294291
accessing request information and an object-oriented interface for creating
295292
the response. Even as you learn the many powerful features in Symfony, keep

book/internals.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,6 @@ processing must only occur on the master request).
208208
Events
209209
~~~~~~
210210

211-
.. versionadded:: 2.4
212-
The ``isMasterRequest()`` method was introduced in Symfony 2.4.
213-
Prior, the ``getRequestType()`` method must be used.
214-
215211
Each event thrown by the Kernel is a subclass of
216212
:class:`Symfony\\Component\\HttpKernel\\Event\\KernelEvent`. This means that
217213
each event has access to the same basic information:

book/routing.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -915,9 +915,6 @@ component documentation.
915915
Completely Customized Route Matching with Conditions
916916
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
917917

918-
.. versionadded:: 2.4
919-
Route conditions were introduced in Symfony 2.4.
920-
921918
As you've seen, a route can be made to match only certain routing wildcards
922919
(via regular expressions), HTTP methods, or host names. But the routing system
923920
can be extended to have an almost infinite flexibility using ``conditions``:

book/security.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -927,9 +927,6 @@ special attributes like this:
927927

928928
.. _book-security-template-expression:
929929

930-
.. versionadded:: 2.4
931-
The ``expression`` functionality was introduced in Symfony 2.4.
932-
933930
You can also use expressions inside your templates:
934931

935932
.. configuration-block::

book/service_container.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -624,9 +624,6 @@ the work of instantiating the classes.
624624
Using the Expression Language
625625
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
626626

627-
.. versionadded:: 2.4
628-
The Expression Language functionality was introduced in Symfony 2.4.
629-
630627
The service container also supports an "expression" that allows you to inject
631628
very specific values into a service.
632629

@@ -818,9 +815,6 @@ Injecting the dependency by the setter method just needs a change of syntax:
818815
Injecting the Request
819816
~~~~~~~~~~~~~~~~~~~~~
820817

821-
.. versionadded:: 2.4
822-
The ``request_stack`` service was introduced in Symfony 2.4.
823-
824818
As of Symfony 2.4, instead of injecting the ``request`` service, you should
825819
inject the ``request_stack`` service and access the ``Request`` by calling
826820
the :method:`Symfony\\Component\\HttpFoundation\\RequestStack::getCurrentRequest`

components/console/helpers/progresshelper.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ Progress Helper
77
.. versionadded:: 2.3
88
The ``setCurrent`` method was introduced in Symfony 2.3.
99

10-
.. versionadded:: 2.4
11-
The ``clear`` method was introduced in Symfony 2.4.
12-
1310
.. caution::
1411

1512
The Progress Helper was deprecated in Symfony 2.5 and will be removed in

components/console/helpers/tablehelper.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ table rendering: using named layouts or by customizing rendering options.
3939
Customize Table Layout using Named Layouts
4040
------------------------------------------
4141

42-
.. versionadded:: 2.4
43-
The ``TableHelper::LAYOUT_COMPACT`` layout was introduced in Symfony 2.4.
44-
4542
The Table helper ships with three preconfigured table layouts:
4643

4744
* ``TableHelper::LAYOUT_DEFAULT``

components/console/introduction.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,6 @@ level. For example::
203203
$output->writeln(...);
204204
}
205205

206-
.. versionadded:: 2.4
207-
The :method:`Symfony\\Component\\Console\\Output\\Output::isQuiet`,
208-
:method:`Symfony\\Component\\Console\\Output\\Output::isVerbose`,
209-
:method:`Symfony\\Component\\Console\\Output\\Output::isVeryVerbose` and
210-
:method:`Symfony\\Component\\Console\\Output\\Output::isDebug`
211-
methods were introduced in Symfony 2.4
212-
213206
There are also more semantic methods you can use to test for each of the
214207
verbosity levels::
215208

0 commit comments

Comments
 (0)