From 7802b681dc0223d463fa5ddea53c81a1291a9232 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Thu, 12 Sep 2024 12:22:52 +1200 Subject: [PATCH] API Use new names for renamed classes --- src/ErrorPage.php | 2 +- tests/ErrorPageTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ErrorPage.php b/src/ErrorPage.php index 1964f54..dae68d0 100644 --- a/src/ErrorPage.php +++ b/src/ErrorPage.php @@ -17,7 +17,7 @@ use SilverStripe\Forms\DropdownField; use SilverStripe\Forms\FieldList; use SilverStripe\ORM\DB; -use SilverStripe\ORM\ValidationException; +use SilverStripe\Core\Validation\ValidationException; use SilverStripe\Security\Member; use SilverStripe\View\Requirements; use SilverStripe\View\SSViewer; diff --git a/tests/ErrorPageTest.php b/tests/ErrorPageTest.php index c730fe3..4974313 100644 --- a/tests/ErrorPageTest.php +++ b/tests/ErrorPageTest.php @@ -15,7 +15,7 @@ use SilverStripe\Dev\FunctionalTest; use SilverStripe\ErrorPage\ErrorPage; use SilverStripe\ORM\DB; -use SilverStripe\ORM\ValidationException; +use SilverStripe\Core\Validation\ValidationException; use SilverStripe\Versioned\Versioned; use SilverStripe\View\SSViewer; use PHPUnit\Framework\Attributes\DataProvider;