From 488d7b5ce094b07cd8662fdfc3ee61758525c63b Mon Sep 17 00:00:00 2001 From: Sabina Talipova Date: Tue, 13 Dec 2022 16:36:42 +1300 Subject: [PATCH] DEP PHP Support in CMS5 --- _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 a3682d6a..00000000 --- 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 140213e4..bc00cd24 100644 --- a/tests/php/SubsitesVirtualPageTest.php +++ b/tests/php/SubsitesVirtualPageTest.php @@ -5,7 +5,7 @@ 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;