Skip to content

[DX] Avoid supporting edge-case multi-layered comments, must be covered in php-parser itself#4743

Merged
TomasVotruba merged 3 commits intomainfrom
tv-simples-2
Aug 9, 2023
Merged

[DX] Avoid supporting edge-case multi-layered comments, must be covered in php-parser itself#4743
TomasVotruba merged 3 commits intomainfrom
tv-simples-2

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

@TomasVotruba TomasVotruba commented Aug 9, 2023

We cannot support these, as it's responsibility of php-parser that stores comments to the particular nodes. Should be handled first there.

Also, such comments seem like code smell and should be avoided.

@TomasVotruba TomasVotruba changed the title tv simples 2 [WIP] tv simples 2 Aug 9, 2023
@TomasVotruba TomasVotruba force-pushed the tv-simples-2 branch 3 times, most recently from 8adbe92 to 9e96bc7 Compare August 9, 2023 14:58
@TomasVotruba TomasVotruba changed the title [WIP] tv simples 2 [DX] Avoid supporting edge-case multi-layered comments, must be covered in php-parser itself Aug 9, 2023
@TomasVotruba TomasVotruba merged commit defd4e2 into main Aug 9, 2023
@TomasVotruba TomasVotruba deleted the tv-simples-2 branch August 9, 2023 15:02
@samsonasik
Copy link
Copy Markdown
Member

/cc @neveldo FYI

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.

2 participants