From 802b92a8a893fdef87b984430503a2cf8454cf8a Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Thu, 19 Sep 2024 11:28:05 +1200 Subject: [PATCH] ENH Don't use deprecated method (#331) --- src/CampaignAdminExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CampaignAdminExtension.php b/src/CampaignAdminExtension.php index 4d2ea60..1980908 100644 --- a/src/CampaignAdminExtension.php +++ b/src/CampaignAdminExtension.php @@ -15,7 +15,7 @@ class CampaignAdminExtension extends Extension { public function __construct() { - Deprecation::withNoReplacement( + Deprecation::withSuppressedNotice( fn () => Deprecation::notice('5.3.0', 'Will be replaced with YAML configuration', Deprecation::SCOPE_CLASS) ); parent::__construct();