From 621eb21139512cb0e00fbc5a9b9d215308eba720 Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Sat, 14 May 2016 17:19:26 +0200 Subject: [PATCH] Fix deprecated usage (#5050) When using the command alias `sfcontainer` or `sfrouter`, the following warning occurs: > ! [CAUTION] The use of "container:debug" command is deprecated since version 2.7 and will be removed in 3.0. Use the > ! "debug:container" instead. --- plugins/symfony2/symfony2.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/symfony2/symfony2.plugin.zsh b/plugins/symfony2/symfony2.plugin.zsh index fe236a298..c2a1affad 100644 --- a/plugins/symfony2/symfony2.plugin.zsh +++ b/plugins/symfony2/symfony2.plugin.zsh @@ -22,8 +22,8 @@ alias sf='`_symfony_console`' alias sfcl='sf cache:clear' alias sfsr='sf server:run -vvv' alias sfcw='sf cache:warmup' -alias sfroute='sf router:debug' -alias sfcontainer='sf container:debug' +alias sfroute='sf debug:router' +alias sfcontainer='sf debug:container' alias sfgb='sf generate:bundle' alias sfdev='sf --env=dev' alias sfprod='sf --env=prod'