ENH Don't use deprecated method (#786)

This commit is contained in:
Guy Sartorelli 2024-09-19 13:45:08 +12:00 committed by GitHub
parent 67be150898
commit 0da034c455
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 12 additions and 12 deletions

View File

@ -17,7 +17,7 @@ class BlogPostFeaturedExtension extends DataExtension
{
public function __construct()
{
Deprecation::withNoReplacement(function () {
Deprecation::withSuppressedNotice(function () {
Deprecation::notice(
'4.3.0',
'Will be removed without equivalent functionality to replace it',

View File

@ -76,7 +76,7 @@ class BlogArchiveWidget extends Widget
public function __construct($record = [], $creationType = DataObject::CREATE_OBJECT, $queryParams = [])
{
Deprecation::withNoReplacement(function () {
Deprecation::withSuppressedNotice(function () {
Deprecation::notice(
'4.3.0',
'Will be removed without equivalent functionality to replace it',

View File

@ -16,7 +16,7 @@ class BlogArchiveWidgetController extends WidgetController
{
public function __construct($widget = null)
{
Deprecation::withNoReplacement(function () {
Deprecation::withSuppressedNotice(function () {
Deprecation::notice(
'4.3.0',
'Will be removed without equivalent functionality to replace it',

View File

@ -61,7 +61,7 @@ class BlogCategoriesWidget extends Widget
public function __construct($record = [], $creationType = DataObject::CREATE_OBJECT, $queryParams = [])
{
Deprecation::withNoReplacement(function () {
Deprecation::withSuppressedNotice(function () {
Deprecation::notice(
'4.3.0',
'Will be removed without equivalent functionality to replace it',

View File

@ -16,7 +16,7 @@ class BlogCategoriesWidgetController extends WidgetController
{
public function __construct($widget = null)
{
Deprecation::withNoReplacement(function () {
Deprecation::withSuppressedNotice(function () {
Deprecation::notice(
'4.3.0',
'Will be removed without equivalent functionality to replace it',

View File

@ -60,7 +60,7 @@ class BlogFeaturedPostsWidget extends Widget
public function __construct($record = [], $creationType = DataObject::CREATE_OBJECT, $queryParams = [])
{
Deprecation::withNoReplacement(function () {
Deprecation::withSuppressedNotice(function () {
Deprecation::notice(
'4.3.0',
'Will be removed without equivalent functionality to replace it',

View File

@ -60,7 +60,7 @@ class BlogRecentPostsWidget extends Widget
public function __construct($record = [], $creationType = DataObject::CREATE_OBJECT, $queryParams = [])
{
Deprecation::withNoReplacement(function () {
Deprecation::withSuppressedNotice(function () {
Deprecation::notice(
'4.3.0',
'Will be removed without equivalent functionality to replace it',

View File

@ -16,7 +16,7 @@ class BlogRecentPostsWidgetController extends WidgetController
{
public function __construct($widget = null)
{
Deprecation::withNoReplacement(function () {
Deprecation::withSuppressedNotice(function () {
Deprecation::notice(
'4.3.0',
'Will be removed without equivalent functionality to replace it',

View File

@ -56,7 +56,7 @@ class BlogTagsCloudWidget extends Widget
public function __construct($record = [], $creationType = DataObject::CREATE_OBJECT, $queryParams = [])
{
Deprecation::withNoReplacement(function () {
Deprecation::withSuppressedNotice(function () {
Deprecation::notice(
'4.3.0',
'Will be removed without equivalent functionality to replace it',

View File

@ -16,7 +16,7 @@ class BlogTagsCloudWidgetController extends WidgetController
{
public function __construct($widget = null)
{
Deprecation::withNoReplacement(function () {
Deprecation::withSuppressedNotice(function () {
Deprecation::notice(
'4.3.0',
'Will be removed without equivalent functionality to replace it',

View File

@ -61,7 +61,7 @@ class BlogTagsWidget extends Widget
public function __construct($record = [], $creationType = DataObject::CREATE_OBJECT, $queryParams = [])
{
Deprecation::withNoReplacement(function () {
Deprecation::withSuppressedNotice(function () {
Deprecation::notice(
'4.3.0',
'Will be removed without equivalent functionality to replace it',

View File

@ -16,7 +16,7 @@ class BlogTagsWidgetController extends WidgetController
{
public function __construct($widget = null)
{
Deprecation::withNoReplacement(function () {
Deprecation::withSuppressedNotice(function () {
Deprecation::notice(
'4.3.0',
'Will be removed without equivalent functionality to replace it',