From 7fe629a08645ba9ca88b84d1166a382e1d3ca2a5 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 2 Sep 2024 17:42:32 +1200 Subject: [PATCH] API Use correct version for deprecation --- src/GraphQL/Operations/AbstractPublishOperationCreator.php | 2 +- src/GraphQL/Operations/CopyToStageCreator.php | 2 +- src/GraphQL/Operations/PublishCreator.php | 2 +- src/GraphQL/Operations/RollbackCreator.php | 2 +- src/GraphQL/Operations/UnpublishCreator.php | 2 +- src/GraphQL/Plugins/UnpublishOnDelete.php | 2 +- src/GraphQL/Plugins/VersionedDataObject.php | 2 +- src/GraphQL/Plugins/VersionedRead.php | 2 +- src/GraphQL/Resolvers/VersionFilters.php | 2 +- src/GraphQL/Resolvers/VersionedResolver.php | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/GraphQL/Operations/AbstractPublishOperationCreator.php b/src/GraphQL/Operations/AbstractPublishOperationCreator.php index 21c2d37b..a707563e 100644 --- a/src/GraphQL/Operations/AbstractPublishOperationCreator.php +++ b/src/GraphQL/Operations/AbstractPublishOperationCreator.php @@ -46,7 +46,7 @@ abstract class AbstractPublishOperationCreator implements OperationCreator 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/src/GraphQL/Operations/CopyToStageCreator.php b/src/GraphQL/Operations/CopyToStageCreator.php index b690cda6..b43e71ce 100644 --- a/src/GraphQL/Operations/CopyToStageCreator.php +++ b/src/GraphQL/Operations/CopyToStageCreator.php @@ -36,7 +36,7 @@ class CopyToStageCreator implements OperationCreator 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/src/GraphQL/Operations/PublishCreator.php b/src/GraphQL/Operations/PublishCreator.php index 6d03e882..34c521a9 100644 --- a/src/GraphQL/Operations/PublishCreator.php +++ b/src/GraphQL/Operations/PublishCreator.php @@ -21,7 +21,7 @@ class PublishCreator extends AbstractPublishOperationCreator 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/src/GraphQL/Operations/RollbackCreator.php b/src/GraphQL/Operations/RollbackCreator.php index 37422434..a7043797 100644 --- a/src/GraphQL/Operations/RollbackCreator.php +++ b/src/GraphQL/Operations/RollbackCreator.php @@ -35,7 +35,7 @@ class RollbackCreator implements OperationCreator 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/src/GraphQL/Operations/UnpublishCreator.php b/src/GraphQL/Operations/UnpublishCreator.php index f49e9641..bc542c0c 100644 --- a/src/GraphQL/Operations/UnpublishCreator.php +++ b/src/GraphQL/Operations/UnpublishCreator.php @@ -21,7 +21,7 @@ class UnpublishCreator extends AbstractPublishOperationCreator 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/src/GraphQL/Plugins/UnpublishOnDelete.php b/src/GraphQL/Plugins/UnpublishOnDelete.php index 20a805a6..fa6756c2 100644 --- a/src/GraphQL/Plugins/UnpublishOnDelete.php +++ b/src/GraphQL/Plugins/UnpublishOnDelete.php @@ -33,7 +33,7 @@ class UnpublishOnDelete implements ModelMutationPlugin 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/src/GraphQL/Plugins/VersionedDataObject.php b/src/GraphQL/Plugins/VersionedDataObject.php index b8c91028..acc246cb 100644 --- a/src/GraphQL/Plugins/VersionedDataObject.php +++ b/src/GraphQL/Plugins/VersionedDataObject.php @@ -41,7 +41,7 @@ class VersionedDataObject implements ModelTypePlugin, 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); }); } diff --git a/src/GraphQL/Plugins/VersionedRead.php b/src/GraphQL/Plugins/VersionedRead.php index 847d47cf..3d1f9c46 100644 --- a/src/GraphQL/Plugins/VersionedRead.php +++ b/src/GraphQL/Plugins/VersionedRead.php @@ -27,7 +27,7 @@ class VersionedRead implements ModelQueryPlugin 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/src/GraphQL/Resolvers/VersionFilters.php b/src/GraphQL/Resolvers/VersionFilters.php index d0e8816d..559d3bf5 100644 --- a/src/GraphQL/Resolvers/VersionFilters.php +++ b/src/GraphQL/Resolvers/VersionFilters.php @@ -18,7 +18,7 @@ class VersionFilters 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/src/GraphQL/Resolvers/VersionedResolver.php b/src/GraphQL/Resolvers/VersionedResolver.php index bd8a5238..ef805466 100644 --- a/src/GraphQL/Resolvers/VersionedResolver.php +++ b/src/GraphQL/Resolvers/VersionedResolver.php @@ -33,7 +33,7 @@ class VersionedResolver 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); }); }