Skip to content

Profiler show Deprecations in all pages #44495

@karaka200

Description

@karaka200

Symfony version(s) affected

6.0.0

Description

I Use Symfony 6.0 and profiler show Deprecations in all pages:

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

[
  "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#680
    +count: 1
    -severity: E_USER_DEPRECATED
    trace: {
      C:\prj\sym6\vendor\symfony\error-handler\DebugClassLoader.php:328 {
        class_exists(string $class, bool $autoload = true): bool …
        › foreach ($deprecations as $message) {
        ›     @trigger_error($message, \E_USER_DEPRECATED);
        › }
      }
      C:\prj\sym6\vendor\symfony\config\Resource\ClassExistenceResource.php:78 {
        › try {
        ›     $exists[0] = class_exists($this->resource) || interface_exists($this->resource, false) || trait_exists($this->resource, false);
        › } catch (\Exception $e) {
      }
    }
  }
]

How to reproduce

Read description ...

Possible Solution

No response

Additional Context

No response

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