c-quential/coding-standard
Composer 安装命令:
composer require c-quential/coding-standard
包简介
C-quential Coding Standard for PHP_CodeSniffer.
关键字:
README 文档
README
Custom rules for PHP_CodeSniffer
Installation
Install using Composer.
composer require c-quential/coding-standard
Sniffs
Below is an alphabetical list of sniffs, with short explanations.
Strings
CquentialCodingStandard.Strings.UnneededDoubleQuoteUsage: If a string can be rewritten to use single quotes, without adding string concatenation, you must do so.
TypeHints
CquentialCodingStandard.TypeHints.ArrowFunctionTypeHint: This sniff checks if arrow functions are fully type-hinted. All parameters need to be type-hinted and a return type is also required. If there is no return value, you can use null, as void is not allowed on arrow functions.
统计信息
- 总下载量: 3.46k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-02-20