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

Skip to content

[DependencyInjection] Autowiring deprecations after upgrading to 3.3.0 #22951

Closed
@javiereguiluz

Description

@javiereguiluz
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.3

After upgrading the Symfony Demo app to 3.3.0 final, I see these deprecations (that weren't shown in 3.3.0 RC1):

Autowiring services based on the types they implement is deprecated since
Symfony 3.3 and won’t be supported in version 4.0. You should rename (or alias)
the “security.user_password_encoder.generic” service to
“Symfony\Component\Security\Core\Encoder\UserPasswordEncoder” instead.

Autowiring services based on the types they implement is deprecated since
Symfony 3.3 and won’t be supported in version 4.0. You should rename (or alias)
the “doctrine.orm.default_entity_manager” service to
“Doctrine\ORM\EntityManager” instead.

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