rector/phpstan-rules

PHPStan rules for Rector projects - with focus on static reflection, constant re-use and Rector design patterns

Installs: 136 422

Dependents: 13

Suggesters: 0

Security: 0

Stars: 9

Watchers: 2

Forks: 1

Open Issues: 0

Type:phpstan-extension

0.4.15 2021-11-22 10:15 UTC

README

PHPStan rules for Rector and projects that maintain Rector rulesets.

Install

composer require rector/phpstan-rules --dev

Do you use PHPStan extension installer? The config is added automatically.

If not, add it to phpstan.neon:

includes:
    - vendor/rector/phpstan-rules/config/config.neon