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

[AdminBundle] User entity implements the Serializable interface, which is deprecated #3198

Closed
dannyvw opened this issue Oct 19, 2022 · 2 comments

Comments

@dannyvw
Copy link
Contributor

dannyvw commented Oct 19, 2022

implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary)

https://github.com/Kunstmaan/KunstmaanBundlesCMS/blob/6.x/src/Kunstmaan/AdminBundle/Entity/UserInterface.php#L7

@acrobat
Copy link
Member

acrobat commented Oct 20, 2022

Do you only implement the UserInterface or extend from the BaseUser? As this deprecation should be resolved with #3012 in the BaseUser

@dannyvw
Copy link
Contributor Author

dannyvw commented Oct 20, 2022

That commit should indeed fix the issue. We extend from the BaseUser. Yesterday I had this deprecation but now I don't see it anymore. So will close this issue.

@dannyvw dannyvw closed this as completed Oct 20, 2022
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