kdyby/coding-standard 问题修复 & 功能扩展

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

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

kdyby/coding-standard

最新稳定版本:v1.0

Composer 安装命令:

composer require kdyby/coding-standard

包简介

Kdyby Coding Style

README 文档

README

Build Status Downloads this Month Latest stable Coverage Status

Variation of Slevomat Coding Standard and Consistence Coding Standard of PHPCodeSniffer coding style rules.

Installation

Install the kdyby/coding-standard with Composer:

composer require --dev kdyby/coding-standard

Usage

There is a standard for PHP 7.1+

vendor/bin/phpcs --standard=vendor/kdyby/coding-standard/KdybyCodingStandard/ruleset-7.1.xml --encoding=utf-8 -sp src tests

Customization

To allow customization, just include the ruleset-7.1.xml standard in you project's ruleset.xml

<?xml version="1.0"?>
<ruleset name="My Project">
    <rule ref="vendor/kdyby/coding-standard/KdybyCodingStandard/ruleset-7.1.xml"/>

    <!-- custom settings -->
</ruleset>

统计信息

  • 总下载量: 6.27k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 4
  • 依赖项目数: 7
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2017-05-20