Skip to content

[Yaml] usage of conditional @deprecated-tag in Yaml::parse #14815

Closed
@gerritdrost

Description

@gerritdrost

Yaml::parse features a "conditional" @deprecated tag; the text after the tag explains that only the feature to supply filepaths is deprecated and will be removed in v3.0. PHPStorm however doesn't know this and marks the method as deprecated by striking through every call to it:
yamlparse

I know it is a good habit to mark stuff that will be removed as @deprecated, but I think in this case the @deprecated tag is a bit overkill since it also "deprecates" valid method calls. What are your thoughts on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueIdeal for your first contribution! (some Symfony experience may be required)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions