Skip to content

[Console][ErrorHandler] Add option to disable deprecations in dev console in 4.4 #35575

@jkobus

Description

@jkobus

Description
After running any command in dev (debug=1) I get a lot of messages in stdout like:

2020-02-03T16:37:57+01:00 [info] User Deprecated: The "Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand" class is deprecated since Symfony 4.2, use "Symfony\Component\Console\Command\Command" with dependency injection instead.

Console screen gets a bit messy.

That's very helpful but I don't need it every time I run a console command.
Right now the only workaround is to disable debug, because the error_reporting setting is ignored.

Previously (4.2) I just used an option in framework.yaml:

framework:
    php_errors:
        log: 4096

It was enough to get rid of those deprecations.

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy