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

UUID is not really an UUID #34

Closed
robotccm opened this issue May 10, 2017 · 3 comments
Closed

UUID is not really an UUID #34

robotccm opened this issue May 10, 2017 · 3 comments
Labels
3.2.0 enhancement New feature or request trivial

Comments

@robotccm
Copy link

Original report by Sylvain Robez-Masson (Bitbucket: srobez-masson, ).


UUID named used in Ting is not really an UUID, it's an UID.
So as suggest on Slack Symfony we should do this :

pierstoval
@syrm yes, by adding a generateUID() method that will do the work, and making generateUUID() call the generateUID() method. Also, make generateUUID() deprecated & trigger a E_USER_DEPRECATED error, like it's often done in many projects 🙂 (edited)
Like we have in Symfony, this deprecation error may say generateUUID() method is deprecated as of version x.y and will be removed in {x+1}.0
this way you can just rise a minor version with new method + deprecation and respect BC for all projects

@robotccm
Copy link
Author

Original comment by Alexandre Ancelet (Bitbucket: pierstoval, GitHub: pierstoval).


👍

@robotccm
Copy link
Author

Original comment by Sylvain Robez-Masson (Bitbucket: srobez-masson, ).


And use mt_rand instead of rand

@vgreb
Copy link
Contributor

vgreb commented Dec 26, 2024

Closing since UUID has been removed in #90

@vgreb vgreb closed this as completed Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.2.0 enhancement New feature or request trivial
Projects
None yet
Development

No branches or pull requests

2 participants