8000 OptionsResolver still implements OptionsResolverInterface · Issue #12945 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
OptionsResolver still implements OptionsResolverInterface #12945
Closed
@ibrasho

Description

@ibrasho

I tried to search for a similar issue but I could find none.

I'm using the OptionsResolver as a component in a package I'm writing.

In 2.6, the OptionsResolver class still implements the OptionsResolverInterface interface.
So if the interface is auto-loaded by default the trigger_error() call in the OptionsResolverInterface.php is executed. And I get the following error: The "Symfony\Component\OptionsResolver\OptionsResolverInterface" interface was deprecated in version 2.6 and will be removed in 3.0. Use "Symfony\Component\OptionsResolver\OptionsResolver" instead.

Am I forgetting something?

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

      0