https://github.com/miaoxing/dev
Miaoxing coding standards
https://github.com/miaoxing/dev
php-codesniffer phpcs phpmd-extension
Last synced: 3 months ago
JSON representation
Miaoxing coding standards
- Host: GitHub
- URL: https://github.com/miaoxing/dev
- Owner: miaoxing
- License: mit
- Created: 2016-09-22T07:49:59.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2025-03-12T07:02:43.000Z (about 1 year ago)
- Last Synced: 2025-11-06T07:20:16.183Z (6 months ago)
- Topics: php-codesniffer, phpcs, phpmd-extension
- Language: PHP
- Size: 448 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Miaoxing Dev
[](https://github.com/miaoxing/dev/actions)
[](https://coveralls.io/r/miaoxing/dev)
[](http://www.opensource.org/licenses/MIT)
## PHPCS 使用方法
1. 取出到本地
```sh
git clone https://github.com/miaoxing/dev.git path/to/coding-standards
```
2. 加入phpcs的安装目录
```sh
phpcs --config-set installed_paths path/to/coding-standards
```
3. 检查安装结果
```sh
phpcs -i
# 输出包含 "Miaoxing"
'The installed coding standards are MySource, PEAR, PHPCS, PSR1, PSR2, Squiz, Zend and Miaoxing'
```