mhujer/phpstan-rules
最新稳定版本:1.0
Composer 安装命令:
composer require mhujer/phpstan-rules
包简介
Custom rules for phpstan
README 文档
README
This repository provides following custom rules for PHPStan:
- Check that the
__construct()is the first method in the class. - If the
__constructcontainsDoctrine\ORM\EntityManagerInterfaceas a parameter, it must be sorted as the last one.
Usage
To use those rules, require them in Composer:
composer require --dev mhujer/phpstan-rules
And include them in your project's PHPStan config:
includes: - vendor/mhujer/phpstan-rules/rules.neon
统计信息
- 总下载量: 26.06k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-07-21