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/node/lib/Drupal/node/Tests/PageViewTest.php
Line 31: Unused local variable $html
Comment | File | Size | Author |
---|---|---|---|
#1 | drupal-2064277-1.patch | 629 bytes | sergeypavlenko |
Comments
Comment #1
sergeypavlenko CreditAttribution: sergeypavlenko commentedComment #2
alphawebgroupjust applied and reviewed that patch.
don't see any reason to have unused $html variable in this test.
so, rtbc
Comment #3
alexpottCommitted a45c88f and pushed to 8.x. Thanks!