Index: includes/coder_comment.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/coder/includes/coder_comment.inc,v
retrieving revision 1.1.4.3
diff -u -r1.1.4.3 coder_comment.inc
--- includes/coder_comment.inc 23 Jan 2008 12:32:15 -0000 1.1.4.3
+++ includes/coder_comment.inc 25 Jan 2008 11:05:52 -0000
@@ -70,6 +70,19 @@
       '#warning' => '@see references should be separated by ", "',
       '#severity' => 'minor',
     ),
+    array(
+      '#type' => 'grep_invert',
+      '#source' => 'comment',
+      '#value' => '@'.'file',
+      '#warning_callback' => '_coder_comment_missing_file_block',
+    ),
+    array(
+      '#type' => 'regex',
+      '#source' => 'comment',
+      '#value' => '@'.'file\s+.+$',
+      '#warning_callback' => '_coder_comment_invalid_file_block',
+      '#severity' => 'minor',
+    ),
   );
   $review = array(
     '#title' => t('Drupal Commenting Standards'),
@@ -79,3 +92,17 @@
   );
   return array('comment' => $review);
 }
+
+function _coder_comment_missing_file_block() {
+  return array(
+    '#warning' => t('@'.'file block missing'),
+    '#link' => 'http://drupal.org/node/1354#files',
+  );
+}
+
+function _coder_comment_invalid_file_block() {
+  return array(
+    '#warning' => t('@'.'file description should be on the following line'),
+    '#link' => 'http://drupal.org/node/1354#files',
+  );
+}
Index: tests/coder_comment.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/coder/tests/coder_comment.inc,v
retrieving revision 1.1.4.2
diff -u -r1.1.4.2 coder_comment.inc
--- tests/coder_comment.inc 9 Jan 2008 13:31:12 -0000 1.1.4.2
+++ tests/coder_comment.inc 25 Jan 2008 11:05:52 -0000
@@ -7,6 +7,10 @@
  * admin/coder/coder
  */

+/**
+ * @file this is not ok.
+ */
+
 /**
 * This is a comment error.
  *This is a comment error.