Error Identifiers: phpstanApi.*

Menu

← Back to all error identifiers

There are 13 error identifiers in the phpstanApi.* group:

  • Extending or using instanceof on a PHPStan class not covered by the BC promise.

  • Accessing a class constant on a PHPStan class not covered by the BC promise.

  • Instantiating a PHPStan class whose constructor is not covered by the BC promise.

  • Using instanceof on a PHPStan enum not covered by the BC promise.

  • Referenced template type name does not exist on the specified class.

  • Instanceof assumption against a PHPStan type class may break in future versions.

  • Using instanceof against PHPStan Type classes is deprecated.

  • Implementing a PHPStan interface not covered by the BC promise.

  • Calling a PHPStan method not covered by the backward compatibility promise.

  • Third-party code declares classes in the reserved PHPStan namespace.

  • PHPStan extension uses runtime reflection instead of the static reflection API.

  • Using a PHPStan trait not covered by the backward compatibility promise.

  • Using @var to narrow a value to a specific PHPStan type class is fragile.