From cb7494d4ccc3196f46ef75e60b7cd917edcb8977 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Thu, 19 Sep 2024 14:06:05 +1200 Subject: [PATCH] ENH Don't use deprecated method (#262) --- src/Extensions/ShareDraftContentRequirementsExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extensions/ShareDraftContentRequirementsExtension.php b/src/Extensions/ShareDraftContentRequirementsExtension.php index 0030cc4..3c72620 100644 --- a/src/Extensions/ShareDraftContentRequirementsExtension.php +++ b/src/Extensions/ShareDraftContentRequirementsExtension.php @@ -15,7 +15,7 @@ class ShareDraftContentRequirementsExtension extends DataExtension { public function __construct() { - Deprecation::withNoReplacement( + Deprecation::withSuppressedNotice( fn () => Deprecation::notice('5.3.0', 'Will be replaced with YAML configuration', Deprecation::SCOPE_CLASS) ); parent::__construct();