API Use new names for renamed classes (#205)

This commit is contained in:
Guy Sartorelli 2024-09-23 14:34:06 +12:00 committed by GitHub
parent 105dba7635
commit 4cf848954e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 8 additions and 8 deletions

View File

@ -20,10 +20,10 @@ use SilverStripe\Forms\GridField\GridFieldPrintButton;
use SilverStripe\Forms\GridField\GridFieldViewButton; use SilverStripe\Forms\GridField\GridFieldViewButton;
use SilverStripe\Forms\HiddenField; use SilverStripe\Forms\HiddenField;
use SilverStripe\Forms\TextField; use SilverStripe\Forms\TextField;
use SilverStripe\ORM\ArrayList; use SilverStripe\Model\List\ArrayList;
use SilverStripe\ORM\Queries\SQLSelect; use SilverStripe\ORM\Queries\SQLSelect;
use SilverStripe\ORM\Search\BasicSearchContext; use SilverStripe\ORM\Search\BasicSearchContext;
use SilverStripe\View\ArrayData; use SilverStripe\Model\ArrayData;
class ArbitraryDataAdmin extends LeftAndMain class ArbitraryDataAdmin extends LeftAndMain
{ {

View File

@ -12,7 +12,7 @@ use SilverStripe\ORM\DB;
use SilverStripe\ORM\FieldType\DBDatetime; use SilverStripe\ORM\FieldType\DBDatetime;
use SilverStripe\ORM\Queries\SQLDelete; use SilverStripe\ORM\Queries\SQLDelete;
use SilverStripe\ORM\Search\BasicSearchContext; use SilverStripe\ORM\Search\BasicSearchContext;
use SilverStripe\View\ArrayData; use SilverStripe\Model\ArrayData;
/** /**
* A class of arbitrary data for testing GridField components. * A class of arbitrary data for testing GridField components.

View File

@ -6,7 +6,7 @@ use SilverStripe\Assets\File;
use SilverStripe\CMS\Model\SiteTree; use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\Core\Extension; use SilverStripe\Core\Extension;
use SilverStripe\Forms\FieldList; use SilverStripe\Forms\FieldList;
use SilverStripe\ORM\ValidationResult; use SilverStripe\Core\Validation\ValidationResult;
use SilverStripe\Forms\CompositeValidator; use SilverStripe\Forms\CompositeValidator;
use SilverStripe\Forms\NumericField; use SilverStripe\Forms\NumericField;
use SilverStripe\Forms\RequiredFields; use SilverStripe\Forms\RequiredFields;

View File

@ -3,7 +3,7 @@
namespace SilverStripe\FrameworkTest\Fields\NestedGridField; namespace SilverStripe\FrameworkTest\Fields\NestedGridField;
use SilverStripe\FrameworkTest\Model\Company; use SilverStripe\FrameworkTest\Model\Company;
use SilverStripe\ORM\ArrayList; use SilverStripe\Model\List\ArrayList;
use SilverStripe\ORM\DataObject; use SilverStripe\ORM\DataObject;
class NonRelationalData extends DataObject class NonRelationalData extends DataObject

View File

@ -128,7 +128,7 @@ class FTPageMakerTask extends BuildTask
/** /**
* @param SiteTree&ElementalPageExtension|null $page * @param SiteTree&ElementalPageExtension|null $page
* @return ElementContent * @return ElementContent
* @throws \SilverStripe\ORM\ValidationException * @throws \SilverStripe\Core\Validation\ValidationException
*/ */
public static function generateContentBlock(?SiteTree $page = null) public static function generateContentBlock(?SiteTree $page = null)
{ {
@ -147,7 +147,7 @@ class FTPageMakerTask extends BuildTask
/** /**
* @param SiteTree&ElementalPageExtension|null $page * @param SiteTree&ElementalPageExtension|null $page
* @return FileBlock * @return FileBlock
* @throws \SilverStripe\ORM\ValidationException * @throws \SilverStripe\Core\Validation\ValidationException
*/ */
public static function generateFileBlock(?SiteTree $page = null): FileBlock public static function generateFileBlock(?SiteTree $page = null): FileBlock
{ {
@ -172,7 +172,7 @@ class FTPageMakerTask extends BuildTask
/** /**
* @param SiteTree&ElementalPageExtension|null $page * @param SiteTree&ElementalPageExtension|null $page
* @return BannerBlock * @return BannerBlock
* @throws \SilverStripe\ORM\ValidationException * @throws \SilverStripe\Core\Validation\ValidationException
*/ */
public static function generateBannerBlock(?SiteTree $page = null): BannerBlock public static function generateBannerBlock(?SiteTree $page = null): BannerBlock
{ {