From 82dad3ae8726e2ab004053d7aaa18ad246f68f2b Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Thu, 19 Sep 2024 09:29:02 +1200 Subject: [PATCH] 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',