Index: includes/coder_6x.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/coder/includes/coder_6x.inc,v
retrieving revision 1.17.2.44
diff -u -r1.17.2.44 coder_6x.inc
--- includes/coder_6x.inc 20 Feb 2008 14:52:41 -0000 1.17.2.44
+++ includes/coder_6x.inc 25 Feb 2008 10:16:11 -0000
@@ -431,6 +431,12 @@
       '#value' => 'function\s+[a-z0-9_]+_(access)\s*\(('. $argex .'\s*,\s*)('. $argex .')\s*\)',
       '#warning_callback' => '_coder_6x_hook_access_warning',
     ),
+    array(
+      '#type' => 'regex',
+      '#source' => 'allphp',
+      '#value' => '(node|user|menu|menu_link|taxonomy_vocabulary|contact|filter_format|forum_term|aggregator_feed|aggregator_category)_load\(arg\([0-9]\)\)',
+      '#warning_callback' => '_coder_6x_menu_get_object_warning',
+    ),
   );
   $review = array(
     '#title' => t('Converting 5.x modules to 6.x'),
@@ -1149,3 +1155,14 @@
     '#link' => 'http://drupal.org/node/114774#hook_access',
   );
 }
+
+function _coder_6x_menu_get_object_warning() {
+  return array(
+    '#warning' => t('Use !menu_get_object() to get an object based on your path',
+      array(
+        '!menu_get_object' => theme('drupalapi', 'menu_get_object', '6')
+      )
+    ),
+    '#link' => 'http://drupal.org/node/114774#menu_get_object',
+  );
+}
Index: tests/coder_6x.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/coder/tests/coder_6x.inc,v
retrieving revision 1.5.2.22
diff -u -r1.5.2.22 coder_6x.inc
--- tests/coder_6x.inc 20 Feb 2008 14:52:41 -0000 1.5.2.22
+++ tests/coder_6x.inc 25 Feb 2008 10:16:11 -0000
@@ -145,6 +145,7 @@
   user_authenticate($array); // Ok.
   user_authenticate(array('name' => $name, 'pass' => $pass)); // Ok.

+  $node = node_load(arg(1)); // Not ok.
 }

 function _coder_6x_test_link_alter($node, &$links) { // An error.
