analyse/classes/invalid-interface-property
In the analyse-basic preset and every stricter one. Report only.
Configuration
[analyse.rules]
"classes/invalid-interface-property" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
PropertiesInInterfaceRule(phpstan-classes)property.abstractFinalHook(phpstan)property.abstractInInterface(phpstan)property.finalInInterface(phpstan)property.hookBodyInInterface(phpstan)property.inInterface(phpstan)property.nonHookedInInterface(phpstan)property.nonPublicInInterface(phpstan)property.readOnlyInInterface(phpstan)