Menu
← Back to all error identifiers
Error Identifiers: traitUse.*
There are 11 error identifiers in the traitUse.* group:
-
traitUse.class non-ignorableClass is used in a trait use statement, but only traits are allowed.
-
traitUse.deprecatedClass phpstan-deprecation-rulesTrait use statement references a deprecated class.
-
traitUse.deprecatedEnum phpstan-deprecation-rulesTrait use statement references a deprecated enum.
-
traitUse.deprecatedInterface phpstan-deprecation-rulesTrait use statement references a deprecated interface.
-
traitUse.deprecatedTrait phpstan-deprecation-rulesTrait use statement references a deprecated trait.
-
traitUse.enum non-ignorableEnum is used in a trait use statement, but only traits are allowed.
-
Interface is used in a trait use statement, but only traits are allowed.
-
Trait use statement references an internal class from another package.
-
Trait use statement references an internal enum from another package.
-
Trait use statement references an internal interface from another package.
-
Trait use statement references an internal trait from another package.