From 9d140980c0d8649a4dfde92acbfaa6fe82c65abe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 13 May 2022 12:07:06 +0200 Subject: [PATCH] Deprecate `\wcf\SensitiveArgument` --- wcfsetup/install/files/lib/core.functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wcfsetup/install/files/lib/core.functions.php b/wcfsetup/install/files/lib/core.functions.php index 0286c4a2b7..d8e68e9091 100644 --- a/wcfsetup/install/files/lib/core.functions.php +++ b/wcfsetup/install/files/lib/core.functions.php @@ -97,6 +97,9 @@ namespace wcf { return preg_replace('/^(\d+\.\d+)\..*$/', '\\1', WCF_VERSION); } + /** + * @deprecated 5.6 Use #[\SensitiveParameter] instead. + */ #[\Attribute(\Attribute::TARGET_PARAMETER)] class SensitiveArgument { -- 2.20.1