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 1/2] 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(); From e030e56b4a83da3f02943025b97319a159370d9d Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 23 Sep 2024 15:14:55 +1200 Subject: [PATCH 2/2] DEP Increase minimum version of silverstripe/framework --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index af06d49..37f2604 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "require": { "php": "^8.1", "silverstripe/admin": "^2", - "silverstripe/framework": "^5", + "silverstripe/framework": "^5.4", "silverstripe/versioned": "^2", "silverstripe/vendor-plugin": "^2" },