Use strict types: declare `declare(strict_types=1)` at the top of every PHP file — it prevents silent type coercion in function arguments.
1
Up
0
Down
+1
Net
No AI assessment yet for this rule.