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

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

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

cryonighter/cryonighter-coding-standard

Composer 安装命令:

composer require cryonighter/cryonighter-coding-standard

包简介

CodeSniffer ruleset for the cryonighter coding standard

README 文档

README

A coding standard to check against the cryonighter coding standards, originally shamelessly copied from the -disappeared- opensky/Symfony2-coding-standard repository.

Installation via Composer

This standard can be installed with the Composer dependency manager.

  1. Install the coding standard as a dependency of your project

    composer global require cryonighter/cryonighter-coding-standard
    
  2. Add the coding standard to the PHP_CodeSniffer install path

    phpcs --config-set installed_paths ../../../vendor/escapestudios/symfony2-coding-standard,../../../vendor/cryonighter/cryonighter-coding-standard
    
  3. Check the installed coding standards for "Symfony" and "Cryonighter"

    phpcs -i
    

Installation Stand-alone

  1. Install PHP_CodeSniffer

  2. Checkout this repositories

    git clone git://github.com/djoos/Symfony2-coding-standard.git symfony2-coding-standard && git clone git@github.com:cryonighter/cryonighter-coding-standard.git
    
  3. Add the coding standard to the PHP_CodeSniffer install path

    phpcs --config-set installed_paths /path/to/symfony2-coding-standard,/path/to/cryonighter-coding-standard
    

    Or move/copy/symlink repositories Symfony and Cryonighter folders inside the phpcs Standards directory

  4. Check the installed coding standards for "Symfony" and "Cryonighter"

    phpcs -i
    

Usage

Via command line

phpcs --standard=Cryonighter --extensions=php --ignore=/path/to/exclude-code /path/to/code

PHP Code Sniffer Wiki: usage, advanced usage

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-02-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固