Problem/Motivation

Code standards need a bit of help, luckily there are tools to help. @see https://www.drupal.org/coding-standards/

Proposed resolution

Cleanup with phpcs

Do the easy ones automatically:
phpcbf --standard=Drupal ./**.*
Find all the things.
phpcs --standard=Drupal ./**.*

Remaining tasks

User interface changes

API changes

Data model changes

Comments

joelpittet created an issue. See original summary.

joelpittet’s picture

Status: Active » Needs review
StatusFileSize
new31.73 KB

Here's the cleanups from the automated tools listed in the issue summary.

legolasbo’s picture

Status: Needs review » Reviewed & tested by the community

Some files have changed since patch creation, but it still applies to most files and those changes look good, so I'll commit them to 7.x-2.x. Thanks!

legolasbo’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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