Menu
← Back to all error identifiers
Error Identifiers: trait.*
There are 12 error identifiers in the trait.* group:
-
trait.allowDynamicProperties non-ignorable#[AllowDynamicProperties] attribute cannot be used on a trait.
-
trait.deprecatedAttribute non-ignorable#[Deprecated] attribute on a trait is not supported on this PHP version.
-
Trait is used in a class that is not an allowed subtype of a sealed type.
-
Same trait name is declared in multiple files.
-
trait.duplicateConstant non-ignorableConstant is declared more than once in the same trait.
-
trait.duplicateEnumCase non-ignorableEnum case with the same name is declared more than once.
-
trait.duplicateMethod non-ignorableMethod is declared more than once in the same trait.
-
trait.duplicateProperty non-ignorableProperty is declared more than once in the same trait.
-
Trait is referenced with incorrect letter casing.
-
trait.nameInUse non-ignorableTrait name conflicts with an existing use import in the same namespace.
-
trait.notFound non-ignorableReferenced trait does not exist or cannot be autoloaded.
-
Declared trait is never used by any class in the analysed code.