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/views/tests/src/Functional/Plugin/FilterTest.php, $view
variable never used.
Comment | File | Size | Author |
---|---|---|---|
#2 | remove-unused-variable-3175665-2.patch | 716 bytes | shetpooja04 |
#2 | views.png | 522.28 KB | shetpooja04 |
Comments
Comment #2
shetpooja04 CreditAttribution: shetpooja04 at QED42 commentedCommit ID: 1f0a6298
Link: https://git.drupalcode.org/project/drupal/-/commit/1f0a629875ae4f1b63ca218573145b3a5491081b
File: core/modules/views/src/Tests/Plugin/FilterTest.php Line: 151
For Issue: https://www.drupal.org/project/drupal/issues/2651328 the variable never used
Please review
Comment #3
jijojoseph_zyxware CreditAttribution: jijojoseph_zyxware as a volunteer and at Zyxware Technologies commentedI have reviewed the Patch #2. $view is never getting used. It is working fine without this variable.
Patch Applied cleanly.
@shetpooja04 Thanks for your patch.
RTBC!!!!!
Comment #5
catchCommitted 8c63aba and pushed to 9.1.x. Thanks!