Applying coder_format on Signup HEAD leads to horribly broken indents starting on line 627/623.

The cause is most probably a switch statement in a switch statement.

We are already tracking the count of $switches in a variable, but the indent is controlled in a separate one.

Needs further investigation.

Comments

dww’s picture

FYI: I used coder_format from the end of the DRUPAL-5--2 branch. Looks like sun was using 6.x-2.x-dev (HEAD) and the bug is in both versions...

dww’s picture

Note: it also breaks in signup/includes/views.none.inc for the same reason.

klausi’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Coder for Drupal 6 is now frozen and only security fixes will be applied. Feel free to update this issue and reopen against 7.x-2.x or 8.x-2.x.