Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.
/ phpstan-rules Public archive

PHPStan Rules for Rector Rules developers

License

Notifications You must be signed in to change notification settings

rectorphp/phpstan-rules

Repository files navigation

Rector PHPStan Rules

Deprecated - switch to symplify/phpstan-rules

This package is deprecated, as it was barely used and even little maintained. We've moved to more live and maintained package symplify/phpstan-rules to give it more love:


Flip packages:

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

Update your phpstan.neon:

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

PHPStan rules for Rector and projects that maintain Rector rulesets.

Install

composer require rector/phpstan-rules --dev