You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously we had custom logic to handle hanging arguments.
foo($x,
$y);
This was getting confused by other forms of trailing text after
parens:
if (true) { // hello
foo();
}
foo() should not line up with { here.
This heuristic isn't useful, because hackfmt only uses the following
two forms:
foo($x, $y);
// or
foo(
$x,
$y,
);
Remove this heuristic. This also solves most of #29.
When spanning multiple lines, instance method calls don't have the expected indentation. For example:
Expected:
Actual:
The text was updated successfully, but these errors were encountered: