You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The symfony Controller class is deprecated and will be replace by AbstractController. So following classes need to be updated to be compatible with symfony 5.
Possible solutions:
Classes with no uses of $this->get() to access the container can be changed to extended from the class.
Other (larger) controller classes that use the container should be refactored that the common logic is moved to a service and should be declared final. This way we can change the extended class without BC breaks in 6.0
Quick fix can be the already tag them as @final so we can move on and do the refactoring in later version of 6.x
The "special" controllers like AdminListController, AbstractXXXControllers can't be final so they will need a deprecation that accessing the container directly will not work in 6.0
The symfony
Controller
class is deprecated and will be replace byAbstractController
. So following classes need to be updated to be compatible with symfony 5.Possible solutions:
$this->get()
to access the container can be changed to extended from the class.Quick fix can be the already tag them as
@final
so we can move on and do the refactoring in later version of 6.xThe text was updated successfully, but these errors were encountered: