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

WBOY
Release: 2016-06-06 20:07:26
Original
1396 people have browsed it

通过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
这里也没有找到这个参数啊
我没有用这这东西,所以不太清楚,泻药

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!