Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Uid] Handle ValueErrors triggered by ext-uuid on PHP 8 #39636

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

Merged
merged 1 commit into from
Dec 28, 2020

Conversation

derrabus
Copy link
Member

Q A
Branch? 5.1
Bug fix? yes
New feature? no
Deprecations? no
Tickets N/A
License MIT
Doc PR N/A

Follows symfony/polyfill#318.

On PHP 8, the UUID extension triggers ValueErrors if we pass an invalid UUID to one of the uuid_* functions. This PR handles those errors so that the component behaves the same on PHP 7 and 8.

Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

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

Thank you

@Nyholm
Copy link
Member

Nyholm commented Dec 28, 2020

The build will be green =)

@Nyholm Nyholm merged commit 2a807f9 into symfony:5.1 Dec 28, 2020
@derrabus derrabus deleted the bugfix/uuid-value-error branch December 28, 2020 10:40
This was referenced Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants