bamboohr/phpcs
最新稳定版本:1.0.2
Composer 安装命令:
composer require bamboohr/phpcs
包简介
Coding standards for all things BambooHR
关键字:
README 文档
README
BambooHR Code Sniffer
This code works with phpcs and checks code against the coding standards used in BambooHR products.
Installation
You should install this codesniffer with composer:
composer require --dev "bamboohr/phpcs"
vendor/bin/phpcs --config-set installed_paths /path/to/your/app/vendor/bamboohr/phpcs
The second command lets phpcs know where to find your new sniffs. Ensure that
you do not overwrite any existing installed_paths value.
Usage
Depending on how you installed the code sniffer changes how you run it. If you have installed phpcs, and this package with PEAR, you can do the following:
vendor/bin/phpcs --standard=BambooHR /path/to/code
⚠️ Warning when these sniffs are installed with composer, ensure that
you have configured the CodeSniffer installed_paths setting.
Releasing BambooHR Code Sniffer Rules
- Create a signed tag
- Write the changelog in the tag commit
统计信息
- 总下载量: 52.92k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2015-03-21