phpstan/phpstan-strict-rules
Extra-strict, opinionated PHPStan rules for highly defensive, strongly typed PHP. Enforces boolean conditions, numeric operands, strict calls (e.g., in_array), detects useless casts, prevents loop variable overwrites, and requires matching switch/case types.
(void) cast on #[\NoDiscard] callsreportNonIntStringArrayKey to truestrictRulesInstalled parameterpolluteScopeWithBlock to falsestrictRulesInstalled parameterpolluteScopeWithBlock to falsestrictRulesInstalled parameterpolluteScopeWithBlock to falsetreatPhpDocTypesAsCertain: falseHow can I help you explore Laravel packages today?