From: Tim Düsterhus Date: Fri, 13 May 2022 10:07:06 +0000 (+0200) Subject: Deprecate `\wcf\SensitiveArgument` X-Git-Tag: 6.0.0_Alpha_1~1300^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9d140980c0d8649a4dfde92acbfaa6fe82c65abe;p=GitHub%2FWoltLab%2FWCF.git Deprecate `\wcf\SensitiveArgument` --- 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 {