Skip to content

Clean up ternary on ColonAfterSwitchCaseRector#7158

Merged
samsonasik merged 1 commit intomainfrom
clean-up-ternary
Aug 20, 2025
Merged

Clean up ternary on ColonAfterSwitchCaseRector#7158
samsonasik merged 1 commit intomainfrom
clean-up-ternary

Conversation

@samsonasik
Copy link
Member

Ternary nested seems removed on php-scoper, make hard to read:

Screenshot 2025-08-20 at 23 47 52

use if else for make readable and less bug because possible parentheses gone.

@samsonasik samsonasik enabled auto-merge (squash) August 20, 2025 16:49
@samsonasik samsonasik merged commit b1506ef into main Aug 20, 2025
49 checks passed
@samsonasik samsonasik deleted the clean-up-ternary branch August 20, 2025 16:50
@github-actions
Copy link
Contributor

This pull request has been automatically locked because it has been closed for 150 days. Please open a new PR if you want to continue the work.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant