dunglas / DunglasActionBundle

Symfony controllers, redesigned
https://dunglas.fr/2016/01/dunglasactionbundle-symfony-controllers-redesigned/
MIT License
256 stars 14 forks source link

Unable to resolve deprecation warning in Symfony 3.4 #82

Closed nurtext closed 6 years ago

nurtext commented 6 years ago

Upgraded from Symfony 3.2 to 3.4 and no idea how to fix this atm.

Warning User Deprecated: The "AppBundle\Action\Root" 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.

Is there any guide on how to resolve it?

dunglas commented 6 years ago

This bundle is useless with Symfony 3.4, similar features have been merged in core. Just drop it and adapt your services.yaml configuration.

nurtext commented 6 years ago

Thanks @dunglas