Menu
← Back to all error identifiers
Error Identifiers: varTag.*
There are 17 error identifiers in the varTag.* group:
-
varTag.deprecatedClass phpstan-deprecation-rules@var PHPDoc tag references a deprecated class.
-
varTag.deprecatedEnum phpstan-deprecation-rules@var PHPDoc tag references a deprecated enum.
-
varTag.deprecatedInterface phpstan-deprecation-rules@var PHPDoc tag references a deprecated interface.
-
varTag.deprecatedTrait phpstan-deprecation-rules@var PHPDoc tag references a deprecated trait.
-
Variable name in @var tag does not match the variable being assigned.
-
@var PHPDoc tag references an internal class from another package.
-
@var PHPDoc tag references an internal enum from another package.
-
@var PHPDoc tag references an internal interface from another package.
-
@var PHPDoc tag references an internal trait from another package.
-
@var tag is placed above a class, function, or method where it has no effect.
-
Multiple conflicting @var tags are placed above a single assignment.
-
@var tag type contradicts the native type of the expression.
-
@var tag is missing a variable name in an ambiguous context.
-
@var PHPDoc tag references a trait, but traits are not valid types.
-
@var tag type does not match the type determined by PHPStan.
-
@var tag contains a type that cannot be resolved to a valid type.
-
@var tag references a variable that does not exist in the current scope.