Skip to content

Stubs should not be loaded when using versions of Symfony with upstream generic types #431

Open
@stof

Description

@stof

Once generic types are added upstream in Symfony itself, the stubs should not be loaded again to override them, so that the official type definitions are used.

phpstan-doctrine already has a similar logic to prefer using the official generic types instead of stubbing them.

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