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.
AliasWhitelist class references CacheArray in class comment, should reference CacheCollector.
Comment | File | Size | Author |
---|---|---|---|
#3 | aliaswhitelist_comment-2026851-3.patch | 636 bytes | tsphethean |
#1 | aliaswhitelist_comment-2026851-1.patch | 641 bytes | tsphethean |
Comments
Comment #1
tsphethean CreditAttribution: tsphethean commentedAlso removed
use Drupal\Core\Utility\CacheArray
as CacheArray is never used in the AliasWhitelist class.Comment #2
BerdirWhen referencing the class name, then you must use the full namespace.
I would suggest to reword it to something like "A cache collector to ...", we already have the reference to the class in the extends definition, no need to repeat it.
Comment #3
tsphethean CreditAttribution: tsphethean commentedThanks Berdir - makes sense. Re-rolled and attached
Comment #4
BerdirThis is being fixed in the RTBC issue #2185015: Remove SchemaCache and CacheArray, closing this as a duplicate.