Bug finders

PHPStan Strict Rules

Extra strict and opinionated rules maintained for PHPStan.

Installation and compatibility

Type
Ruleset
PHP
^7.4 || ^8.0
License
MIT
Pricing
Free and open source
Install
composer require --dev phpstan/phpstan-strict-rules

Check the project documentation for configuration and version-specific requirements.

Strengths and limitations

ProEnables a maintained set of stricter correctness rules with little setup.

ConOpinionated rules can create substantial adoption work in an existing codebase.

Editorially reviewed

Repository activity

Activity: Active. Repository activity is a separate signal from suitability for your application.

Latest release
2.1.1
Last commit
Last release

Metadata checked: .

Explore related tools

Browse all bug finders. Tools in the same category can serve different workflows; compare their requirements and limitations.