Libraries tagged by phpstan-rules
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
phoneburner/pinch-phpstan
1033 Downloads
Custom PHPStan Rules for the Pinch Framework
o0h/phpstan-spaghetti
236 Downloads
PHPStan rules to enforce SPAGHETTI code style
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.
marek-d-lis/phpstan-symfony-rules
118 Downloads
My PHPStan rules for Symfony i like to include in my projects
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.
ianfoxdev/money-lint
3 Downloads
PHPStan rules for code that moves money: floats in amounts, HTTP calls inside database transactions, balance updates that skip the ledger, check-then-act without a lock.
heyframe/phpstan-heyframe
28 Downloads
PhpStan Rules for HeyFrame
grzesie2k/phpstan-gql-rule
3206 Downloads
PHPStan rules for GraphQL