-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Deprecation with Symfony 4.1 - AdvancedUserInterface #2803
Comments
any updates for 4.1? |
I found the PR responsible for this deprecation, if someone want more info: symfony/symfony#23508 |
I cannot understood what is the solution final for this "issue". |
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 ? |
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? 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 |
PR: #2815 |
* Migrated SF AdvancedUserInterface to FOS UserInterface AdvancedUserInterface is deprecated since Symfony 4.1 - symfony/symfony#23508 Issue: - #2803 Deprecation with Symfony 4.1 - AdvancedUserInterface * Code style fixed and using `getMockBuilder` instead of `createMock` * Code style fixed and using attributes instead of `$this->expectException` * Change to restart travis * EquatableInterface added to `UserInterface` and implementation added to `User` * Tests after merge of master fixed * Tests after merge of master fixed * Update README.md * Added compatibility for apps that check against AdvancedUserInterface * Code style fixed to pass all travis tests * fos_user.user_checker Service marked as non-public
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: 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? |
Updated Symfony components to 4.1 and got following deprecation:
The text was updated successfully, but these errors were encountered: