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
Discovered in #3161889-221: [META] Symfony 6 compatibility, run-tests.sh calls \Drupal::service('app.root')
, which is deprecated in favour of a container parameter.
Steps to reproduce
Proposed resolution
Use \Drupal::root()
instead.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#2 | 3258995-2.patch | 1.02 KB | longwave |
Comments
Comment #2
longwaveComment #3
daffie CreditAttribution: daffie commentedLooks good to me.
Comment #6
catchCommitted 6d8f206 and pushed to 10.0.x. Thanks! Also cherry-picked to 9.4.x