Skip to content

Add getOperatorTokens() to ExpressionParserInterface to separate operator token registration from parser identity#4775

Merged
fabpot merged 1 commit into
twigphp:3.xfrom
fabpot:literal-root-cause-fix
Feb 25, 2026
Merged

Add getOperatorTokens() to ExpressionParserInterface to separate operator token registration from parser identity#4775
fabpot merged 1 commit into
twigphp:3.xfrom
fabpot:literal-root-cause-fix

Conversation

@fabpot

@fabpot fabpot commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

Closes #4767
Closes #4774

Comment thread src/ExpressionParser/ExpressionParserInterface.php Outdated
@stof

stof commented Feb 24, 2026

Copy link
Copy Markdown
Member

@fabpot I'm not sure this replaces #4774 (the test being added uses and as reproducer, which will still be an operator token)

@fabpot fabpot force-pushed the literal-root-cause-fix branch 2 times, most recently from 2e21d5d to 3031d8e Compare February 24, 2026 20:12
…ator token registration from parser identity
@fabpot fabpot force-pushed the literal-root-cause-fix branch from 3031d8e to e5eb95d Compare February 24, 2026 20:13
@fabpot fabpot merged commit faa7e87 into twigphp:3.x Feb 25, 2026
40 of 41 checks passed
@fabpot fabpot deleted the literal-root-cause-fix branch February 25, 2026 08:37
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.

literal filter/operator conflict

2 participants