Phpstorm formatting code method in addition, after phpstorm is set, you can export the setting information so that it can be used again after subsequent installation.
Phpstorm code formatting method:
Shortcut: Ctrl + Alt + L
Set the Code Style: File-> Settings-> Code Style-> PHP
Set the style structure of php and other code according to the individual PHP code specifications and personal preferences.
Phpstorm can be set:
1. equal sign alignment
2. brackets display mode...
3. space display...
In short, as long as you want to set up, slowly toss it up...
Code example:
'application.controllers.helloword.UpdateAction',);}}
In addition, after setting phpstorm, you can export the settings so that it can be used again after subsequent installation.
Export setting method: File-> Export Settings
Import setting method: File-> Import Settings