Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / system / tests / modules / image_test / src / Plugin / ImageToolkit / TestToolkit.php
index a0f508041bd78d7b919fbadb8fd6b0d55a9913dd..48e0722402ca0ad96517139235c5c1e20ca8011c 100644 (file)
@@ -2,7 +2,6 @@
 
 namespace Drupal\image_test\Plugin\ImageToolkit;
 
-use Drupal\Component\Utility\Unicode;
 use Drupal\Core\Config\ConfigFactoryInterface;
 use Drupal\Core\Form\FormStateInterface;
 use Drupal\Core\ImageToolkit\ImageToolkitBase;
@@ -238,7 +237,7 @@ class TestToolkit extends ImageToolkitBase {
   public static function getSupportedExtensions() {
     $extensions = [];
     foreach (static::supportedTypes() as $image_type) {
-      $extensions[] = Unicode::strtolower(image_type_to_extension($image_type, FALSE));
+      $extensions[] = mb_strtolower(image_type_to_extension($image_type, FALSE));
     }
     return $extensions;
   }