From f4a267536a0caeef228c932a65362592a3e9e10c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Tue, 30 Jan 2024 11:49:25 +0100 Subject: [PATCH] chore: use long namespaced class instead of putting it inline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- core/register_command.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/register_command.php b/core/register_command.php index c0df3da9a06..205ea58001b 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -55,8 +55,9 @@ use OC\Core\Command; use OCP\IConfig; use OCP\Server; use Psr\Log\LoggerInterface; +use Stecman\Component\Symfony\Console\BashCompletion\CompletionCommand; -$application->add(new \Stecman\Component\Symfony\Console\BashCompletion\CompletionCommand()); +$application->add(new CompletionCommand()); $application->add(Server::get(Command\Status::class)); $application->add(Server::get(Command\Check::class)); $application->add(Server::get(Command\L10n\CreateJs::class));