Skip to content

[Debug] Actively discourage using Serializable by triggering a deprecation notice #30304

Closed
@nicolas-grekas

Description

@nicolas-grekas

When DebugClassLoader is registered, we could make it unconditionally trigger a deprecation notice when it loads a class that directly implements Serializable.

We should wait for https://wiki.php.net/rfc/custom_object_serialization to be resolved before.

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