Skip to content

[Php70] Keep inner ternary parentheses on TernaryToNullCoalescingRector - #8921

Merged
TomasVotruba merged 2 commits into
mainfrom
ternary-p
Nov 4, 2026
Merged

TomasVotruba merged 2 commits into
mainfrom
ternary-p

Conversation

@samsonasik

Copy link
Copy Markdown
Member

Fixes #8910

@samsonasik

Copy link
Copy Markdown
Member Author

Fixed 🎉 /cc @zoliszabo

@samsonasik

Copy link
Copy Markdown
Member Author

@TomasVotruba ready 👍

@TomasVotruba
TomasVotruba merged commit 0532a89 into main Nov 4, 2026
51 checks passed
@TomasVotruba
TomasVotruba deleted the ternary-p branch November 4, 2026 13:22
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.

TernaryToNullCoalescingRector strips unrelated () and breaks the code

2 participants