lunapress/coding-standards
Composer 安装命令:
composer require --dev lunapress/coding-standards
包简介
PHP_CodeSniffer rules (sniffs) for LunaPress
README 文档
README
LunaPress Coding Standards
Based on wp-coding-standards/wpcs.
- Declarations Sniffs
- WP Sniffs
Declarations Sniffs
LunaPressStandard.Declarations.StrictTypes
Checks for mandatory declare(strict_types=1); after <?php. Takes into account other parameters besides strict_types
WP Sniffs
LunaPressStandard.WP.AbspathAfterNamespace
Looking for a mandatory defined('ABSPATH') || exit; check after namespace so that you can't go to the file directly from the url
统计信息
- 总下载量: 25
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-10-07