Skip to content

[php 8.5] Split of nested functions calls to pipe operator in a new standalone rule#7603

Merged
samsonasik merged 4 commits into
mainfrom
tv-nested-functions-to-pipe
Oct 29, 2025
Merged

[php 8.5] Split of nested functions calls to pipe operator in a new standalone rule#7603
samsonasik merged 4 commits into
mainfrom
tv-nested-functions-to-pipe

Conversation

@TomasVotruba

@TomasVotruba TomasVotruba commented Oct 29, 2025

Copy link
Copy Markdown
Member

Before

return trim(strtolower(htmlspecialchars('  Hello World!  ')));


return '  Hello World!  '
            |> htmlspecialchars(...)
            |> strtolower(...)
            |> trim(...);

After

@TomasVotruba TomasVotruba changed the title tv nested functions to pipe [php 8.5] Split of nested functions calls to pipe operator in a new standalone rule Oct 29, 2025
@samsonasik
samsonasik self-requested a review October 29, 2025 13:44
@samsonasik samsonasik self-assigned this Oct 29, 2025
@samsonasik
samsonasik removed their request for review October 29, 2025 13:45
@samsonasik

Copy link
Copy Markdown
Member

@TomasVotruba I've taken care of it :)

@samsonasik

Copy link
Copy Markdown
Member

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

@samsonasik
samsonasik merged commit 8376d26 into main Oct 29, 2025
53 checks passed
@samsonasik
samsonasik deleted the tv-nested-functions-to-pipe branch October 29, 2025 13:46
@github-actions

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 Mar 29, 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