From 95cefd00f643bace67b5f26fef8a91638d1178c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Marseille?= Date: Tue, 25 Oct 2022 17:15:06 +0200 Subject: [PATCH] chore(deps): fix deprecations for Symfony 6 support --- Command/EncryptCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Command/EncryptCommand.php b/Command/EncryptCommand.php index be2e247..0431808 100644 --- a/Command/EncryptCommand.php +++ b/Command/EncryptCommand.php @@ -14,6 +14,7 @@ namespace Ekino\DataProtectionBundle\Command; use Ekino\DataProtectionBundle\Encryptor\Encryptor; +use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; @@ -24,6 +25,7 @@ * * @author Christian Kollross */ +#[AsCommand(name: 'ekino-data-protection:encrypt')] final class EncryptCommand extends Command { /**