Hello,
Please check the latest preview version, it adds new format option php.format.rules.chainedMethodCallsWrap
which can be set to always
.
In your case it would wrap like this:
$foo->bar()
->baz()
->quz();
But we can add another setting that would also add a new line before the first ->
.
Thank you