Skip to content

Commit

Permalink
bug #36777 [TwigBundle] FormExtension does not have a constructor any…
Browse files Browse the repository at this point in the history
…more since sf 4.0 (Tobion)

This PR was merged into the 4.4 branch.

Discussion
----------

[TwigBundle] FormExtension does not have a constructor anymore since sf 4.0

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       |
| License       | MIT
| Doc PR        |

Commits
-------

35e391a [TwigBundle] FormExtension does not have a constructor anymore since sf 4.0
  • Loading branch information
fabpot committed May 10, 2020
2 parents 333f718 + 35e391a commit 6541ac2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Symfony/Bundle/TwigBundle/Resources/config/form.xml
Expand Up @@ -6,12 +6,7 @@
<services>
<defaults public="false" />

<service id="twig.extension.form" class="Symfony\Bridge\Twig\Extension\FormExtension">
<argument type="collection">
<argument type="service" id="service_container" />
<argument>twig.form.renderer</argument>
</argument>
</service>
<service id="twig.extension.form" class="Symfony\Bridge\Twig\Extension\FormExtension" />

<service id="twig.form.engine" class="Symfony\Bridge\Twig\Form\TwigRendererEngine">
<argument>%twig.form.resources%</argument>
Expand Down

0 comments on commit 6541ac2

Please sign in to comment.