diff --git a/composer.json b/composer.json index c9b5b36d..3b3b0e64 100644 --- a/composer.json +++ b/composer.json @@ -21,6 +21,7 @@ "require": { "php": "^8.3", "silverstripe/framework": "^6", + "silverstripe/template-engine": "^1", "silverstripe/vendor-plugin": "^2", "symfony/filesystem": "^7.0", "intervention/image": "^3.7", diff --git a/src/Shortcodes/FileShortcodeProvider.php b/src/Shortcodes/FileShortcodeProvider.php index 2a9bcd27..f4b6a284 100644 --- a/src/Shortcodes/FileShortcodeProvider.php +++ b/src/Shortcodes/FileShortcodeProvider.php @@ -18,7 +18,7 @@ use SilverStripe\View\HTML; use SilverStripe\View\Parsers\ShortcodeHandler; use SilverStripe\View\Parsers\ShortcodeParser; -use SilverStripe\View\SSTemplateEngine; +use SilverStripe\TemplateEngine\SSTemplateEngine; use SilverStripe\View\SSViewer; use SilverStripe\View\ViewLayerData; diff --git a/tests/php/ImageManipulationTest.php b/tests/php/ImageManipulationTest.php index 22111d45..dfa669de 100644 --- a/tests/php/ImageManipulationTest.php +++ b/tests/php/ImageManipulationTest.php @@ -23,7 +23,7 @@ use SilverStripe\Core\Injector\Injector; use SilverStripe\Dev\SapphireTest; use PHPUnit\Framework\Attributes\DataProvider; -use SilverStripe\View\SSTemplateEngine; +use SilverStripe\TemplateEngine\SSTemplateEngine; use SilverStripe\View\ViewLayerData; /**