Closed
Description
Q | A |
---|---|
Bug report? | no |
Feature request? | yes |
BC Break report? | no |
RFC? | yes |
Symfony version | 3.4, 4.0 |
The proposal, according to the new directory structure for 3.4/4.0
applications, deprecate:
AcmeBundle/Resources/views
in favor ofAcmeBundle/Resources/templates
.%kernel.root_dir%/Resources/views
in favor oftwig.default_path
.%kernel.root_dir%/Resources/<BundleName>/views
in favor oftemplates/bundles/<BundleName>
.
the last two are ready, but we have not done the deprecation notice in 3.4
if the old path exists and it is not added manually to the twig.paths
list.
It would eliminate future confusion about two different names with the same concept within the Symfony world. Same modus operadi, deprecate in 3.4
and remove in 4.0
.
What do you think?
Metadata
Metadata
Assignees
Labels
No labels