Security update for Core, with self-updated composer
[yaffs-website] / web / core / includes / unicode.inc
index f6b3ee70dcec188e008310eee34dce45f291f219..6a157dc98cc4c4745a73a4e914312a1e75d54faf 100644 (file)
@@ -10,7 +10,16 @@ use Drupal\Component\Utility\Unicode;
 /**
  * Returns Unicode library status and errors.
  */
+/**
+ * Moves unicode_requirements() logic to system_requirements().
+ *
+ * @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0.
+ *
+ * @see https://www.drupal.org/node/2884698
+ */
 function unicode_requirements() {
+  @trigger_error('unicode_requirements() is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. There is no replacement; system_requirements() now includes the logic instead. See https://www.drupal.org/node/2884698', E_USER_DEPRECATED);
+
   $libraries = [
     Unicode::STATUS_SINGLEBYTE => t('Standard PHP'),
     Unicode::STATUS_MULTIBYTE => t('PHP Mbstring Extension'),