Index: includes/coder_6x.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/coder/includes/coder_6x.inc,v
retrieving revision 1.17.2.40
diff -u -r1.17.2.40 coder_6x.inc
--- includes/coder_6x.inc 16 Feb 2008 23:50:51 -0000 1.17.2.40
+++ includes/coder_6x.inc 19 Feb 2008 17:18:32 -0000
@@ -410,6 +410,11 @@
       '#value' => '[\s\(]drupal_mail\s*\(\s*[^,]+,\s*(\$to|\$recipient|\$[a-zA-Z_]+?\->mail|(\'|").+@.+(\'|"))',
       '#warning_callback' => '_coder_6x_drupal_mail_warning',
     ),
+    array(
+      '#type' => 'regex',
+      '#value' => 'function\s+[a-z0-9_]+_(access)\s*\(('. $argex .'\s*,\s*)('. $argex .')\s*\)',
+      '#warning_callback' => '_coder_6x_hook_access_warning',
+    ),
   );
   $review = array(
     '#title' => t('Converting 5.x modules to 6.x'),
@@ -1092,3 +1097,14 @@
     '#link' => 'http://drupal.org/node/189367',
   );
 }
+
+function _coder_6x_hook_access_warning() {
+  return array(
+    '#warning' => t('Parameters to !hook_access() have changed',
+      array(
+        '!hook_access' => theme('drupalapi', 'hook_access', '6')
+      )
+    ),
+    '#link' => 'http://drupal.org/node/114774#hook_access',
+  );
+}
Index: tests/coder_6x.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/coder/tests/coder_6x.inc,v
retrieving revision 1.5.2.19
diff -u -r1.5.2.19 coder_6x.inc
--- tests/coder_6x.inc 31 Jan 2008 20:19:27 -0000 1.5.2.19
+++ tests/coder_6x.inc 19 Feb 2008 17:18:32 -0000
@@ -186,3 +186,6 @@
 function mymodule_disable() {
   node_access_rebuild(); // Not ok in node access modules.
 }
+
+function mymodule_access($op, $node) { // Not ok.
+}