Error Identifiers: assert.*

Menu

← Back to all error identifiers

There are 11 error identifiers in the assert.* group:

  • Assertion in @phpstan-assert does not narrow the type any further.

  • Assertion in @phpstan-assert references a deprecated class.

  • Assertion in @phpstan-assert references a deprecated enum.

  • Assertion in @phpstan-assert references a deprecated interface.

  • Assertion in @phpstan-assert can never be satisfied by the parameter type.

  • Assertion in @phpstan-assert references an internal class.

  • Assertion in @phpstan-assert references an internal enum.

  • Assertion in @phpstan-assert references an internal interface.

  • Assertion in @phpstan-assert references a trait, which is not a valid type.

  • Assertion in @phpstan-assert references a non-existent property or expression.

  • Type in @phpstan-assert cannot be resolved to a valid type.