Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bedrich-schindler opened this issue Feb 27, 2018 · 1 comment

Comments

@bedrich-schindler
Copy link

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

@Sentence
Copy link

Sentence commented Mar 13, 2018

Pull request (#111) created, it works for me, but need a review from maintainers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants