[FrameworkBundle] Tag deprecated services
This commit is contained in:
parent
a76eae85a4
commit
87e8e8fbff
@ -7,6 +7,7 @@
|
|||||||
<services>
|
<services>
|
||||||
<service id="form.csrf_provider" class="Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfTokenManagerAdapter">
|
<service id="form.csrf_provider" class="Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfTokenManagerAdapter">
|
||||||
<argument type="service" id="security.csrf.token_manager" />
|
<argument type="service" id="security.csrf.token_manager" />
|
||||||
|
<deprecated>The "%service_id%" service is deprecated since Symfony 2.4 and will be removed in 3.0. Use the "security.csrf.token_manager" service instead.</deprecated>
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
<service id="form.type_extension.csrf" class="Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension">
|
<service id="form.type_extension.csrf" class="Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension">
|
||||||
|
@ -38,16 +38,9 @@
|
|||||||
<argument type="collection" />
|
<argument type="collection" />
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
<!--
|
<service id="request" scope="request" synthetic="true" synchronized="true">
|
||||||
If you want to change the Request class, modify the code in
|
<deprecated>The "%service_id%" service is deprecated since Symfony 2.7 and will be removed in 3.0. Use the "request_stack" service instead.</deprecated>
|
||||||
your front controller (app.php) so that it passes an instance of
|
</service>
|
||||||
YourRequestClass to the Kernel.
|
|
||||||
This service definition only defines the scope of the request.
|
|
||||||
It is used to check references scope.
|
|
||||||
|
|
||||||
This service is deprecated, you should use the request_stack service instead.
|
|
||||||
-->
|
|
||||||
<service id="request" scope="request" synthetic="true" synchronized="true" />
|
|
||||||
|
|
||||||
<service id="service_container" synthetic="true" />
|
<service id="service_container" synthetic="true" />
|
||||||
|
|
||||||
|
@ -47,6 +47,7 @@
|
|||||||
</call>
|
</call>
|
||||||
</service>
|
</service>
|
||||||
</argument>
|
</argument>
|
||||||
|
<deprecated>The "%service_id%" service is deprecated since Symfony 2.8 and will be removed in 3.0.</deprecated>
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
<service id="validator.validator_factory" class="%validator.validator_factory.class%" public="false">
|
<service id="validator.validator_factory" class="%validator.validator_factory.class%" public="false">
|
||||||
|
@ -53,6 +53,7 @@
|
|||||||
<service id="security.context" class="%security.context.class%">
|
<service id="security.context" class="%security.context.class%">
|
||||||
<argument type="service" id="security.token_storage" />
|
<argument type="service" id="security.token_storage" />
|
||||||
<argument type="service" id="security.authorization_checker" />
|
<argument type="service" id="security.authorization_checker" />
|
||||||
|
<deprecated>The "%service_id%" service is deprecated since Symfony 2.6 and will be removed in 3.0.</deprecated>
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
<service id="security.authorization_checker" class="Symfony\Component\Security\Core\Authorization\AuthorizationChecker">
|
<service id="security.authorization_checker" class="Symfony\Component\Security\Core\Authorization\AuthorizationChecker">
|
||||||
|
Reference in New Issue
Block a user