rector/rector-phpstan-rules

此包已 废弃 并不再维护。作者建议使用rector/phpstan-rules包。

Rector项目的PHPStan规则 - 专注于静态反射和Rector设计模式

安装: 44,462

依赖: 0

建议者: 0

安全: 0

星标: 13

关注者: 3

分叉: 6

开放问题: 0

类型:phpstan-extension


README

废弃 - 切换到 symplify/phpstan-rules

此包已废弃,因为它使用很少且维护不足。我们已经转移到更活跃且维护良好的symplify/phpstan-rules包,以给予它更多的关注。


翻转包

composer remove rector/phpstan-rules
composer require symplify/phpstan-rules --dev

更新你的phpstan.neon

# phpstan.neon
-    - vendor/rector/phpstan-rules/config/rector-rules.neon
+    - vendor/symplify/phpstan-rules/config/rector-rules.neon

Rector和维护Rector规则集的项目使用的PHPStan规则。

安装

composer require rector/phpstan-rules --dev