Entity API for Drupal 7 has 1148 coding standards violations. That's a lot, and it makes it hard to notice real problems when there are so many problems that don't affect the functioning of the code.

Here is a patch to fix more than 200 of the coding standards violations related to whitespace (indenting, newline format, spacing before/after operators, etc.) and punctuation (commas separating array elements, format of @todo and @see, etc.).

None of these changes can affect the operation of the code.

However, they will make the code easier to maintain, for me.

Comments

TR created an issue. See original summary.

tr’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new55.13 KB
tr’s picture

StatusFileSize
new60.37 KB

Here's a new patch with a few more that I missed.

tree2009’s picture

Status: Needs review » Reviewed & tested by the community

  • TR committed 48a7bac on 7.x-1.x
    Issue #3224827 by TR: Coding standards - whitespace and punctuation
    
tr’s picture

Status: Reviewed & tested by the community » Fixed

Committed #3.

Status: Fixed » Closed (fixed)

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