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] Added the polyfill #197

Merged
merged 1 commit into from
Nov 27, 2019
Merged

[Uuid] Added the polyfill #197

merged 1 commit into from
Nov 27, 2019

Conversation

lyrixx
Copy link
Member

@lyrixx lyrixx commented Oct 30, 2019

No description provided.

src/Uuid/Uuid.php Outdated Show resolved Hide resolved
@lyrixx lyrixx force-pushed the uuid branch 2 times, most recently from 47e8c87 to e3cf6b8 Compare October 31, 2019 10:13
src/Util/TestListenerTrait.php Outdated Show resolved Hide resolved
src/Uuid/Uuid.php Outdated Show resolved Hide resolved
src/Uuid/Uuid.php Show resolved Hide resolved
src/Uuid/Uuid.php Outdated Show resolved Hide resolved
src/Uuid/Uuid.php Outdated Show resolved Hide resolved
@lyrixx lyrixx force-pushed the uuid branch 3 times, most recently from 92e68e2 to 2734db4 Compare November 5, 2019 11:07
@lyrixx
Copy link
Member Author

lyrixx commented Nov 5, 2019

I think this PR is ready 🎉

@stof
Copy link
Member

stof commented Nov 5, 2019

based on #197 (comment) (and my answer just after), it is not, as the error handling is not the same in the polyfill and in the original extension.

@lyrixx lyrixx force-pushed the uuid branch 3 times, most recently from 84c241b to c12cfb3 Compare November 5, 2019 15:38
@lyrixx
Copy link
Member Author

lyrixx commented Nov 5, 2019

OK, I removed all the type hints and codes incompatible with PHP > 5.3
Tests run on PHP 5.4+. They don't run on PHP 5.3 because the PECL does not compile.

Should be really ready now 😄

src/Uuid/Uuid.php Outdated Show resolved Hide resolved
src/Uuid/Uuid.php Outdated Show resolved Hide resolved
Copy link

@xelan xelan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor comment regarding the node part of time-based UUIDs, to avoid possible conflicts with MAC-based node values.

src/Uuid/Uuid.php Outdated Show resolved Hide resolved
@nicolas-grekas
Copy link
Member

Thank you @lyrixx.

nicolas-grekas added a commit that referenced this pull request Nov 27, 2019
This PR was squashed before being merged into the 1.12-dev branch.

Discussion
----------

[Uuid] Added the polyfill

Commits
-------

9b6d18b [Uuid] Added the polyfill
@nicolas-grekas nicolas-grekas merged commit 9b6d18b into symfony:master Nov 27, 2019
@lyrixx lyrixx deleted the uuid branch November 27, 2019 14:36
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

Successfully merging this pull request may close these issues.

None yet

7 participants