Wrapping Issue with PHP

Wrapping chained methods, doesn't work properly if there's a '?' character in php:


The above, coupled with "Wrap Always" in Chained Method Calls, becomes:



The question mark should move down, or maybe the whole ?-> should move up?

Also, could there be a "Chop down always" like the "Wrap always"?

1 comment
Comment actions Permalink

Thanks for sharing this. Reported as https://youtrack.jetbrains.com/issue/WI-62605 - feel free to vote for or comment it in order to get notified about its updates.


Please sign in to leave a comment.