-
Notifications
You must be signed in to change notification settings - Fork 435
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
Drop useless call to end method #1359
Conversation
Due to this, upgrading from SF 6.4.7 to more recent versions is impossible.
sorry, I might be missing something. What has been changed, except for indentions? |
@makasim at the end of the method there were three calls to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change is correct.
We accidentally went and called Node::end()
one additional time. Because there is no node above (which is what end
method gives) it started failing once this method became strong-typed in Symfony.
In theory there is no need to call end()
method at all, if we're not interested in traversing the tree. But it is done across all Symfony examples and is otherwise safe to do.
Base on the explanation, it's ok for me, but can you add indentation please ? |
got it, thanks! |
@makasim can you please create a new tag? Thanks in advance 🙂 |
Due to this, upgrading from SF 6.4.7 to more recent versions is impossible.
Output from the
cache:clear
after upgrade: