wickedone/phpcs-reporter 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.

Latest Stable Version Total Downloads License PHP Version Require

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
  • 点击次数: 2
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-10-02