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.
Part of meta-issue #2002650: [meta, no patch] improve maintainability by removing unused local variables
File /core/modules/file/lib/Drupal/file/Tests/FileFieldWidgetTest.php
Line 267: Unused local variable $text_file
Line 329: Unused local variable $field
Comment | File | Size | Author |
---|---|---|---|
#1 | core-remove-unused-vars-filefieldwidgettest.php-2072565-1.patch | 954 bytes | legolasbo |
Comments
Comment #1
legolasboRemoved unused local variables
Comment #2
phiit CreditAttribution: phiit commentedAll good and well. Patch applied and reviewed, thanks!
Comment #3
webchickCommitted and pushed to 8.x. Thanks!