Open oldy777 opened 2 years ago
Hi, @oldy777. I've started working on sf5 in this PR but it's not a trivial task as they have dropped the built-in support for multiple templating engines. I'll get in touch with the core team.
My plan is to release a stable 4.0 SmartyBundle release this month then have the master
branch free for sf5 support work.
@vitorbrandao Hi! Do you have plans to add sf5 support? I faced some problems trying to adopt it for sf5.
There is no tempting section in framework config, so you need use SmartyEngin directly
There is not
kernel.root_dir
var. Now we havekernel.project_dir
. And default folder is templatesSmall change we need in \NoiseLabs\Bundle\SmartyBundle\Extension\SecurityExtension
EngineInterface namespace changed;
Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplateFinderInterface
removed without replacementThe biggest problem FileLocator interface changed. Now we can't inject anything in FileLocator except $kernel
Small problems with tests. They can be easily solved except this problem with FileLocator