wickedone/phpcs-reporter
最新稳定版本:3.0.0
Composer 安装命令:
composer require --dev wickedone/phpcs-reporter
包简介
PHP Codesniffer output with phpstorm editor url
关键字:
README 文档
README
prints additional PhpStorm editor url in PHPCS cli output.
installation
$ composer require --dev wickedone/phpcs-reporter
command line usage:
specify this report on the command line:
$ php vendor/bin/phpcs --report='WickedOne\PHPCSReport\PhpStormReport'
phpcs xml configuration
specify this report in your phpcs.xml.dist:
<?xml version="1.0" encoding="UTF-8"?> <ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"> <arg name="report" value="WickedOne\PHPCSReport\PhpStormReport" /> ...
NOTE: if one file has multiple violations, the editor link will direct you to the file itself rather than the correct line. use ctrl + l to jump to the correct line in these situations.
统计信息
- 总下载量: 7.7k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-10-02