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
In core/modules/system/tests/src/Functional/File/ConfigTest.php, $file_path
variable never used.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3173976-2.patch | 627 bytes | shetpooja04 |
#2 | file_path.png | 464.31 KB | shetpooja04 |
Comments
Comment #2
shetpooja04 CreditAttribution: shetpooja04 at QED42 commentedCommit ID: c848fb6b
Link: https://git.drupalcode.org/project/drupal/-/commit/c848fb6b0f7bd09c5633a546a73073a8941cbadf
File: core/modules/system/tests/src/Functional/File/ConfigTest.php Line: 30
For Issue: https://www.drupal.org/project/drupal/issues/3039026 the variable is removed
Please review
Comment #3
lipinponmala007 CreditAttribution: lipinponmala007 at Zyxware Technologies commentedhttps://www.drupal.org/files/issues/2020-09-30/3173976-2.patch, #2 is working. patch successfully added in 9.1.x-dev branch
Comment #4
lipinponmala007 CreditAttribution: lipinponmala007 at Zyxware Technologies commentedComment #5
alexpottCommitted and pushed 1e5b9c7698 to 9.1.x and c6c224a652 to 9.0.x and 6fdd091c2d to 8.9.x. Thanks!
Backported to 8.9.x to keep tests aligned.
Comment #9
alexpott@shetpooja04 thanks for including information for when the variable became unused. Thats helpful.