phpstan/phpstan-strict-rules
Extra strict, opinionated PHPStan rules for strongly typed PHP. Catches loose/unsafe patterns like non-boolean conditions, useless casts, non-numeric arithmetic, missing strict flags in in_array/array_search, variable overwrites in loops, and switch type mismatches.
|
Package
|
Constraint
|
|---|---|
| phpstan/phpstan | ^2.1.39 |
|
Package
|
Constraint
|
|---|---|
| php-parallel-lint/php-parallel-lint | ^1.2 |
| phpstan/phpstan-deprecation-rules | ^2.0 |
| phpstan/phpstan-phpunit | ^2.0 |
| phpunit/phpunit | ^9.6 |
How can I help you explore Laravel packages today?