From 5cf6bbb1c464410ef71980f95baed1902573ada1 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Sat, 23 Nov 2024 18:03:01 +0100 Subject: [PATCH] used attribute Deprecated --- src/CommandLine/Parser.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/CommandLine/Parser.php b/src/CommandLine/Parser.php index 27aa168..5732100 100644 --- a/src/CommandLine/Parser.php +++ b/src/CommandLine/Parser.php @@ -24,22 +24,22 @@ class Parser Normalizer = 'normalizer', Default = 'default'; - /** @deprecated use Parser::Argument */ + #[\Deprecated('use Parser::Argument')] public const ARGUMENT = self::Argument; - /** @deprecated use Parser::Optional */ + #[\Deprecated('use Parser::Optional')] public const OPTIONAL = self::Optional; - /** @deprecated use Parser::Repeatable */ + #[\Deprecated('use Parser::Repeatable')] public const REPEATABLE = self::Repeatable; - /** @deprecated use Parser::Enum */ + #[\Deprecated('use Parser::Enum')] public const ENUM = self::Enum; - /** @deprecated use Parser::Realpath */ + #[\Deprecated('use Parser::Realpath')] public const REALPATH = self::RealPath; - /** @deprecated use Parser::Default */ + #[\Deprecated('use Parser::Default')] public const VALUE = self::Default;