From 8988b926e7f556715162bff7e92ee521032b0638 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 29 Oct 2024 17:58:30 +1300 Subject: [PATCH] API Use updated Versioned and Staged classes --- src/GridFieldNestedForm.php | 2 +- src/GridFieldOrderableRows.php | 2 +- tests/OrderableRowsThroughVersionedTest.php | 2 +- tests/Stub/StubOrderedVersioned.php | 2 +- tests/Stub/StubSubclassOrderedVersioned.php | 2 +- tests/Stub/ThroughBelongsVersioned.php | 2 +- tests/Stub/ThroughDefinerVersioned.php | 2 +- tests/Stub/ThroughIntermediaryVersioned.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/GridFieldNestedForm.php b/src/GridFieldNestedForm.php index 3c8fc51d..6368791f 100644 --- a/src/GridFieldNestedForm.php +++ b/src/GridFieldNestedForm.php @@ -26,7 +26,7 @@ use SilverStripe\Model\List\Filterable; use SilverStripe\ORM\Hierarchy\Hierarchy; use SilverStripe\Model\List\SS_List; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use SilverStripe\Model\ModelData; use Symbiote\GridFieldExtensions\GridFieldOrderableRows; diff --git a/src/GridFieldOrderableRows.php b/src/GridFieldOrderableRows.php index a94f4a5c..a9733f66 100755 --- a/src/GridFieldOrderableRows.php +++ b/src/GridFieldOrderableRows.php @@ -28,7 +28,7 @@ use SilverStripe\ORM\ManyManyThroughList; use SilverStripe\ORM\ManyManyThroughQueryManipulator; use SilverStripe\Model\List\SS_List; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use SilverStripe\Model\ModelData; /** diff --git a/tests/OrderableRowsThroughVersionedTest.php b/tests/OrderableRowsThroughVersionedTest.php index 2a2ab1ff..4472fa8d 100644 --- a/tests/OrderableRowsThroughVersionedTest.php +++ b/tests/OrderableRowsThroughVersionedTest.php @@ -4,7 +4,7 @@ use ReflectionMethod; use SilverStripe\Dev\SapphireTest; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use SilverStripe\Forms\GridField\GridField; use SilverStripe\Forms\GridField\GridFieldConfig_RelationEditor; use Symbiote\GridFieldExtensions\Tests\Stub\ThroughDefiner; diff --git a/tests/Stub/StubOrderedVersioned.php b/tests/Stub/StubOrderedVersioned.php index 83bc009e..e82da806 100644 --- a/tests/Stub/StubOrderedVersioned.php +++ b/tests/Stub/StubOrderedVersioned.php @@ -4,7 +4,7 @@ use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataObject; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; /** * Class StubOrderedVersioned diff --git a/tests/Stub/StubSubclassOrderedVersioned.php b/tests/Stub/StubSubclassOrderedVersioned.php index e0e112da..c69f842d 100644 --- a/tests/Stub/StubSubclassOrderedVersioned.php +++ b/tests/Stub/StubSubclassOrderedVersioned.php @@ -4,7 +4,7 @@ use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataObject; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; /** * Class StubOrderedVersioned diff --git a/tests/Stub/ThroughBelongsVersioned.php b/tests/Stub/ThroughBelongsVersioned.php index d6f695bc..5a850550 100644 --- a/tests/Stub/ThroughBelongsVersioned.php +++ b/tests/Stub/ThroughBelongsVersioned.php @@ -5,7 +5,7 @@ use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataObject; use SilverStripe\ORM\ManyManyList; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; /** * @method ManyManyList|ThroughDefinerVersioned[] Definers() diff --git a/tests/Stub/ThroughDefinerVersioned.php b/tests/Stub/ThroughDefinerVersioned.php index 9cb6af2f..7b218164 100644 --- a/tests/Stub/ThroughDefinerVersioned.php +++ b/tests/Stub/ThroughDefinerVersioned.php @@ -5,7 +5,7 @@ use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataObject; use SilverStripe\ORM\ManyManyThroughList; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; /** * @method ManyManyThroughList|ThroughIntermediaryVersioned Belongings() diff --git a/tests/Stub/ThroughIntermediaryVersioned.php b/tests/Stub/ThroughIntermediaryVersioned.php index 5ad3f145..094c833b 100644 --- a/tests/Stub/ThroughIntermediaryVersioned.php +++ b/tests/Stub/ThroughIntermediaryVersioned.php @@ -4,7 +4,7 @@ use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataObject; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; /** * @property int $DefiningID