-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closure indentation #584
Labels
Comments
@xendk |
Here's a cut down testcase: <?php
imaginary_func(function ($x): void {
}); Pressing tab on the empty line produces
In producing the test case I discovered that it seems to be the return type hint that throws it off. `M-x php-mode-debug:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Most coding styles doesn't like the way php-mode indents inline functions in function args much. An example:
I'd try fiddling with it myself, but I have had no luck
c-add-style
ing a new style andphp-set-style
ing it, and actually have it change anything about indentation, so I obviously don't understand how it works.How would one go about trying to fix this?
The text was updated successfully, but these errors were encountered: