rector/phpstan-rules

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

Installs: 459 747

Dependents: 17

Suggesters: 0

Security: 0

Stars: 11

Watchers: 2

Forks: 6

Open Issues: 0

Type:phpstan-extension


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