Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Running \Drupal\Tests\Component\Utility\UnicodeTest
on a system without the mbstring
extension results in
Fatal error: Call to undefined function Drupal\Component\Utility\mb_strtolower() in core/lib/Drupal/Component/Utility/Unicode.php on line 299
Proposed resolution
Check for the mbstring
extension and mark the test as skipped if it is not available.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#6 | 2596389-6.patch | 567 bytes | tstoeckler |
Comments
Comment #2
tstoecklerHere we go.
Comment #4
tstoecklerNext try.
Comment #6
tstoecklerlalala
Comment #10
Mile23Patch does not apply.
Also, we really want
@requires extension mbstring
: https://phpunit.de/manual/4.8/en/incomplete-and-skipped-tests.html#incom...Comment #16
longwaveI disabled mbstring on my local system to try and reproduce this but PHPUnit itself requires the mbstring extension now:
Closing as outdated as I don't think there is anything we need to do here now.