Menu
← Back to all error identifiers
Error Identifiers: trait.*
There are 9 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 requires PHP 8.5+.
-
Same trait name is declared in multiple files.
-
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.