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
As described here there will be a core change that will make D8 compatible with PHP7 and the new Types that come with it. Now all old usages of those Classes have to be replaced with their equivalent as described in the issue.
Proposed resolution
Change all occurrences of relevant classes to their new equivalents.
Remaining tasks
None
User interface changes
None
API changes
None
Comment | File | Size | Author |
---|---|---|---|
#1 | stringReplaceNumericAmend_2471587_1.patch | 1.9 KB | LKS90 |
Comments
Comment #1
LKS90 CreditAttribution: LKS90 at MD Systems GmbH commentedThis patch replaces all occurrences of the String class with the SafeMarkup equivalent. It also changes one class so it extends from NumericArgument (the new equivalent to Numeric which was used before). All tests are still passing.
Comment #2
joachim CreditAttribution: joachim commentedVery much appreciated -- you've probably saved me what could have been a fair bit of headdesking over why Flag would have crashed the next time I updated my copy of core! :D
Committed.