diff --git a/coder.module b/coder.module index b0a2979..49efdbb 100644 --- a/coder.module +++ b/coder.module @@ -1077,6 +1077,7 @@ function _coder_read_and_parse_file(&$coder_args) { $regex = '/('. implode('|', array_merge(array('module'), $coder_args['#php_extensions'])) .')$/'; if (!preg_match($regex, $coder_args['#filename'])) { $is_php_file = 0; + return 1; /* // If this isn't a php file, then don't try to parse it. if ((($filepath = realpath($coder_args['#filename'])) && file_exists($filepath))) {