-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Replace the behat/transliterator with symfony/string for the Sluggable extension #2985
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
Replace the behat/transliterator with symfony/string for the Sluggable extension #2985
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2985 +/- ##
==========================================
+ Coverage 78.49% 78.55% +0.05%
==========================================
Files 168 169 +1
Lines 8813 8828 +15
==========================================
+ Hits 6918 6935 +17
+ Misses 1895 1893 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
CHANGELOG.md
Outdated
## [Unreleased] | ||
|
||
### Changed | ||
- Replace the `behat/transliterator` with `symfony/string` for the Sluggable extension for its default transliteration and urlization steps" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Replace the `behat/transliterator` with `symfony/string` for the Sluggable extension for its default transliteration and urlization steps" | |
- Sluggable: Replaced abandoned `behat/transliterator` with `symfony/string` for default transliteration and urlization steps (#2985) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks updated
Thank you @VincentLanglet, and, special thanks to @mbabker! ❤️ |
Thanks you @phansys ! Do you need help to maintain this repository ? 😄 |
Hey @VincentLanglet! I don't have the required permissions to add new maintainers in this repository. I'll try to check who could send the invites. Thanks! |
I had to change lines 124-129 of the if (isset($this->usedOptions['urilize']) && $this->usedOptions['urilize']) {
$slug = call_user_func_array(
$this->originalTransliterator,
[$slug, $separator, $object]
);
// <added>
$slug = call_user_func_array(
$this->sluggable->getUrlizer(),
[$slug, $separator, $object]
);
// </added>
} |
Probably the same reason I had to add the |
Yeah I was also thinking there might be a test scenario missing. Haven't had time to dive into this further yet though. |
I just rebased #2944 in case it could help.
Closes #2941
Closes #2944
Credits to mbabker