symplify/coding-standard

StandaloneLinePromotedPropertyFixer only applies if there are at least two properties

gnutix opened this issue · 2 comments

Hello there,

I've noticed that StandaloneLinePromotedPropertyFixer only applies if there are at least two properties in the constructor. I'm unsure if it's a conscious choice or a bug.

Should it be fixed ? Should it be an option to configure the behavior ?
I'm curious to hear your thoughts.

gnutix

Hi,

indeed, it should run on one property as well 👍
Could you add the fix?