定制 gatenbysanderson/code-sniffer 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

gatenbysanderson/code-sniffer

Composer 安装命令:

composer require gatenbysanderson/code-sniffer

包简介

The coding standards set by the company

README 文档

README

The coding standards that have been set and agreed by the development team.

Licence

Copyright © 2018 GatenbySanderson Ltd.

This project is open source software released under the terms of the MIT licence: see LICENCE.md.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • PHP >=5.6

As this is a private repo, when using composer to require this package - it is assumed your SSH key has already been added to GitHub to authenticate.

Installing

Start by adding this repo to your projects composer.json file:

{
  "repositories": [
    {
        "type": "vcs",
        "url":  "git@github.com:gatenbysanderson/code-sniffer.git",
        "no-api": true
    }
  ]
}

You can then simply require the package as with any other:

$ composer require --dev gatenbysanderson/code-sniffer

Running the Sniffer

To run the sniffer, you can either call the command in full:

$ vendor/bin/phpcs --standard=vendor/gatenbysanderson/code-sniffer/src/phpcs.xml directory1 [directory2 ...]

Or create a composer script to make life easier:

{
  "scripts": {
    "gscs": "phpcs --standard=vendor/gatenbysanderson/code-sniffer/src/phpcs.xml directory1 [directory2 ...]"
  }
}

This allows you to then run:

$ composer gscs

Built With

Contributing

All changes must be made through the medium of a pull request.

  1. Create a feature branch off of the develop branch: feature/my-awesome-feature
  2. Push your commits to the feature branch
  3. Submit a pull request to merge the feature into develop
  4. Once accepted, develop should then be merged into master
  5. master should then be tagged with a new release

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2018-02-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固