Skip to content

Autowire support #540

@dkarlovi

Description

@dkarlovi

With 1.5.x, services are not aliased properly for Symfony's autowire to work correctly:

  1x: 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 "fos_oauth_server.client_manager.default" service to "FOS\OAuthServerBundle\Model\ClientManagerInterface" instead.
    1x in ImageValidationServiceIntegrationTest::testCanValidateImageUsingSymfonyValidator from Tests\ImageBundle\Service

We should check what needs to get done for this to work correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions