phpstorm+php-cs+php-cs-fix配置
来源:互联网 发布:手机淘宝二手市场在哪 编辑:程序博客网 时间:2024/05/21 08:38
composer 全局安装:
"require": {
"phpunit/phpunit": "5.5.*",
"squizlabs/php_codesniffer": "*",
"fabpot/php-cs-fixer": "^1.1"
}
在 vendor/bin 下找到对应的 bat 文件,配置到 phpstorm 中
fixer配置如下:
Name: php-cs-fixer
Description: Run php-cs-fixer on current file
Program: xxx.bat
Parameters: --level=psr2 --verbose fix $FileDir$/$FileName$ --fixers=-psr0
Working directory: $ProjectFileDir$
重启 phpstorm
0 0
- phpstorm+php-cs+php-cs-fix配置
- ATOM基础教程一php-cs-fixer配置(13)
- 使用 PHP-CS-Fixer 规范PHP代码
- phpstorm配置php调试
- PHPSTORM配置 PHP 单元测试
- 使用composer安装php-cs-fixer
- CS..........................
- cs
- cs
- cs
- Cs
- cs
- cs
- cs
- CS
- cs
- cs,
- cs
- 指针部分
- JS入门学习笔记——函数入门
- ℃江让您从精通到入门:写诗APP的制作诠析
- 【4412开发板使用经验分享】迅为4412开发板I2C驱动问题
- 到底买不买(20)----暴力水题
- phpstorm+php-cs+php-cs-fix配置
- JIRA
- 关于typedef void (*sighandler_t)(int)的理解
- Object转byte[];byte[]转Object
- 前端学习
- 【fiddler core】fiddler core 使用常见问题
- C#中的特性,什么是特性.
- 浅谈Linux中的僵尸进程
- 【PHP】匿名函数