Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix the ContainerAwareCommand deprecation #868

Closed
@javiereguiluz

Description

@javiereguiluz

These deprecations were introduced by the upgrade to Symfony 4.2 in #865.

1x: The "Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand" class is deprecated since Symfony 4.2, use "Symfony\Component\Console\Command\Command" with dependency injection instead.
    1x in AddUserCommandTest::testCreateUserNonInteractive from App\Tests\Command

1x: The "Doctrine\Bundle\DoctrineBundle\Command\DoctrineCommand" class extends "Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand" that is deprecated since Symfony 4.2, use {@see Command} instead.
    1x in AddUserCommandTest::testCreateUserNonInteractive from App\Tests\Command

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