diff --git a/rules/Symfony73/Rector/Class_/InvokableCommandInputAttributeRector.php b/rules/Symfony73/Rector/Class_/InvokableCommandInputAttributeRector.php index 2fecd491..3c5856c8 100644 --- a/rules/Symfony73/Rector/Class_/InvokableCommandInputAttributeRector.php +++ b/rules/Symfony73/Rector/Class_/InvokableCommandInputAttributeRector.php @@ -82,10 +82,12 @@ public function execute(InputInterface $input, OutputInterface $output) CODE_SAMPLE , <<<'CODE_SAMPLE' +use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Argument; use Symfony\Component\Console\Option; +#[AsCommand(name: 'some_name')] final class SomeCommand { public function __invoke(