8000 Better handling of implementation of deprecated interfaces · Issue #13544 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Better handling of implementation of deprecated interfaces #13544
Closed
@stof

Description

@stof

Currently, the DebugClassLoader logs a warning for classes implementing a deprecated interface (or extending a deprecated class) but ignores classes in the Symfony namespace.
This is good for deprecations coming from Symfony, but not for any other project providing their own BC layer, as seen in twigphp/Twig#1612

A better solution would to skip the warning when the class is in the same root namespace than the interface (and taking care of PEAR-like convention for classes in the global namespace)

/cc @nicolas-grekas

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