Skip to content

A modest and highly opinionated collection of commonly used phpstan rules

License

Notifications You must be signed in to change notification settings

mteu/zealous-stan

Repository files navigation

CGL

Zealous Stan

Zealous Stan is a simple and modest, and obviously highly subjective collection of commonly used PHPStan rules.

🚨 Disclaimer

Since Zealous Stan is my personal configuration for private projects it might not be generic enough to meet the needs of a larger audience. Chances are it never will. So, if you really wish to use it as is be prepared for unannounced breaking changes and/or semver violations. This packages likely needs additional configuration that I may or may not have documented here. Use at your own risk, please.

⚡ Usage

Require this package and make sure to configure PHPStan according to your needs by putting a configuration file in your project (e.g. as phpstan.neon file in your package root.)

composer require --dev mteu/zealous-stan

If you're using the phpstan/extension-installer you're good to go.

🚀 Featured Extensions

Please keep in mind that the list of featured extensions is highly subjective and only reflects my current workflow. 🤷

💛 Acknowledgement

I'm very grateful for the good people that created, maintain and sponsor PHPStan. Děkuji, Ondřej and everyone who has contributed!

⭐ License

This project is licensed under GNU General Public License 3.0 (or later).