shrug / zealous-stan
A modest and highly opinionated collection of commonly used phpstan rules
Installs: 2 724
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 3
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
- dev-main
- 0.6.0
- 0.5.5
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.0
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.1
- 0.1.0
- dev-renovate/major-phpstan-packages
- dev-renovate/lock-file-maintenance
- dev-renovate/patch-phpstan-packages
- dev-renovate/phpstan-packages
- dev-feature/re-evaluate-rules
This package is auto-updated.
Last update: 2024-11-18 03:37:47 UTC
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).