Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
As of commit: 711dc92e75fb9a5f241622146f0c51665a8e1c4f
------ -----------------------------------------------------------------------------------
Line google_analytics.module
------ -----------------------------------------------------------------------------------
216 Call to deprecated method strlen() of class Drupal\Component\Utility\Unicode.
216 Call to deprecated method strlen() of class Drupal\Component\Utility\Unicode.
224 Call to deprecated method strlen() of class Drupal\Component\Utility\Unicode.
671 Call to deprecated method strtolower() of class Drupal\Component\Utility\Unicode.
675 Call to deprecated method strtolower() of class Drupal\Component\Utility\Unicode.
------ -----------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------
Line src/Form/GoogleAnalyticsAdminSettingsForm.php
------ -----------------------------------------------------------------------------------
586 Call to deprecated method strlen() of class Drupal\Component\Utility\Unicode.
595 Call to deprecated method strlen() of class Drupal\Component\Utility\Unicode.
724 Call to deprecated method strlen() of class Drupal\Component\Utility\Unicode.
949 Call to deprecated method strlen() of class Drupal\Component\Utility\Unicode.
952 Call to deprecated method strlen() of class Drupal\Component\Utility\Unicode.
997 Call to deprecated method strtolower() of class Drupal\Component\Utility\Unicode.
------ -----------------------------------------------------------------------------------
[ERROR] Found 11 errors
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#3 | 2042572-d9-deprecation-fixes-3.patch | 5.98 KB | ChaseOnTheWeb |
|
Comments
Comment #2
ChaseOnTheWebAttached is a patch that changes the Unicode::strlen and Unicode::strtolower to mb_* per [#2850048]. Per the change record, this should be a drop-in replacement compatible back to core 8.1.
Comment #3
ChaseOnTheWebThis patch is the same as #2, but we also no longer need 'use Drupal\Component\Utility\Unicode'.
Comment #4
hass CreditAttribution: hass commentedComment #5
hass CreditAttribution: hass commentedComment #7
hass CreditAttribution: hass commented