Menu
← Back to all error identifiers
Error Identifiers: foreach.*
There are 4 error identifiers in the foreach.* group:
-
Foreach iterates over an empty array, so the loop body never executes.
-
foreach.keyOverwrite phpstan-strict-rulesForeach key variable overwrites an existing variable in the current scope.
-
Expression passed to foreach is not an iterable type.
-
foreach.valueOverwrite phpstan-strict-rulesForeach value variable overwrites an existing variable in the current scope.