diff --git a/src/Tasks/UpdatePackageInfoTask.php b/src/Tasks/UpdatePackageInfoTask.php index e11e400..6750bae 100644 --- a/src/Tasks/UpdatePackageInfoTask.php +++ b/src/Tasks/UpdatePackageInfoTask.php @@ -115,7 +115,7 @@ public function getSupportedAddonsLoader() */ public function setSupportedAddonsLoader(SupportedAddonsLoader $supportedAddonsLoader) { - Deprecation::withNoReplacement( + Deprecation::withSuppressedNotice( fn() => Deprecation::notice('3.3.0', 'Will be removed without equivalent functionality') ); $this->supportedAddonsLoader = $supportedAddonsLoader; @@ -139,7 +139,7 @@ public function getModuleHealthLoader() */ public function setModuleHealthLoader(ModuleHealthLoader $moduleHealthLoader) { - Deprecation::withNoReplacement( + Deprecation::withSuppressedNotice( fn() => Deprecation::notice('3.2.0', 'Will be removed without equivalent functionality') ); $this->moduleHealthLoader = $moduleHealthLoader; diff --git a/src/Util/ModuleHealthLoader.php b/src/Util/ModuleHealthLoader.php index 59f637c..c71e1a9 100644 --- a/src/Util/ModuleHealthLoader.php +++ b/src/Util/ModuleHealthLoader.php @@ -17,7 +17,7 @@ class ModuleHealthLoader extends ApiLoader public function __construct() { - Deprecation::withNoReplacement( + Deprecation::withSuppressedNotice( fn() => Deprecation::notice( '3.2.0', 'Will be removed without equivalent functionality', diff --git a/src/Util/SupportedAddonsLoader.php b/src/Util/SupportedAddonsLoader.php index 72ed7ae..bdf5b20 100644 --- a/src/Util/SupportedAddonsLoader.php +++ b/src/Util/SupportedAddonsLoader.php @@ -13,7 +13,7 @@ class SupportedAddonsLoader extends ApiLoader { public function __construct() { - Deprecation::withNoReplacement( + Deprecation::withSuppressedNotice( fn() => Deprecation::notice( '3.2.0', 'Use ' . UpdatePackageInfoTask::class . '::getSupportedPackages() instead.',