From 15f264caa4b0fe586806d3ef5585581714469c6f Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 18 Sep 2024 10:53:41 +1200 Subject: [PATCH] ENH Don't use deprecated method --- 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();