Menu

← Back to all error identifiers

Error Identifiers: while.*

There are 3 error identifiers in the while.* group:

  • While loop condition is always false, so the loop body never executes.
  • While loop condition is always true with no exit point, creating an infinite loop.
  • while.condNotBoolean phpstan-strict-rules
    While loop condition is not a boolean, relying on implicit type coercion.
Theme
A
© 2026 PHPStan s.r.o.