Skip to content

Commit

Permalink
ENH Don't use deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Sep 17, 2024
1 parent 76f8044 commit 51fc75b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Dev/Build.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Build extends Controller
public function __construct()
{
parent::__construct();
Deprecation::withNoReplacement(function () {
Deprecation::withSuppressedWarning(function () {
Deprecation::notice(
'5.4.0',
'Will be replaced with SilverStripe\GraphQL\Dev\SchemaBuild',
Expand Down
2 changes: 1 addition & 1 deletion src/Dev/DevelopmentAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class DevelopmentAdmin extends Controller implements PermissionProvider
public function __construct()
{
parent::__construct();
Deprecation::withNoReplacement(function () {
Deprecation::withSuppressedWarning(function () {
Deprecation::notice(
'5.4.0',
'Will be removed without equivalent functionality to replace it',
Expand Down
2 changes: 1 addition & 1 deletion src/Extensions/DevBuildExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class DevBuildExtension extends DataExtension
public function __construct()
{
parent::__construct();
Deprecation::withNoReplacement(function () {
Deprecation::withSuppressedWarning(function () {
Deprecation::notice(
'5.4.0',
'Will be replaced with SilverStripe\GraphQL\Extensions\DbBuildExtension',
Expand Down

0 comments on commit 51fc75b

Please sign in to comment.