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
It's follow-up asked in #3299327-6: Replace deprecated static::method() calls for PHP 8.2 and #3299327-9: Replace deprecated static::method() calls for PHP 8.2
The class is not going to be subclassed but using [self::class, 'fetchedFieldSort']
as callable
Steps to reproduce
https://git.drupalcode.org/project/drupal/-/blob/876e17f5763acac1a7fda98...
Proposed resolution
Convert the usage of self
to $this
Remaining tasks
patch/review/commit
User interface changes
no
API changes
no
Data model changes
no
Release notes snippet
no
Comment | File | Size | Author |
---|---|---|---|
#2 | 3299890-2.patch | 561 bytes | andypost |
Comments
Comment #2
andypostit's quickfix
Comment #3
andypostComment #4
LendudeDoesn't seem to break anything, so let's go.
Comment #6
catchCommitted/pushed to 10.1.x and cherry-picked to 10.0.x, thanks!