From a67b7ef45f54f92a035ef7274d9dfca93a7b424c Mon Sep 17 00:00:00 2001 From: Sabina Talipova <87288324+sabina-talipova@users.noreply.github.com> Date: Tue, 10 Jan 2023 13:31:07 +1300 Subject: [PATCH] DEP PHP Support in CMS5 (#497) --- _config.php | 5 ----- _config/middleware.yml | 2 -- composer.json | 16 ++++++++-------- src/Controller/SubsiteXHRController.php | 3 ++- src/Model/Subsite.php | 5 +---- src/Tasks/SubsiteMigrateFileTask.php | 19 ------------------- .../features/insert-content-link.feature | 6 +++--- tests/php/SubsitesVirtualPageTest.php | 2 +- 8 files changed, 15 insertions(+), 43 deletions(-) delete mode 100644 _config.php delete mode 100644 src/Tasks/SubsiteMigrateFileTask.php diff --git a/_config.php b/_config.php deleted file mode 100644 index a3682d6..0000000 --- a/_config.php +++ /dev/null @@ -1,5 +0,0 @@ -" # Required to avoid "unsaved changes" browser dialog diff --git a/tests/php/SubsitesVirtualPageTest.php b/tests/php/SubsitesVirtualPageTest.php index 140213e..bc00cd2 100644 --- a/tests/php/SubsitesVirtualPageTest.php +++ b/tests/php/SubsitesVirtualPageTest.php @@ -5,7 +5,7 @@ namespace SilverStripe\Subsites\Tests; use Page; use SilverStripe\Assets\File; use SilverStripe\Assets\Filesystem; -use SilverStripe\Assets\Tests\Storage\AssetStoreTest\TestAssetStore; +use SilverStripe\Assets\Dev\TestAssetStore; use SilverStripe\CMS\Model\SiteTree; use SilverStripe\Control\Director; use SilverStripe\Core\Config\Config;