phpstorm 搜索 Reformate Code 关键字 , 找到快捷键phpstorm + tools (php-cs-fixer) 与第1种区别: 可以通过配置文件设置格式composer + tools (php-cs-fixer) 4.其他工具 zsh