Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Oct 29, 2025

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
Member

@TomasVotruba I've taken care of it :)

@samsonasik
Copy link
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants