diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/ConfigDebugCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/ConfigDebugCommand.php
index e34b5eb095247..26d736a972d26 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Command/ConfigDebugCommand.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Command/ConfigDebugCommand.php
@@ -31,9 +31,6 @@ protected function configure()
{
$this
->setName('debug:config')
- ->setAliases(array(
- 'config:debug',
- ))
->setDefinition(array(
new InputArgument('name', InputArgument::OPTIONAL, 'The bundle name or the extension alias'),
))
@@ -57,10 +54,6 @@ protected function configure()
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
- if (false !== strpos($input->getFirstArgument(), ':d')) {
- $output->writeln('The use of "config:debug" command is deprecated since version 2.7 and will be removed in 3.0. Use the "debug:config" instead.');
- }
-
$name = $input->getArgument('name');
if (empty($name)) {
diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php
index 0d0ffd839784f..b7a1207cadcf5 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php
@@ -40,9 +40,6 @@ protected function configure()
{
$this
->setName('debug:container')
- ->setAliases(array(
- 'container:debug',
- ))
->setDefinition(array(
new InputArgument('name', InputArgument::OPTIONAL, 'A service name (foo)'),
new InputOption('show-private', null, InputOption::VALUE_NONE, 'Used to show public *and* private services'),
@@ -94,10 +91,6 @@ protected function configure()
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
- if (false !== strpos($input->getFirstArgument(), ':d')) {
- $output->writeln('The use of "container:debug" command is deprecated since version 2.7 and will be removed in 3.0. Use the "debug:container" instead.');
- }
-
$this->validateInput($input);
if ($input->getOption('parameters')) {
diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php
index dc5558c063487..d65fed4385a17 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php
@@ -50,9 +50,6 @@ protected function configure()
{
$this
->setName('debug:router')
- ->setAliases(array(
- 'router:debug',
- ))
->setDefinition(array(
new InputArgument('name', InputArgument::OPTIONAL, 'A route name'),
new InputOption('show-controllers', null, InputOption::VALUE_NONE, 'Show assigned controllers in overview'),
@@ -77,10 +74,6 @@ protected function configure()
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
- if (false !== strpos($input->getFirstArgument(), ':d')) {
- $output->writeln('The use of "router:debug" command is deprecated since version 2.7 and will be removed in 3.0. Use the "debug:router" instead.');
- }
-
$name = $input->getArgument('name');
$helper = new DescriptorHelper();
diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php
index f5cc1fb805489..745417dd4113e 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php
@@ -39,9 +39,6 @@ protected function configure()
{
$this
->setName('debug:translation')
- ->setAliases(array(
- 'translation:debug',
- ))
->setDefinition(array(
new InputArgument('locale', InputArgument::REQUIRED, 'The locale'),
new InputArgument('bundle', InputArgument::REQUIRED, 'The bundle name'),
@@ -81,10 +78,6 @@ protected function configure()
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
- if (false !== strpos($input->getFirstArgument(), ':d')) {
- $output->writeln('The use of "translation:debug" command is deprecated since version 2.7 and will be removed in 3.0. Use the "debug:translation" instead.');
- }
-
$locale = $input->getArgument('locale');
$domain = $input->getOption('domain');
$bundle = $this->getContainer()->get('kernel')->getBundle($input->getArgument('bundle'));