Skip to content

Semantical error while parsing annotations between patch-versions #113

Closed
@tinpansoul

Description

@tinpansoul

Hello!

I've upgraded this library from 1.7.2 to 1.7.4 and see errors like "The annotation "@template" in class MyCLabs\Enum\Enum was never imported. Did you maybe forget to add a "use" statement for this annotation?". Using php:7.3.14 and symfony:4.4.*.

How to fix that? Hardcode myclabs/php-enum:1.7.2 version? Or, BC changes need to raise major version? Or, require some additional package like psalm (don't know anything about it)?

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