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
readAttribute() is deprecated and will be removed in PHPUnit 9.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#6 | 3126970-6.patch | 4.73 KB | mondrake |
#2 | 3126970.patch | 4.95 KB | longwave |
Comments
Comment #2
longwaveComment #4
mondrakeSame as #3126971-3: Replace usage of getObjectAttribute() that is deprecated, we need to wait for the assertAttribute* issues to get in first.
Comment #5
mondrakeThis can be worked on now, on it.
Comment #6
mondrakeJust rerolled.
Comment #7
mondrakeI only rerolled, I think I can RTBC this. The deprecated assertions on internal object properties were replaced by the usual reflection dance. With this in we can unblock #3126971: Replace usage of getObjectAttribute() that is deprecated that has to wait since getObjectAttribute calls readAttribute itself in PHPUnit code.
Comment #8
mondrakeComment #9
longwaveReroll looks fine, consider this an RTBC of the reroll :)
Comment #10
alexpottCommitted and pushed c0f2b559aa to 9.1.x and 076d6f4539 to 9.0.x. Thanks!
Comment #14
mondrake