Skip to content

[CodeQuality] Skip with HTML on ShortenElseIfRector - #7686

Merged
TomasVotruba merged 2 commits into
mainfrom
skip-with-html
Nov 29, 2025
Merged

[CodeQuality] Skip with HTML on ShortenElseIfRector#7686
TomasVotruba merged 2 commits into
mainfrom
skip-with-html

Conversation

@samsonasik

Copy link
Copy Markdown
Member

@samsonasik

Copy link
Copy Markdown
Member Author

Fixed 🎉 /cc @LordSimal

@samsonasik

Copy link
Copy Markdown
Member Author

packagist seems down right now, will restart the build later

@LordSimal

Copy link
Copy Markdown
Contributor

Thanks, that indeed fixed the problem. But as far as I can tell this just "skips" any PHP file, which also contains HTML, right?

@samsonasik

samsonasik commented Nov 29, 2025

Copy link
Copy Markdown
Member Author

Yeah, if elseif else tweak should not apply on code that contains HTML.

@samsonasik

Copy link
Copy Markdown
Member Author

All checks have passed 🎉 @TomasVotruba I think it is ready.

@TomasVotruba

Copy link
Copy Markdown
Member

Looks good 👌

@TomasVotruba
TomasVotruba merged commit 89b8e07 into main Nov 29, 2025
55 checks passed
@TomasVotruba
TomasVotruba deleted the skip-with-html branch November 29, 2025 19:52
@github-actions

github-actions Bot commented May 3, 2026

Copy link
Copy Markdown
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 May 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect behavior of ShortenElseIfRector

4 participants