Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[FrameworkBundle] templating_php.xml is loaded even when php engine is not enabled #11748

Copy link
Copy link
Closed
@pgodel

Description

@pgodel
Issue body actions

I was working on a fix for another issue that required me to disable the router. Disabling the router triggered this error:

[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
The service "templating.helper.router" has a dependency on a non-existent service "router".

templating.helper.router is defined in templating_php.xml, but I do not have php listed in the templating engines in config.yml

Do we really need to load templating_php.xml and define all those services when php templating engine is not used?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.