From 733358c942469ebdea2cbede4fc554a90faac265 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 2 Sep 2024 17:42:07 +1200 Subject: [PATCH] API Use correct version for deprecation --- code/GraphQL/FileFilter.php | 2 +- code/GraphQL/Notice.php | 2 +- code/GraphQL/Resolvers/AssetAdminResolver.php | 2 +- code/GraphQL/Resolvers/FieldResolver.php | 2 +- code/GraphQL/Resolvers/FileTypeResolver.php | 2 +- code/GraphQL/Resolvers/FolderTypeResolver.php | 2 +- code/GraphQL/Resolvers/PublicationResolver.php | 2 +- code/GraphQL/Schema/Builder.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/code/GraphQL/FileFilter.php b/code/GraphQL/FileFilter.php index 0638feb53..28510fcdf 100644 --- a/code/GraphQL/FileFilter.php +++ b/code/GraphQL/FileFilter.php @@ -20,7 +20,7 @@ class FileFilter public function __construct() { Deprecation::withNoReplacement(function () { - Deprecation::notice('5.3.0', 'Will be moved to the silverstripe/graphql module', Deprecation::SCOPE_CLASS); + Deprecation::notice('2.3.0', 'Will be moved to the silverstripe/graphql module', Deprecation::SCOPE_CLASS); }); } diff --git a/code/GraphQL/Notice.php b/code/GraphQL/Notice.php index 6e7567b0f..b13b74b7d 100644 --- a/code/GraphQL/Notice.php +++ b/code/GraphQL/Notice.php @@ -39,7 +39,7 @@ class Notice public function __construct($message, $noticeType, $ids = []) { Deprecation::withNoReplacement(function () { - Deprecation::notice('5.3.0', 'Will be moved to the silverstripe/graphql module', Deprecation::SCOPE_CLASS); + Deprecation::notice('2.3.0', 'Will be moved to the silverstripe/graphql module', Deprecation::SCOPE_CLASS); }); $this->message = $message; $this->noticeType = $noticeType; diff --git a/code/GraphQL/Resolvers/AssetAdminResolver.php b/code/GraphQL/Resolvers/AssetAdminResolver.php index c63f1a11c..c39a74124 100644 --- a/code/GraphQL/Resolvers/AssetAdminResolver.php +++ b/code/GraphQL/Resolvers/AssetAdminResolver.php @@ -26,7 +26,7 @@ class AssetAdminResolver public function __construct() { Deprecation::withNoReplacement(function () { - Deprecation::notice('5.3.0', 'Will be moved to the silverstripe/graphql module', Deprecation::SCOPE_CLASS); + Deprecation::notice('2.3.0', 'Will be moved to the silverstripe/graphql module', Deprecation::SCOPE_CLASS); }); } diff --git a/code/GraphQL/Resolvers/FieldResolver.php b/code/GraphQL/Resolvers/FieldResolver.php index 34b7a4b47..d4cd23aa8 100644 --- a/code/GraphQL/Resolvers/FieldResolver.php +++ b/code/GraphQL/Resolvers/FieldResolver.php @@ -15,7 +15,7 @@ class FieldResolver public function __construct() { Deprecation::withNoReplacement(function () { - Deprecation::notice('5.3.0', 'Will be moved to the silverstripe/graphql module', Deprecation::SCOPE_CLASS); + Deprecation::notice('2.3.0', 'Will be moved to the silverstripe/graphql module', Deprecation::SCOPE_CLASS); }); } diff --git a/code/GraphQL/Resolvers/FileTypeResolver.php b/code/GraphQL/Resolvers/FileTypeResolver.php index a2e04a82f..48f0841ee 100644 --- a/code/GraphQL/Resolvers/FileTypeResolver.php +++ b/code/GraphQL/Resolvers/FileTypeResolver.php @@ -24,7 +24,7 @@ class FileTypeResolver public function __construct() { Deprecation::withNoReplacement(function () { - Deprecation::notice('5.3.0', 'Will be moved to the silverstripe/graphql module', Deprecation::SCOPE_CLASS); + Deprecation::notice('2.3.0', 'Will be moved to the silverstripe/graphql module', Deprecation::SCOPE_CLASS); }); } diff --git a/code/GraphQL/Resolvers/FolderTypeResolver.php b/code/GraphQL/Resolvers/FolderTypeResolver.php index 971e251b3..6aca49e27 100644 --- a/code/GraphQL/Resolvers/FolderTypeResolver.php +++ b/code/GraphQL/Resolvers/FolderTypeResolver.php @@ -29,7 +29,7 @@ class FolderTypeResolver public function __construct() { Deprecation::withNoReplacement(function () { - Deprecation::notice('5.3.0', 'Will be moved to the silverstripe/graphql module', Deprecation::SCOPE_CLASS); + Deprecation::notice('2.3.0', 'Will be moved to the silverstripe/graphql module', Deprecation::SCOPE_CLASS); }); } diff --git a/code/GraphQL/Resolvers/PublicationResolver.php b/code/GraphQL/Resolvers/PublicationResolver.php index 18790a634..1500cd8fc 100644 --- a/code/GraphQL/Resolvers/PublicationResolver.php +++ b/code/GraphQL/Resolvers/PublicationResolver.php @@ -24,7 +24,7 @@ class PublicationResolver public function __construct() { Deprecation::withNoReplacement(function () { - Deprecation::notice('5.3.0', 'Will be moved to the silverstripe/graphql module', Deprecation::SCOPE_CLASS); + Deprecation::notice('2.3.0', 'Will be moved to the silverstripe/graphql module', Deprecation::SCOPE_CLASS); }); } diff --git a/code/GraphQL/Schema/Builder.php b/code/GraphQL/Schema/Builder.php index c9fe99f81..0d0e7df1b 100644 --- a/code/GraphQL/Schema/Builder.php +++ b/code/GraphQL/Schema/Builder.php @@ -22,7 +22,7 @@ class Builder implements SchemaUpdater public function __construct() { Deprecation::withNoReplacement(function () { - Deprecation::notice('5.3.0', 'Will be moved to the silverstripe/graphql module', Deprecation::SCOPE_CLASS); + Deprecation::notice('2.3.0', 'Will be moved to the silverstripe/graphql module', Deprecation::SCOPE_CLASS); }); }