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:
|
| ## [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.
| - 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.
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