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

Fix compatibility with Symfony 3.4 in TwigDataCollector #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 18, 2017

Conversation

emodric
Copy link
Contributor

@emodric emodric commented Oct 18, 2017

Base TwigDataCollector added a second, required parameter (twig service) in symfony/symfony#24236 so this tries to support both the old and new variant of the collector.

@emodric
Copy link
Contributor Author

emodric commented Oct 18, 2017

Ping @lolautruche

@lolautruche
Copy link
Contributor

Thanks @emodric.
Did you test out with Symfony 3.3? I guess the parent construction call shouldn't be a problem, but I prefer to ask 😇

@emodric
Copy link
Contributor Author

emodric commented Oct 18, 2017

@lolautruche Yep, tested on 3.3 and 3.4 for the same reason ;)

@lolautruche lolautruche merged commit 6693678 into ezsystems:master Oct 18, 2017
@lolautruche
Copy link
Contributor

Thanks!

@emodric
Copy link
Contributor Author

emodric commented Oct 18, 2017

Thank you @lolautruche !

symfony-splitter pushed a commit to symfony/twig-bridge that referenced this pull request Nov 7, 2017
…o0NL)

This PR was squashed before being merged into the 3.4 branch (closes #24851).

Discussion
----------

[TwigBridge] Fix BC break due required twig environment

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes/no
| Fixed tickets | symfony/symfony#24236 (comment)
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!--highly recommended for new features-->

See ezsystems/ezplatform-design-engine#12 + silexphp/Silex-WebProfiler#126 + bolt/bolt#7154

Sorry for that :)

cc @fabpot

Commits
-------

243e4b2 [TwigBridge] Fix BC break due required twig environment
nicolas-grekas added a commit to symfony/symfony that referenced this pull request Nov 7, 2017
…o0NL)

This PR was squashed before being merged into the 3.4 branch (closes #24851).

Discussion
----------

[TwigBridge] Fix BC break due required twig environment

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes/no
| Fixed tickets | #24236 (comment)
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!--highly recommended for new features-->

See ezsystems/ezplatform-design-engine#12 + silexphp/Silex-WebProfiler#126 + bolt/bolt#7154

Sorry for that :)

cc @fabpot

Commits
-------

243e4b2 [TwigBridge] Fix BC break due required twig environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

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