phpstan/phpstan-strict-rules
Opinionated extra rules for PHPStan to enforce strict, strongly typed PHP. Catches loose booleans in conditions, unsafe strict parameters, useless casts, non-numeric arithmetic, variable overwrites in loops, and switch/case type mismatches for safer defensive code.
Extra strict and opinionated rules for PHPStan
How can I help you explore Laravel packages today?