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

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

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

norsys/php-coding-standard

Composer 安装命令:

composer require norsys/php-coding-standard

包简介

Coding standard to Norsys PHP projects

README 文档

README

Installation

composer require norsys/php-coding-standard:~1.0 --dev 

Quick usage

Launch phpcs with Norsys PHP ruleset

bin/phpcs --standard=vendor/norsys/php-coding-standard/php

Check style specific to write tests

bin/phpcs --standard=vendor/norsys/php-coding-standard/php/test

Use with Symfony

bin/phpcs --standard=vendor/norsys/php-coding-standard/symfony
bin/phpcs --standard=vendor/norsys/php-coding-standard/symfony/test

Advanced usage

Create your ruleset my-ruleset.xml

<!-- my-ruleset.xml -->

<?xml version="1.0"?>
<ruleset name="MyCustomCheckStyleStandard">

  <description>My custom check style standard based on Norsys</description>

  <!-- Add Norsys rules -->
  <rule ref="vendor/norsys/php-coding-standard/php"/>

  <!-- Your custom rules -->
  ...

</ruleset>

Launch phpcs with your ruleset

bin/phpcs --standard=my-ruleset.xml

Credits

Developped by Norsys

License

This project is licensed under the MIT license.

License

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-03-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固