Indent chained/static method call inside of function calls correctly
PHP mode doesn't seem to want to indent a method call following a static method call inside a function call.
foo(db::baz()
->quux());
It's the same whether foo is a function, static function or method. The quux call is never indented.
Compared to outside a function call, which gets indented by one tab/indent-level:
db::baz()
->quux;
Or a method call following another method call, which gets aligned:
foo($db->baz()
->quux());
It would be great if this was made consistent with the behaviour outside of function calls. I hope that's clear. :)
I definitely agree it would be great if PHP Mode were consistent about this. Thanks for bringing up the issue. I will try to address it for the upcoming release.
It looks like this issue has already been resolved. Thank you.