emacs-php / php-mode

A powerful and flexible Emacs major mode for editing PHP scripts
GNU General Public License v3.0
580 stars 118 forks source link

Newline Indentation aligning with equal sign #774

Closed jstoks closed 6 months ago

jstoks commented 7 months ago

Having php-lineup-string-cont as part of statement-cont causes the cursor to align with the equals sign for assignments even when there's no string. There is no interaction with php-lineup-cascaded-calls because I have that option disabled.

Actual:

$result = Operation::make()
        ->someFunction();

Expected:

$result = Operation::make()
    ->someFunction();

(Seems related to #745)

zonuexe commented 6 months ago

@jstoks Perhaps merging #777 resolved this issue. This problem seems to have been introduced by some strange change in the past unrelated to the PEAR Coding Standards. Please feel free to send any feedback regarding PEAR style to #776.

Thank you for your report!

cweiske commented 6 months ago

This is fixed - thanks!

jstoks commented 5 months ago

Thank You!