coder_format: switch in a switch?
sun - October 31, 2008 - 22:50
| Project: | Coder |
| Version: | 6.x-2.x-dev |
| Component: | Coder Format |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
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.

#1
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...
#2
Note: it also breaks in signup/includes/views.none.inc for the same reason.