From 5cbea126f427a75a72774e2094c8341e67ad9d57 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Tue, 17 Sep 2024 13:43:38 +1200 Subject: [PATCH] API Use new names for renamed classes --- src/Forms/GridFieldPrintReportButton.php | 4 ++-- tests/php/UserSecurityReportTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Forms/GridFieldPrintReportButton.php b/src/Forms/GridFieldPrintReportButton.php index 95439d1..eab153b 100644 --- a/src/Forms/GridFieldPrintReportButton.php +++ b/src/Forms/GridFieldPrintReportButton.php @@ -4,10 +4,10 @@ use SilverStripe\Forms\GridField\GridField; use SilverStripe\Forms\GridField\GridFieldPrintButton; -use SilverStripe\ORM\ArrayList; +use SilverStripe\Model\List\ArrayList; use SilverStripe\ORM\FieldType\DBDatetime; use SilverStripe\Security\Security; -use SilverStripe\View\ArrayData; +use SilverStripe\Model\ArrayData; /** * An extension to GridFieldPrintButton to support printing custom Reports diff --git a/tests/php/UserSecurityReportTest.php b/tests/php/UserSecurityReportTest.php index 9fa143c..67965d8 100644 --- a/tests/php/UserSecurityReportTest.php +++ b/tests/php/UserSecurityReportTest.php @@ -3,7 +3,7 @@ namespace SilverStripe\SecurityReport\Tests; use SilverStripe\Core\Config\Config; -use SilverStripe\ORM\ArrayList; +use SilverStripe\Model\List\ArrayList; use SilverStripe\Security\Group; use SilverStripe\Security\Member; use SilverStripe\Security\Security;