Skip to content

Commit 4a8cbde

Browse files
committed
bug #8791 Removed some mentions to deprecated features (javiereguiluz)
This PR was merged into the 4.0 branch. Discussion ---------- Removed some mentions to deprecated features Commits ------- b566081 Removed some mentions to deprecated features
2 parents d2f0955 + b566081 commit 4a8cbde

File tree

7 files changed

+4
-24
lines changed

7 files changed

+4
-24
lines changed

components/cache/cache_pools.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,4 @@ when all items are successfully deleted)::
137137
# clears the "cache.validation" and "cache.app" pool
138138
$ php bin/console cache:pool:clear cache.validation cache.app
139139
140-
.. versionadded:: 3.4
141-
Starting from Symfony 3.4, the ``cache:clear`` command no longer clears
142-
the cache pools, so you must use the ``cache:pool:clear`` command to
143-
delete them.
144-
145140
.. _`Doctrine Cache`: https://github.com/doctrine/cache

components/filesystem/lock_handler.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ LockHandler
55

66
.. caution::
77

8-
The ``LockHandler`` utility is deprecated since Symfony 3.4. Use the new
9-
Symfony Lock component instead.
8+
The ``LockHandler`` utility was removed in Symfony 4.0. Use the new Symfony
9+
Lock component instead.

form/action_method.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@ to the ``form()`` or the ``form_start()`` helper functions:
126126

127127
<!-- templates/default/new.html.php -->
128128
<?php echo $view['form']->start($form, array(
129-
// The path() method was introduced in Symfony 2.8. Prior to 2.8,
130-
// you had to use generate().
131129
'action' => $view['router']->path('target_route'),
132130
'method' => 'GET',
133131
)) ?>

reference/configuration/framework.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1860,9 +1860,6 @@ The cache clearer used to clear your PSR-6 cache.
18601860
prefix_seed
18611861
...........
18621862

1863-
.. versionadded:: 3.2
1864-
The ``prefix_seed`` option was introduced in Symfony 3.2.
1865-
18661863
**type**: ``string`` **default**: ``null``
18671864

18681865
If defined, this value is used as part of the "namespace" generated for the

reference/configuration/security.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ Each part will be explained in the next section.
219219
220220
# by default, a session must exist before submitting an authentication request
221221
# if false, then Request::hasPreviousSession is not called during authentication
222-
# new in Symfony 2.3
223222
require_previous_session: true
224223
225224
service: ~

reference/forms/types/options/choice_value.rst.inc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,3 @@ for each choice or ``null`` in some cases, which you need to handle:
2020
'choice_value' => function (MyOptionEntity $entity = null) {
2121
return $entity ? $entity->getId() : '';
2222
},
23-
24-
.. caution::
25-
26-
In Symfony 2.7, there was a small backwards-compatibility break with how the
27-
``value`` attribute of options is generated. This is not a problem unless you
28-
rely on the option values in JavaScript. See `issue #14825`_ for details.
29-
30-
.. _`issue #14825`: https://github.com/symfony/symfony/pull/14825

security/host_restriction.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
How to Restrict Firewalls to a Specific Host
22
============================================
33

4-
As of Symfony 2.5, more possibilities to restrict firewalls have been added.
5-
You can read everything about all the possibilities (including ``host``)
6-
in ":doc:`/security/firewall_restriction`".
4+
There are more possibilities to restrict firewalls. You can read everything
5+
about all the possibilities (including ``host``) in ":doc:`/security/firewall_restriction`".

0 commit comments

Comments
 (0)