Error Identifiers: interface.*

Menu

← Back to all error identifiers

There are 13 error identifiers in the interface.* group:

  • AllowDynamicProperties attribute cannot be used on interfaces.

  • Native #[Deprecated] attribute cannot be used on interfaces.

  • Interface extends a sealed interface that does not allow this subtype.

  • Same interface is declared in multiple files.

  • Interface declares the same constant name more than once.

  • Interface declares the same method name more than once.

  • Interface declares the same property name more than once.

  • Interface extends a deprecated interface.

  • Interface extends another interface marked as @internal.

  • Interface is referenced with incorrect letter casing.

  • Interface name conflicts with an existing use import or declaration.

  • Extended interface does not exist.

  • Interface uses a trait, which is not allowed in PHP.