Menu

← Back to all error identifiers

Error Identifiers: closure.*

There are 4 error identifiers in the closure.* group:

  • Variable imported in the closure's use clause is never used.
  • closure.useDuplicate non-ignorable
    Closure's use clause imports a variable that conflicts with a parameter name.
  • Superglobal variable is used in a closure use clause, which is not allowed.
  • closure.useThis non-ignorable
    Closure attempts to import $this via the use clause.
Theme
A
© 2026 PHPStan s.r.o.