Skip to content

ImageBundle uses depracated way to obtain service from container in Symfony 4.0 #109

@bedrich-schindler

Description

@bedrich-schindler

When codeception is runned on our projects, it throws following notice:

The "assets.packages" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public, or stop using the container directly and use dependency injection instead.

Deprecation notices cause that codeception tests fail. More info about this problem: https://symfony.com/blog/new-in-symfony-3-4-services-are-private-by-default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions