Skip to content

[Php74] Fix indentation space on ClosureToArrowFunctionRector with comment inner closure - #7779

Merged
TomasVotruba merged 4 commits into
mainfrom
fix-indentation-space
Dec 28, 2025
Merged

[Php74] Fix indentation space on ClosureToArrowFunctionRector with comment inner closure#7779
TomasVotruba merged 4 commits into
mainfrom
fix-indentation-space

Conversation

@samsonasik

@samsonasik samsonasik commented Dec 28, 2025

Copy link
Copy Markdown
Member

Moving comment to outer closure into replaced arrow function should make comment in current level of parent indent, not inside indent.

It ony indent when it assigned to variable.

This PR fix it.

@samsonasik

Copy link
Copy Markdown
Member Author

@TomasVotruba ready 👍

@TomasVotruba
TomasVotruba merged commit afd6b04 into main Dec 28, 2025
69 of 74 checks passed
@TomasVotruba
TomasVotruba deleted the fix-indentation-space branch December 28, 2025 21:00
@TomasVotruba

Copy link
Copy Markdown
Member

Looks good 👏

@github-actions

github-actions Bot commented Sep 6, 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 Sep 6, 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.

2 participants