From 82dad3ae8726e2ab004053d7aaa18ad246f68f2b Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Thu, 19 Sep 2024 09:29:02 +1200 Subject: [PATCH 1/2] ENH Use correct name for new suppression method --- src/Task/ConvertTranslatableTask.php | 2 +- src/Task/ConvertTranslatableTask/Exception.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Task/ConvertTranslatableTask.php b/src/Task/ConvertTranslatableTask.php index 587fac7b..0542b49b 100644 --- a/src/Task/ConvertTranslatableTask.php +++ b/src/Task/ConvertTranslatableTask.php @@ -46,7 +46,7 @@ class ConvertTranslatableTask extends BuildTask public function __construct() { parent::__construct(); - Deprecation::withSuppressedWarning(function () { + Deprecation::withSuppressedNotice(function () { Deprecation::notice( '7.3.0', 'Will be removed without equivalent functionality to replace it', diff --git a/src/Task/ConvertTranslatableTask/Exception.php b/src/Task/ConvertTranslatableTask/Exception.php index 3d0cc2d3..08956cf0 100644 --- a/src/Task/ConvertTranslatableTask/Exception.php +++ b/src/Task/ConvertTranslatableTask/Exception.php @@ -12,7 +12,7 @@ class Exception extends \Exception public function __construct() { parent::__construct(); - Deprecation::withSuppressedWarning(function () { + Deprecation::withSuppressedNotice(function () { Deprecation::notice( '7.3.0', 'Will be removed without equivalent functionality to replace it', From 36861c7a2f398503dca23699a1e04d5843be24cc Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 23 Sep 2024 15:16:23 +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 e3b38a1c..7f4c9744 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ "require": { "php": "^8.1", "silverstripe/vendor-plugin": "^2", - "silverstripe/framework": "^5", + "silverstripe/framework": "^5.4", "silverstripe/admin": "^2", "silverstripe/versioned": "^2", "symbiote/silverstripe-gridfieldextensions": "^4",