Menu
← Back to all error identifiers
Error Identifiers: interface.*
There are 20 error identifiers in the interface.* group:
-
interface.allowDynamicProperties non-ignorableAllowDynamicProperties attribute cannot be used on interfaces.
-
interface.deprecatedAttribute non-ignorableNative #[Deprecated] attribute cannot be used on interfaces.
-
Class implements a sealed interface that does not allow this subtype.
-
Same interface is declared in multiple files.
-
interface.duplicateConstant non-ignorableInterface declares the same constant name more than once.
-
interface.duplicateEnumCase non-ignorableEnum case is declared more than once in the same body.
-
interface.duplicateMethod non-ignorableInterface declares the same method name more than once.
-
interface.duplicateProperty non-ignorableInterface declares the same property name more than once.
-
interface.extendsDeprecatedClass phpstan-deprecation-rulesInterface extends a deprecated type.
-
interface.extendsDeprecatedEnum phpstan-deprecation-rulesInterface extends a deprecated enum.
-
interface.extendsDeprecatedInterface phpstan-deprecation-rulesInterface extends a deprecated interface.
-
interface.extendsDeprecatedTrait phpstan-deprecation-rulesInterface extends a deprecated trait.
-
Interface extends an internal type from another package.
-
Interface extends an enum marked as @internal.
-
Interface extends another interface marked as @internal.
-
Interface extends a trait marked as @internal.
-
Interface is referenced with incorrect letter casing.
-
interface.nameInUse non-ignorableInterface name conflicts with an existing use import or declaration.
-
interface.notFound non-ignorableExtended interface does not exist.
-
interface.traitUse non-ignorableInterface uses a trait, which is not allowed in PHP.