mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
API Use new names for renamed classes (#205)
This commit is contained in:
parent
105dba7635
commit
4cf848954e
@ -20,10 +20,10 @@ use SilverStripe\Forms\GridField\GridFieldPrintButton;
|
||||
use SilverStripe\Forms\GridField\GridFieldViewButton;
|
||||
use SilverStripe\Forms\HiddenField;
|
||||
use SilverStripe\Forms\TextField;
|
||||
use SilverStripe\ORM\ArrayList;
|
||||
use SilverStripe\Model\List\ArrayList;
|
||||
use SilverStripe\ORM\Queries\SQLSelect;
|
||||
use SilverStripe\ORM\Search\BasicSearchContext;
|
||||
use SilverStripe\View\ArrayData;
|
||||
use SilverStripe\Model\ArrayData;
|
||||
|
||||
class ArbitraryDataAdmin extends LeftAndMain
|
||||
{
|
||||
|
@ -12,7 +12,7 @@ use SilverStripe\ORM\DB;
|
||||
use SilverStripe\ORM\FieldType\DBDatetime;
|
||||
use SilverStripe\ORM\Queries\SQLDelete;
|
||||
use SilverStripe\ORM\Search\BasicSearchContext;
|
||||
use SilverStripe\View\ArrayData;
|
||||
use SilverStripe\Model\ArrayData;
|
||||
|
||||
/**
|
||||
* A class of arbitrary data for testing GridField components.
|
||||
|
@ -6,7 +6,7 @@ use SilverStripe\Assets\File;
|
||||
use SilverStripe\CMS\Model\SiteTree;
|
||||
use SilverStripe\Core\Extension;
|
||||
use SilverStripe\Forms\FieldList;
|
||||
use SilverStripe\ORM\ValidationResult;
|
||||
use SilverStripe\Core\Validation\ValidationResult;
|
||||
use SilverStripe\Forms\CompositeValidator;
|
||||
use SilverStripe\Forms\NumericField;
|
||||
use SilverStripe\Forms\RequiredFields;
|
||||
|
@ -3,7 +3,7 @@
|
||||
namespace SilverStripe\FrameworkTest\Fields\NestedGridField;
|
||||
|
||||
use SilverStripe\FrameworkTest\Model\Company;
|
||||
use SilverStripe\ORM\ArrayList;
|
||||
use SilverStripe\Model\List\ArrayList;
|
||||
use SilverStripe\ORM\DataObject;
|
||||
|
||||
class NonRelationalData extends DataObject
|
||||
|
@ -128,7 +128,7 @@ class FTPageMakerTask extends BuildTask
|
||||
/**
|
||||
* @param SiteTree&ElementalPageExtension|null $page
|
||||
* @return ElementContent
|
||||
* @throws \SilverStripe\ORM\ValidationException
|
||||
* @throws \SilverStripe\Core\Validation\ValidationException
|
||||
*/
|
||||
public static function generateContentBlock(?SiteTree $page = null)
|
||||
{
|
||||
@ -147,7 +147,7 @@ class FTPageMakerTask extends BuildTask
|
||||
/**
|
||||
* @param SiteTree&ElementalPageExtension|null $page
|
||||
* @return FileBlock
|
||||
* @throws \SilverStripe\ORM\ValidationException
|
||||
* @throws \SilverStripe\Core\Validation\ValidationException
|
||||
*/
|
||||
public static function generateFileBlock(?SiteTree $page = null): FileBlock
|
||||
{
|
||||
@ -172,7 +172,7 @@ class FTPageMakerTask extends BuildTask
|
||||
/**
|
||||
* @param SiteTree&ElementalPageExtension|null $page
|
||||
* @return BannerBlock
|
||||
* @throws \SilverStripe\ORM\ValidationException
|
||||
* @throws \SilverStripe\Core\Validation\ValidationException
|
||||
*/
|
||||
public static function generateBannerBlock(?SiteTree $page = null): BannerBlock
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user