Subversion Repositories Applications.framework

Rev

Rev 5 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5 aurelien 1
<?php
2
/**
3
 * Bass Coding Standard class.
4
 *
5
 * PHP version 5
6
 *
7
 * @category  PHP
8
 * @package   PHP_CodeSniffer
9
 * @author    Greg Sherwood <gsherwood@squiz.net>
10
 * @author    Marc McIntyre <mmcintyre@squiz.net>
11
 * @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600)
12
 * @license   http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
34 aurelien 13
 * @version   CVS: $Id: CodingStandard.php 34 2009-04-09 07:34:39Z aurelien $
5 aurelien 14
 * @link      http://pear.php.net/package/PHP_CodeSniffer
15
 */
16
 
17
/**
18
 * Base Coding Standard class.
19
 *
20
 * @category  PHP
21
 * @package   PHP_CodeSniffer
22
 * @author    Greg Sherwood <gsherwood@squiz.net>
23
 * @author    Marc McIntyre <mmcintyre@squiz.net>
24
 * @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600)
25
 * @license   http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
26
 * @version   Release: 1.2.0RC1
27
 * @link      http://pear.php.net/package/PHP_CodeSniffer
28
 */
29
class PHP_CodeSniffer_Standards_CodingStandard
30
{
31
 
32
 
33
    /**
34
     * Return a list of external sniffs to include with this standard.
35
     *
36
     * External locations can be single sniffs, a whole directory of sniffs, or
37
     * an entire coding standard. Locations start with the standard name. For
38
     * example:
39
     *  PEAR                              => include all sniffs in this standard
40
     *  PEAR/Sniffs/Files                 => include all sniffs in this dir
41
     *  PEAR/Sniffs/Files/LineLengthSniff => include this single sniff
42
     *
43
     * @return array
44
     */
45
    public function getIncludedSniffs()
46
    {
47
        return array();
48
 
49
    }//end getIncludedSniffs()
50
 
51
 
52
    /**
53
     * Return a list of external sniffs to exclude from this standard.
54
     *
55
     * External locations can be single sniffs, a whole directory of sniffs, or
56
     * an entire coding standard. Locations start with the standard name. For
57
     * example:
58
     *  PEAR                              => exclude all sniffs in this standard
59
     *  PEAR/Sniffs/Files                 => exclude all sniffs in this dir
60
     *  PEAR/Sniffs/Files/LineLengthSniff => exclude this single sniff
61
     *
62
     * @return array
63
     */
64
    public function getExcludedSniffs()
65
    {
66
        return array();
67
 
68
    }//end getExcludedSniffs()
69
 
70
 
71
}//end class
72
 
73
?>