mteu / zealous-stan
A modest and highly opinionated collection of commonly used phpstan rules
Installs: 9 990
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 4
Type:phpstan-extension
Requires
- php: ^8.1
- ergebnis/phpstan-rules: ^2.1
- mteu/docblock-rules: ^0.3
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^1.10
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-strict-rules: ^1.5
- spaze/phpstan-disallowed-calls: ^3.0
- symplify/phpstan-rules: ^13.0.0
Requires (Dev)
- armin/editorconfig-cli: ^1.8 || ^2.0
- ergebnis/composer-normalize: ^2.37
README
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
- ergebnis/phpstan-rules
- mteu/docblock-rules
- phpstan/phpstan-deprecation-rules
- phpstan/phpstan-strict-rules
- spaze/phpstan-disallowed-calls
- symplify/phpstan-rule
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).