Skip to content

Reject the spread operator outside sequences, mappings, and call arguments - #4979

Merged
fabpot merged 1 commit into
twigphp:3.xfrom
fabpot:fix-spread-outside-array-arguments
Sep 28, 2026
Merged

fabpot merged 1 commit into
twigphp:3.xfrom
fabpot:fix-spread-outside-array-arguments

Conversation

@fabpot

@fabpot fabpot commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

Closes #4977

@fabpot
fabpot merged commit 3b32fb9 into twigphp:3.x Sep 28, 2026
52 of 53 checks passed
@fabpot
fabpot deleted the fix-spread-outside-array-arguments branch September 28, 2026 10:25
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.

Spread operator outside array and argument contexts emits invalid PHP

2 participants