-
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
PEAR method chaining wrong indentation #745
Comments
It seems that So the only thing left is that pear style should set that automatically.
|
The bug does actually exist if the code has an equal sign. Wrong:
I would expect this:
Using |
This is fixed - thank you! |
The PEAR coding standard says in https://pear.php.net/manual/en/standards.funcalls.php
On my emacs 27.1 with php-mode 20230423.1446 the second method call arrow is directly below the previous arrow (wrong):
Setting
php-mode-lineup-cascaded-calls
tonil
aligns the->
with the=
(wrong):When enabling the pear coding style, it should be indented 4 spaces:
(Related to #237, which was the same problem with PSR2)
The text was updated successfully, but these errors were encountered: