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.
In common.inc the use statements are declared above the doc file which is incorrect. first in file should always the doc file be written.
Parent issue need to be solved first.
Comment | File | Size | Author |
---|---|---|---|
#2 | drupal-use_statements_before_doc_file-2237767-2.patch | 961 bytes | cs_shadow |
Comments
Comment #1
filijonka CreditAttribution: filijonka commentedComment #2
cs_shadow CreditAttribution: cs_shadow commentedAttaching a patch where doc file is moved above use statements.
Comment #3
cs_shadow CreditAttribution: cs_shadow commentedComment #4
jmarkel CreditAttribution: jmarkel commentedReviewed code by eye - looks good. Ran with the patch as well, everything appears to continue to work as expected (which is no surprise, since this is a doc-only change).
Comment #5
webchickNice find! Committed and pushed to 8.x. Thanks!