Skip to content

Upgrade to 3.4-BETA problem  #24616

@atailouloute

Description

@atailouloute
Q A
Bug report? yes
Feature request? no
BC Break report? yes
RFC? no
Symfony version 3.4.0-BETA1

Hello,

I am using Symfony 3.3 on a project in which I am using TwigRendererInterface as a dependency for a service, and the injected service is @twig.form.engine, it works great since the service implements the mentioned interface.

But when I upgraded the project to the 3.4 version, I got an exception because the service @twig.form.engine does not implement the interface TwigRendererInterface anymore (changes made in commit 6ea71cb#diff-5eb0532c96734f6e23428e921225b2f0) , for me the solution is simple, I had just to change the type-hint, but I am thinking if this would be a BC break?

Best regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions