Skip to content

Too coupled bundles and packages #6238

Closed
@hason

Description

@hason

If I turn on bundles FrameworkBundle and TwigBundle and set the configuration:

framework:
  form:
    enabled: false
  translator:
    enabled: false

my application throws the exception Fatal error: Class 'Symfony\Component\Form\FormRenderer' not found in .../vendor/symfony/twig-bridge/Symfony/Bridge/Twig/Form/TwigRenderer.php.

TwigBundle doesn't respect configuration from FrameworkBundle and automatically registers extensions for optional packages symfony/form and symfony/translation.

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