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

Use \Twig_BaseNodeVisitor instead of duplicated visitors code #441

Merged
merged 1 commit into from
Apr 21, 2017

Conversation

emodric
Copy link
Contributor

@emodric emodric commented Apr 21, 2017

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #425
License Apache2

Description

Okay, so it turns out there is a base class \Twig_BaseNodeVisitor in Twig that assists in BC between 1.x and 2.x node visitors (twigphp/Twig#1753), so this basically undoes most of #439 to use the base class instead.

@emodric
Copy link
Contributor Author

emodric commented Apr 21, 2017

Ping @gnat42

@gnat42 gnat42 merged commit c837dc6 into schmittjoh:master Apr 21, 2017
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.

2 participants