rector/phpstan-rules

PHPStan rules for Rector projects - with focus on static reflection and Rector design patterns

Installs: 648 336

Dependents: 21

Suggesters: 0

Security: 0

Stars: 12

Watchers: 3

Forks: 5

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