vscode-phpfmt icon indicating copy to clipboard operation
vscode-phpfmt copied to clipboard

AlignEquals does not work perfectly

Open ashraf-kabir opened this issue 1 year ago • 3 comments

AlignEquals does not seem to work perfectly. See attached screenshot.

image

My phpfmt settings as follows:

"phpfmt.passes": [ "PSR2LnAfterNamespace", "PSR2CurlyOpenNextLine", "PSR2ModifierVisibilityStaticOrder", "PSR2SingleEmptyLineAndStripClosingTag", "AlignEquals", "AlignDoubleArrow", "AlignPHPCode", "MergeElseIf", "ReindentAndAlignObjOps", "ReindentSwitchBlocks", "ReplaceBooleanAndOr", "ShortArray", "StripExtraCommaInArray" ], "phpfmt.exclude": ["ReindentComments", "StripNewlineWithinClassBody"], "phpfmt.psr2": false, "phpfmt.indent_with_space": 2,

ashraf-kabir avatar Aug 04 '24 22:08 ashraf-kabir

Hi @ashraf-kabir may you please share the complete snippet? I wasn't able to reproduce the bug with the information provided

driade avatar Aug 05 '24 06:08 driade

image

VSCode on macOS Sonoma Version 14.5

@driade

ashraf-kabir avatar Aug 05 '24 11:08 ashraf-kabir

I'm really sorry I'm still unable to reproduce this behaviour.

driade avatar Aug 05 '24 13:08 driade