PHP constructor indentation

I love the autoformatting function (CTRL+ALT+L). But it messes up my constructors.

I know this is intended but I personally dislike the way the variables are being aligned. 

How can I set up phpstorm to have it like this:

Thank you

0
2 comments

Please try to untick the “Settings/Preferences | Editor | Code Style | PHP > Wrapping and Braces > Function declaration parameters > Align when multiline” option, it should help.
 

0

That was it, thank you!

0

Please sign in to leave a comment.