Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Uid] Unable to extend Uuid/Ulid and use fromString() #39900

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 0 commits into from
Jan 20, 2021

Conversation

OskarStark
Copy link
Contributor

@OskarStark OskarStark commented Jan 20, 2021

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

Before:

CustomUuid::fromString(...) // returns `Uuid`

After:

CustomUuid::fromString(...) // returns `CustomUuid`

same for Ulid class.

cc @fancyweb

@OskarStark
Copy link
Contributor Author

Travis failure unrelated

src/Symfony/Component/Uid/Tests/Fixture/CustomUlid.php Outdated Show resolved Hide resolved
src/Symfony/Component/Uid/Tests/Fixture/CustomUlid.php Outdated Show resolved Hide resolved
src/Symfony/Component/Uid/Uuid.php Outdated Show resolved Hide resolved
src/Symfony/Component/Uid/Ulid.php Outdated Show resolved Hide resolved
src/Symfony/Component/Uid/Uuid.php Outdated Show resolved Hide resolved
src/Symfony/Component/Uid/Tests/Fixture/CustomUuid.php Outdated Show resolved Hide resolved
src/Symfony/Component/Uid/Tests/Fixture/CustomUlid.php Outdated Show resolved Hide resolved
@nicolas-grekas
Copy link
Member

Thank you @OskarStark.

@nicolas-grekas nicolas-grekas merged commit 64c8a55 into symfony:5.1 Jan 20, 2021
@OskarStark OskarStark deleted the bug/return-static branch January 20, 2021 18:12
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.