Skip to content

Commit b30e432

Browse files
wouterjxabbuh
authored andcommitted
[2.6] Don't use deprecated features
1 parent 043fea4 commit b30e432

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

book/templating.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ is a :class:`Symfony\\Bundle\\FrameworkBundle\\Templating\\GlobalVariables`
11911191
instance which will give you access to some application specific variables
11921192
automatically:
11931193

1194-
``app.security``
1194+
``app.security`` (deprecated as of 2.6)
11951195
The security context.
11961196
``app.user``
11971197
The current user object.

cookbook/form/dynamic_form_modification.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ it with :ref:`dic-tags-form-type`.
395395
<!-- app/config/config.xml -->
396396
<services>
397397
<service id="app.form.friend_message" class="AppBundle\Form\Type\FriendMessageFormType">
398-
<argument type="service" id="security.context" />
398+
<argument type="service" id="security.token_storage" />
399399
<tag name="form.type" alias="friend_message" />
400400
</service>
401401
</services>

cookbook/logging/channels_handlers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ the channel).
1515
.. note::
1616

1717
Each channel corresponds to a logger service (``monolog.logger.XXX``)
18-
in the container (use the ``container:debug`` command to see a full list)
18+
in the container (use the ``debug:container`` command to see a full list)
1919
and those are injected into different services.
2020

2121
.. _logging-channel-handler:

0 commit comments

Comments
 (0)