Home  >  Article  >  Backend Development  >  composer安装的php-cs-fixer,使用 --level报错

composer安装的php-cs-fixer,使用 --level报错

WBOY
WBOYOriginal
2016-06-06 20:07:261394browse

通过php-cs-fixer fix path/ --level=psr2这命令会报如下错误,不加--level就不会报错了,但是官网里面有这个参数
composer安装的php-cs-fixer,使用 --level报错

composer安装的php-cs-fixer,使用 --level报错

版本:
Ubuntu 16.04 LTS
PHP CS Fixer version 2.0-DEV by Fabien Potencier and Dariusz Ruminski

回复内容:

通过php-cs-fixer fix path/ --level=psr2这命令会报如下错误,不加--level就不会报错了,但是官网里面有这个参数
composer安装的php-cs-fixer,使用 --level报错

composer安装的php-cs-fixer,使用 --level报错

版本:
Ubuntu 16.04 LTS
PHP CS Fixer version 2.0-DEV by Fabien Potencier and Dariusz Ruminski

你看得哪里的文档,是不是版本不一样了
https://github.com/FriendsOfPHP/PHP-CS-Fixer
这里也没有找到这个参数啊
我没有用这这东西,所以不太清楚,泻药

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn