Skip to content
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

Using the new Twig namespace #644

Merged
merged 1 commit into from
Sep 7, 2017

Conversation

yceruto
Copy link
Member

@yceruto yceruto commented Sep 6, 2017

Moving on to the latest changes...

@javiereguiluz
Copy link
Member

Looks great! @yceruto thanks for this.

The only thing I don't like is this change:

-    public function showSourceCode(\Twig_Environment $twig, $template)
+    public function showSourceCode(Environment $twig, $template)

Environment looks confusing and out of place, because it has nothing to do with Twig, which is what we want here.

@javiereguiluz javiereguiluz merged commit a4e5725 into symfony:master Sep 7, 2017
javiereguiluz added a commit that referenced this pull request Sep 7, 2017
This PR was merged into the master branch.

Discussion
----------

Using the new Twig namespace

Moving on to the latest changes...

Commits
-------

a4e5725 Using the new Twig namespace
@yceruto yceruto deleted the twig_namespaces branch September 7, 2017 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants