Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Profiler show Deprecations in all pages #44495

Copy link
Copy link
Closed
@karaka200

Description

@karaka200
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.