Menu
← Back to all error identifiers
Error Identifiers: traitUse.*
There are 5 error identifiers in the traitUse.* group:
-
traitUse.class non-ignorableClass is used in a trait use statement, but only traits are allowed.
-
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.
-
traitUse.interface non-ignorableInterface is used in a trait use statement, but only traits are allowed.
-
Trait use statement references an internal trait from another package.