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 correct lineno for ForElseNode #4572

Merged
merged 1 commit into from
Feb 7, 2025
Merged

Conversation

ruudk
Copy link
Contributor

@ruudk ruudk commented Feb 7, 2025

It should take the line number of the {% else %} block.

It should take the line number of the `{% else %}` block.
ruudk added a commit to twigstan/twigstan that referenced this pull request Feb 7, 2025
Until this is fixed upstream: twigphp/Twig#4572
ruudk added a commit to twigstan/twigstan that referenced this pull request Feb 7, 2025
* Make compatible with Twig 4

* Bump minimum required Twig version

* Use wrong line number

Until this is fixed upstream: twigphp/Twig#4572
@fabpot
Copy link
Contributor

fabpot commented Feb 7, 2025

Thank you @ruudk.

@fabpot fabpot merged commit 7f12e87 into twigphp:3.x Feb 7, 2025
41 checks passed
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.

3 participants