Skip to content

[Monolog] Deprecation about a final class #48023

Closed as not planned
Closed as not planned
@javiereguiluz

Description

@javiereguiluz

Symfony version(s) affected

6.2

Description

While updating Symfony Demo to Symfony 6.2-dev (see symfony/demo#1362) we found this indirect deprecation:

1x: The "Monolog\Logger" class is considered final. It may change without
further notice as of its next major version. You should not extend it
from "Symfony\Bridge\Monolog\Logger".

@stof commented that:

for the Symfony\Bridge\Monolog\Logger, this should be reported to Symfony to find a way to stop extending that class (or to Monolog to revert that decision if we cannot find another way).

How to reproduce

Updating a Symfony app to 6.2-dev should be enough to see the deprecation message.

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions