Skip to content

PSALM issue when extended Constraint #51410

Closed
@chou666

Description

@chou666

Symfony version(s) affected

6.3.3

Description

After migration to version 6.3.3, I have some error with PSALM.

vimeo/psalm#10118

The suggested answer is to add annotation on your side, Is it possible to add the annotation ?

How to reproduce

https://psalm.dev/r/f2796a7ced

Possible Solution

Add annotation in src/Symfony/Component/Validator/Constraint.php:50 on ERROR_NAMES

/** @var array<string, string> */

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions