blue32a/php-coding-standard
Composer 安装命令:
composer require blue32a/php-coding-standard
包简介
The PHP coding standard of the my projects.
README 文档
README
The PHP coding standard of the my projects.
Introduction
This project is PHP_CodeSniffer rules. It also contains the rules of the Slevomat Coding Standard.
Installation
Standards can be installed with the Composer dependency manager.
composer require --dev blue32a/php-coding-standard
Make sure that the installed coding standards include Blue32a.
phpcs -i
Usage
Command line
phpcs --standard=Blue32a example.php
Configuration File
If you need to further customize the selection of sniffs for your project - you can create a custom ruleset file.
<?xml version="1.0"?> <ruleset name="MyStandard"> <rule ref="Blue32a"/> </ruleset>
统计信息
- 总下载量: 261
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-10-03