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