/[drupal]/contributions/modules/coder/includes/coder_style.inc
ViewVC logotype

Diff of /contributions/modules/coder/includes/coder_style.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.16.2.18.2.10, Fri Aug 14 00:18:30 2009 UTC revision 1.16.2.18.2.11, Sun Oct 18 13:24:17 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: coder_style.inc,v 1.16.2.18.2.9 2009/08/09 18:31:53 snpower Exp $  // $Id: coder_style.inc,v 1.16.2.18.2.10 2009/08/14 00:18:30 snpower Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 26  function coder_style_reviews() { Line 26  function coder_style_reviews() {
26      ),      ),
27      array(      array(
28        '#type' => 'regex',        '#type' => 'regex',
29        '#value' => '\s(if|elseif|while|foreach|switch|return|for|catch)\(',        '#value' => '\s(if|elseif|while|foreach|switch|case|return|for|catch)\(',
30        '#warning' => 'Control statements should have one space between the control keyword and opening parenthesis',        '#warning' => 'Control statements should have one space between the control keyword and opening parenthesis',
31      ),      ),
32      array(      array(
33        '#type' => 'regex',        '#type' => 'regex',
34        '#value' => '[\s\(](\w+)\s\(',        '#value' => '[\s\(](\w+)\s\(',
35        '#not' => '^(if|elseif|while|foreach|switch|return|for|list|catch)$',        '#not' => '^(if|elseif|while|foreach|switch|case|return|for|list|catch)$',
36        '#warning' => 'Functions should be called with no spaces between the function name and opening parentheses',        '#warning' => 'Functions should be called with no spaces between the function name and opening parentheses',
37      ),      ),
38      array(      array(

Legend:
Removed from v.1.16.2.18.2.10  
changed lines
  Added in v.1.16.2.18.2.11

  ViewVC Help
Powered by ViewVC 1.1.2