bellangelo/coding-standard
最新稳定版本:v1.0.3
Composer 安装命令:
composer require bellangelo/coding-standard
包简介
Bellangelo Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.
README 文档
README
Bellangelo Coding Standard for PHP_CodeSniffer provides sniffs that fall into one category ( for now ):
- Formatting - rules for consistent code looks
How to install
composer require bellangelo/coding-standard --dev
Alphabetical list of sniffs
- Bellangelo.Naming.AvoidNumberedVariableNames
- Bellangelo.Naming.DuplicateWordInNaming 🔧
- Bellangelo.Naming.SingularClassName 🔧
Bellangelo.Naming.AvoidNumberedVariableNames
Variables must not end in a number. This forces developers to use more descriptive names.
Bellangelo.Naming.DuplicateWordInNaming 🔧
Class names should not contain duplicate words. This sniff will check for class names that contain the same word twice and remove any duplicates.
Bellangelo.Naming.SingularClassName 🔧
Class names should be singular. This sniff will check for class names that are plural and change them to singular.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-11-11