Closed deguif closed 7 years ago
Whoops, overlooked that one!
Thanks for correcting me @deguif :)
BTW, since my change renaming enterNode
to doEnterNode
and leaveNode
to doLeaveNode
(#441) is not tagged yet, your PR is not a BC break.
Just updated the PR description so that it's not marked anymore as a BC break
Description
Previous PR by @emodric added the Twig 2.0 compatibility by extending the
\Twig_BaseNodeVisitor
on twig visitor nodes. But the methodsdoEnterNode
anddoLeaveNode
are declared protected on inherited class.This PR declare these methods as protected as they should be. I flagged this as BC break because of this, but not sure if it's relevant in this case.