Skip to content

Psalm cannot properly infer interfaces when these are declared via class_alias #6325

@boesing

Description

@boesing

When using class_alias to replace an existing interface, psalm is not able to verify that the implementing class implements that interface.

https://psalm.dev/r/d0893a607e

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions