From 584777102e1e81e09308d85633cbf639959c814b Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Wed, 17 Dec 2014 20:52:54 +0100 Subject: [PATCH 1/2] [FrameworkBundle] update debug commands references With #11627, both the `ContainerDebugCommand` name and the `ConfigDebugCommand` name have been moved to the `debug` namespace. Thus, references should be updated accordingly. --- .../Compiler/ContainerBuilderDebugDumpPass.php | 2 +- src/Symfony/Bundle/FrameworkBundle/composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/ContainerBuilderDebugDumpPass.php b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/ContainerBuilderDebugDumpPass.php index 467ecff28307a..98fa5c95a15ec 100644 --- a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/ContainerBuilderDebugDumpPass.php +++ b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/ContainerBuilderDebugDumpPass.php @@ -19,7 +19,7 @@ /** * Dumps the ContainerBuilder to a cache file so that it can be used by - * debugging tools such as the container:debug console command. + * debugging tools such as the debug:container console command. * * @author Ryan Weaver * @author Fabien Potencier diff --git a/src/Symfony/Bundle/FrameworkBundle/composer.json b/src/Symfony/Bundle/FrameworkBundle/composer.json index e89ef15dfea8b..a0a0c381bd93d 100644 --- a/src/Symfony/Bundle/FrameworkBundle/composer.json +++ b/src/Symfony/Bundle/FrameworkBundle/composer.json @@ -51,7 +51,7 @@ "symfony/finder": "For using the translation loader and cache warmer", "symfony/form": "For using forms", "symfony/validator": "For using validation", - "symfony/yaml": "For using the config:debug and yaml:lint commands", + "symfony/yaml": "For using the debug:config and yaml:lint commands", "doctrine/cache": "For using alternative cache drivers" }, "autoload": { From c0925e4b393c44d73c971cdb04322d1d66c13eff Mon Sep 17 00:00:00 2001 From: Abdellatif AitBoudad Date: Wed, 10 Dec 2014 20:30:26 +0000 Subject: [PATCH 2/2] [FrameworkBundle] Use debug namespace. --- .../Bundle/FrameworkBundle/Command/ContainerDebugCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php index da2f1e2f423a5..c26fa01c37ac9 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php @@ -123,7 +123,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $helper->describe($output, $object, $options); if (!$input->getArgument('name') && $input->isInteractive()) { - $output->writeln('To search for a service, re-run this command with a search term. container:debug log'); + $output->writeln('To search for a service, re-run this command with a search term. debug:container log'); } }