Skip to content

Commit 65f1b01

Browse files
committed
Add attribute to silence deprecations
1 parent 082762c commit 65f1b01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Command/WebsocketServerCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Gos\Bundle\WebSocketBundle\Server\App\Registry\ServerRegistry;
66
use Gos\Bundle\WebSocketBundle\Server\ServerLauncherInterface;
7+
use Symfony\Component\Console\Attribute\AsCommand;
78
use Symfony\Component\Console\Command\Command;
89
use Symfony\Component\Console\Completion\CompletionInput;
910
use Symfony\Component\Console\Completion\CompletionSuggestions;
@@ -13,6 +14,7 @@
1314
use Symfony\Component\Console\Input\InputOption;
1415
use Symfony\Component\Console\Output\OutputInterface;
1516

17+
#[AsCommand(name: 'gos:websocket:server', description: 'Starts the websocket server')]
1618
final class WebsocketServerCommand extends Command
1719
{
1820
/**

0 commit comments

Comments
 (0)