Closed dunglas closed 7 years ago
LGTM on the principle, i'm just a bit affraid about BC: Does twig allow several registration of the same extension ? If not, this may conflict in an existing application in case those extensions are registered under a different service id. Having https://github.com/symfony/symfony/pull/20940 would be great to solve this kind of problems.
I don't know, but it's still possible to disable this behavior by removing the Twig
directory from the list of watched dirs.
This is indeed a BC break. Not a big one IMO and as the package is not stable it's ok, but it should be at least mentioned in an UPGRADE.md
UPGRADE file added.
👍
WDYT of this @GuilhemN?