Index: includes/coder_50.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/coder/includes/coder_50.inc,v
retrieving revision 1.14.2.6
diff -u -r1.14.2.6 coder_50.inc
--- includes/coder_50.inc	7 Apr 2007 21:20:40 -0000	1.14.2.6
+++ includes/coder_50.inc	20 May 2007 23:00:42 -0000
@@ -39,6 +39,11 @@
     ),
     array(
       '#type' => 'regex',
+      '#value' => '[\s\(]node_get_name\s*\(',
+      '#warning_callback' => '_coder_50_node_get_name_warning',
+    ),
+    array(
+      '#type' => 'regex',
       '#source' => 'all',
       '#value' => '\$_POST\s*\[\s*[\'"]?op[\'"]?\s*\]',
       '#warning' => '$_POST[\'op\'] deprecated in favor of $form_values[\'op\']',
@@ -59,7 +64,7 @@
       '#source' => 'all',
       '#value' => '[\s\(]form_render\s*\(',
       '#warning_callback' => '_coder_50_form_render_warning',
-    ),
+
   );
   $review = array(
     '#title' => t('Converting 4.7.x modules to 5.x'),
@@ -163,3 +168,12 @@
     )
   );
 }
+
+function _coder_50_node_get_name_warning() {
+  return t('Replace !node_get_name($node) with !node_get_types(\'name\', $node)',
+    array(
+      '!node_get_name' => theme('drupalapi', 'node_get_name', '4.7'),
+      '!node_get_types' => theme('drupalapi', 'node_get_types'),
+    )
+  );
+}
