techno-artisan/phpstan-strict-rules
Composer 安装命令:
composer require --dev techno-artisan/phpstan-strict-rules
包简介
Additional strict rules for PHPStan.
README 文档
README
Additional strict rules for PHPStan.
Installation
composer require --dev techno-artisan/phpstan-strict-rules
Usage
If you use phpstan/extension-installer,
the rules are registered automatically — nothing else to do.
Otherwise, include the rule set manually in your phpstan.neon:
includes: - vendor/techno-artisan/phpstan-strict-rules/rules.neon
Rules
| Rule | Description |
|---|---|
DisallowEmptyConstructRule |
Reports use of the empty() language construct; use an explicit strict comparison instead. |
License
MIT — see LICENSE.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-25