Skip to content

[Php80] Add more exact Expr node that always bool for match(true) usage on ChangeSwitchToMatchRector#6965

Merged
samsonasik merged 6 commits intomainfrom
logic
Jun 9, 2025
Merged

[Php80] Add more exact Expr node that always bool for match(true) usage on ChangeSwitchToMatchRector#6965
samsonasik merged 6 commits intomainfrom
logic

Conversation

@samsonasik
Copy link
Member

@samsonasik
Copy link
Member Author

This also re-use and logic on BoolReturnTypeFromBooleanStrictReturnsRector

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging ;)

@samsonasik samsonasik merged commit da52751 into main Jun 9, 2025
45 checks passed
@samsonasik samsonasik deleted the logic branch June 9, 2025 10:02
@samsonasik samsonasik changed the title [Php80] Add more exact Expr node that always bool for switch(true) usage on ChangeSwitchToMatchRector [Php80] Add more exact Expr node that always bool for match(true) usage on ChangeSwitchToMatchRector Jun 9, 2025
@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 Nov 28, 2025
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.

2 participants