Skip to content

Navigation Menu

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

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

Copy link
Copy link
Open
@jkobus

Description

@jkobus
Issue body actions

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

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