Updated Symfony components to 4.1 and got following deprecation:
The "FOS\UserBundle\Model\UserInterface" interface extends "Symfony\Component\Security\Core\User\AdvancedUserInterface" that is deprecated since Symfony 4.1 *.
any updates for 4.1?
I found the PR responsible for this deprecation, if someone want more info: https://github.com/symfony/symfony/pull/23508
I cannot understood what is the solution final for this "issue".
It is possible to have a list of steps to execute?
I read as many possible I can and don't find any solution for the deprecation ... any updates???
Is there any solution to use this bundle with symfony 4.1 ?
It's really annoying.
Now i am clearly seeing that FOSUserBundle is regret. Use security component and write your own instead.
Do not you just have to copy this into FOS UserBundle?
https://github.com/symfony/symfony/blob/4.0/src/Symfony/Component/Security/Core/User/UserChecker.php
and put this Methods in the UserInterface class of FOS UserBundle?
public function isAccountNonExpired();
public function isAccountNonLocked();
public function isCredentialsNonExpired();
public function isEnabled();
https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Model/UserInterface.php
Changing status to Well begun is half done
When is going to be implemented that change? I'm still having troubles with that issue. I'm working with the latest version 2.1.2 of FOSUserBundle.
I'm too. Any solution?
You can use the specific revision hash in the composer.json:
"friendsofsymfony/user-bundle": "dev-master#b93d732209ecd5eab35ed4e32e931760cb329122",
But at the moment there should be no problem using 2.1.2 (until SF 5.0 is released :D )
So now SF5 is released, any updates here?
Most helpful comment
So now SF5 is released, any updates here?