Libraries tagged by phpstan-rule
demirkartal/eaglephp-code-quality
37 Downloads
Unified PHPStan Level 10 ruleset, Pint configuration, and code quality suite for EaglePHP
cooldevguys/phpstan-dhexpendency-rules
198 Downloads
A set of rules for PHPStan based on the Hexagonal architecture layers dependency
zonuexe/phpstan-safe-rule-simple
8 Downloads
A PHPStan rule to detect safety issues. Must be used in conjunction with thecodingmachine/safe
temirkhan/phpstan-internal-rules
4 Downloads
PHPStan rules to prevent prohibited usage of classes marked as @internal
senki/phpstan-prevent-ignore-line
8 Downloads
PHPStan rule to detect and prohibit the use of `@phpstan-ignore-error-line` and `@phpstan-ignore-error-next-line` annotations within your PHP codebase.
sandermuller/phpstan-to-mago
2 Downloads
Transpile PHPStan rules into Mago analyzer plugins
samlitowitz/no-ternary
3 Downloads
PHPStan rule to disallow the use of ternary operators
samlitowitz/no-globals
3 Downloads
PHPStan rules to disallow use of global keyword and $GLOBALS variable
sal/phpstan-readonly-enforcing
228 Downloads
PHPStan rule to enforce readonly usage on properties and classes when safe to do so
rimantasrickus/plentymarkets-rules
513 Downloads
Custom PHPStan rules for plentymarkets plugins
ntzm/strict-casts-phpstan
11 Downloads
PHPStan rule to ensure you're using strict casts wherever possible
nadyita/phpstan-amp-file-rule
1771 Downloads
A PHPStan rule to detect the use of sync filesystem calls for which there are async counterparts. Must be used in conjunction with amphp/file
mintware-de/phpstan-namespace-constraints
14248 Downloads
A PHPStan rule for restricting namespace usings to control dependency inheritance.
laravelsecurityaudit/laravel-ai-lint
6 Downloads
Static analysis for insecure AI wiring in Laravel apps: a scan command that finds AI provider keys leaked into tracked or client-reachable files, plus PHPStan rules that flag model output flowing into unsafe sinks and prompts built by concatenation. SARIF for CI.
juampi92/phpstan-eloquent-bounded-context
8 Downloads
PHPStan rules that make sure your models are only being mutated from within its Domain.