Index: scripts/coder_format/coder_format.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/coder/scripts/coder_format/coder_format.inc,v
retrieving revision 1.2.4.13
diff -u -p -r1.2.4.13 coder_format.inc
--- scripts/coder_format/coder_format.inc	24 Feb 2008 19:36:09 -0000	1.2.4.13
+++ scripts/coder_format/coder_format.inc	14 Jul 2010 04:45:29 -0000
@@ -1390,6 +1390,19 @@ function coder_postprocessor_if_curly_br
   );
 }
 
+function coder_postprocessor_elseif_not_else_if() {
+  // Replace all "else if" statements with "elseif"
+  return array(
+    '#title'   => 'Use "elseif" in place of "else if".',
+    '#search'  => '@
+      (else)          # match an else statement followed by whitespace
+      \s+             # match whitespace
+      (if\ ?\()       # match an if statement.
+      @x',
+    '#replace' => '$1$2',
+  );
+}
+
 /**
  * @} End of "defgroup coder_postprocessor".
  */
