From d727194ea1dd5052cbf1f13722cdefdc7b7078b4 Mon Sep 17 00:00:00 2001 From: Dmitriy Prysenko Date: Tue, 1 Nov 2022 11:26:56 +0300 Subject: [PATCH] Symfony 4 warning. The command cannot have an empty name. --- Command/DumpCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Command/DumpCommand.php b/Command/DumpCommand.php index c2d929fac..0d1be5e4e 100644 --- a/Command/DumpCommand.php +++ b/Command/DumpCommand.php @@ -48,6 +48,7 @@ protected function configure() $availableFormats = $this->renderOpenApi->getAvailableFormats(); $this ->setDescription('Dumps documentation in OpenAPI format to: '.implode(', ', $availableFormats)) + ->setName('nelmio:apidoc:dump') ->addOption('area', '', InputOption::VALUE_OPTIONAL, '', 'default') ->addOption( 'format',