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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

filijonka’s picture

Issue summary: View changes
cs_shadow’s picture

Attaching a patch where doc file is moved above use statements.

cs_shadow’s picture

Status: Active » Needs review
jmarkel’s picture

Status: Needs review » Reviewed & tested by the community

Reviewed 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).

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Nice find! Committed and pushed to 8.x. Thanks!

  • Commit 07734e1 on 8.x by webchick:
    Issue #2237767 by cs_shadow | filijonka: Use statements before doc file.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.