-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[String] Add support for emoji in AsciiSlugger #47264
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
Conversation
bd775ba
to
9e01528
Compare
src/Symfony/Component/String/Tests/Slugger/AsciiSluggerTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/String/Tests/Slugger/AsciiSluggerTest.php
Outdated
Show resolved
Hide resolved
9e01528
to
f78a0a4
Compare
@welcoMattic Thanks for the review, I addressed your comments |
This comment was marked as resolved.
This comment was marked as resolved.
f78a0a4
to
dc48d45
Compare
Hi, I addressed all comments. Thanks for the review |
dc48d45
to
a1ad331
Compare
Related to #47263, does this mean we need to provision slugger with "en_github/slack" locale? Im not sure it's legit. |
It's not legit IMHO, since the output of the transliterator may contains |
src/Symfony/Component/String/Tests/Slugger/AsciiSluggerTest.php
Outdated
Show resolved
Hide resolved
a1ad331
to
06a91c6
Compare
@nicolas-grekas I addressed your comments |
06a91c6
to
9c88d02
Compare
should we update
@return to convey it's not a nullable?
|
We can remove the |
(deps=low need a bump for intl in composer.json) |
9c88d02
to
d7b891a
Compare
I fixed requirements for this PR, and also the return type of EmojiTransliterator while I had the code open / cc @ro0NL |
d7b891a
to
4009405
Compare
…) and some others methods (lyrixx) This PR was squashed before being merged into the 6.2 branch. Discussion ---------- [Intl] Fixed return type of EmojiTransliterator::create() and some others methods | Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | #47264 (comment) | License | MIT | Doc PR | Commits ------- 770d590 [Intl] Fixed return type of EmojiTransliterator::create() and some others methods
4009405
to
ab20db7
Compare
Thank you @lyrixx. |
Usage