Change the phpcs line length to make longer than 85 characters
I want to have lines longer than 85 characters. I'd like 120 characters.
Where is the configuration within phpstorm for phpcs checking and reporting line lengths greater than 85 characters?
Is that changeable, or how can just that one check be ignored?
Thanks.
请先登录再写评论。
Hi there,
>Where is the configuration within phpstorm for phpcs checking and reporting line lengths greater than 85 characters?
Nowhere. PhpStorm does not add or overwrite any rules for CodeSniffer -- it's all done on CodeSniffer side.
https://github.com/squizlabs/PHP_CodeSniffer/wiki/Configuration-Options