From ccf5d526efe4fc3b7caa020e415260b3da07e772 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 18 Sep 2024 10:54:02 +1200 Subject: [PATCH] ENH Don't use deprecated 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 0980b6c0..587fac7b 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::withNoReplacement(function () { + Deprecation::withSuppressedWarning(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 a61c1292..3d0cc2d3 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::withNoReplacement(function () { + Deprecation::withSuppressedWarning(function () { Deprecation::notice( '7.3.0', 'Will be removed without equivalent functionality to replace it',