backendtea/useless-match
最新稳定版本:1.0.0
Composer 安装命令:
composer require backendtea/useless-match
包简介
README 文档
README
A PHPStan rule to report match expressions with 2 arms, one of which is a default. As these could be an if/else instead.
Installation
$ composer require backendtea/useless-match
If you also install phpstan/extension-installer then you're all set!
Manual installation
If you don't want to use phpstan/extension-installer, include rules.neon in your project's PHPStan config:
includes:
- vendor/phpstan/backendtea/useless-match/rules.neon
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-30