Fix coding standards messages
Migrated issue
Reported by: jhodgdon
The DrupalCI test runner is now running coding standards checks. There were, when this issue was created, 1705 coding standards messages.
Issue Status Update:
As of now, there are only 70 coding standards messages left. 69 of them are valid, and one is due to
#2861028: Invalid "Closing brace indented incorrectly" error from tpl.php file
The 69 remaining valid coding standards problems are all:
If the line declaring an array spans longer than 80 characters, each element should be broken into its own line
Novice task
The files/lines where these messages occur can be seen by going to the Automated Testing tab of the API project page:
https://www.drupal.org/node/6018/qa
From there, click on the latest test. You'll see a link that says "70 coding standards messages". Click the link and it will expand to show you the files and line numbers.
I believe that these problems can be fixed by installing Coder, which has the capability to fix some coding standards messages. See
https://www.drupal.org/project/coder
If Coder cannot fix them automatically, then they can be fixed by editing the 9 files that have these messages.
Then, make a patch and upload it here.
Related issue: Issue #2861028