8000 Deprecation warning on Symfony\Bridge\Doctrine\Logger\DbalLogger · Issue #1489 · doctrine/DoctrineBundle · GitHub
[go: up one dir, main page]

Skip to content
Deprecation warning on Symfony\Bridge\Doctrine\Logger\DbalLogger #1489
@r-martins

Description

@r-martins

When running a bin/phunit, I get a deprecation warning:

1x: The "Symfony\Bridge\Doctrine\Logger\DbalLogger" class implements "Doctrine\DBAL\Logging\SQLLogger" that is deprecated Use {@see \Doctrine\DBAL\Logging\Middleware} or implement {@see \Doctrine\DBAL\Driver\Middleware} instead.

The best solution I could see so far was this one...

You don't. It'll get fixed in a combination of the symfony/doctrine-bridge and doctrine/doctrine-bundle packages.

Sorry if it's a duplicated and/or will be fixed on #1431.

I'm using doctrine/doctrine-bundle 2.6.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0