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.2.1
diff -u -p -r1.2.2.1 coder_format.inc
--- scripts/coder_format/coder_format.inc	7 Jun 2007 01:25:43 -0000	1.2.2.1
+++ scripts/coder_format/coder_format.inc	4 Sep 2007 04:29:24 -0000
@@ -543,6 +543,12 @@ function coder_format_string($code = '')
           $result .= coder_br() . trim($text) .' ';
           break;
         
+        case T_EXTENDS:
+          // Add space before and after 'extends'
+          $result = rtrim($result);
+          $result .= ' '. trim($text) .' ';
+          break;
+        
         case T_AND_EQUAL:
         case T_AS:
         case T_BOOLEAN_AND:
