diff --git a/code/LeftAndMainExtension.php b/code/LeftAndMainExtension.php index 9effb2106..540af76f2 100644 --- a/code/LeftAndMainExtension.php +++ b/code/LeftAndMainExtension.php @@ -16,10 +16,10 @@ abstract class LeftAndMainExtension extends Extension { public function __construct() { - // Wrapping with Deprecation::withNoReplacement() to avoid triggering deprecation notices + // Wrapping with Deprecation::withSuppressedNotice() to avoid triggering deprecation notices // as we are unable to update existing subclasses of this class until a new major // unless we add in the pointless empty methods that are in this class - Deprecation::withNoReplacement(function () { + Deprecation::withSuppressedNotice(function () { $class = Extension::class; Deprecation::notice('2.3.0', "Subclass $class instead", Deprecation::SCOPE_CLASS); });