walkingdexter/phpcs-diff 问题修复 & 功能扩展

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

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

walkingdexter/phpcs-diff

最新稳定版本:2.0.0

Composer 安装命令:

composer require walkingdexter/phpcs-diff

包简介

Removes non-diff violations from PHP_CodeSniffer reports.

关键字:

README 文档

README

Removes non-diff violations from PHP_CodeSniffer reports. This is a lightweight solution with minimum requirements.

Installation

composer require --dev walkingdexter/phpcs-diff

Usage

Check current changes:

vendor/bin/phpcs-diff

This is a shortcut for:

vendor/bin/phpcs-diff --filter=GitModified

Check changes that have been staged for commit:

vendor/bin/phpcs-diff --filter=GitStaged

Check changes relative to the main branch:

vendor/bin/phpcs-diff --filter=GitCommitted --runtime-set git_diff_commit main

Check changes relative to a specific commit:

vendor/bin/phpcs-diff --filter=GitCommitted --runtime-set git_diff_commit 15a5e27

If the commit name is set in the configuration options:

vendor/bin/phpcs-diff --filter=GitCommitted

You can use any other options and arguments that the phpcs command accepts.

Limitations

Only reports that use prepared data are supported.

统计信息

  • 总下载量: 5.53k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2023-12-14