Repository navigation
PHPStan Rules 14.17
All rule sets are now auto-loaded via phpstan/extension-installer - no includes: needed, just toggle them with a parameter.
New features 🎉
All rule sets auto-loaded, toggle them on/off
Code complexity, configurable, static, Symfony, Symfony config, Doctrine and PHPUnit sets are now registered in extra.phpstan.includes and gated by a symplify.* parameter (#319):
parameters:
symplify:
# enabled by default
naming: true
complexity: true
configurable: true
static: true
symfony: true
symfonyConfig: true
doctrine: true
phpunit: true
# disabled by default
mocks: false
ctor: falserector-rules.neon stays opt-in.
symplify-rules.neon) from your phpstan.neon - PHPStan reports duplicated includes.
Bugfixes 🐛
- [symfony] Skip
Symfony\Component\Mailer\TransportinPreferInterfaceInConstructorRule(#320)