phpBB
Statistics
| Revision:

root / trunk / code_sniffer / phpbb / phpbbCodingStandard.php

History | View | Annotate | Download (1.2 kB)

1
<?php
2
/** 
3
*
4
* @package code_sniffer
5
* @version $Id: $
6
* @copyright (c) 2007 phpBB Group 
7
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 
8
*
9
*/
10
11
/**
12
 * @ignore
13
 */
14
if (class_exists('PHP_CodeSniffer_Standards_CodingStandard', true) === false) {
15
    throw new PHP_CodeSniffer_Exception(
16
        'Class PHP_CodeSniffer_Standards_CodingStandard not found'
17
    );
18
}
19
20
/**
21
 * Primary class for the phpbb coding standard.
22
 *
23
 * @package code_sniffer
24
 */
25
class PHP_CodeSniffer_Standards_phpbb_phpbbCodingStandard extends PHP_CodeSniffer_Standards_CodingStandard
26
{
27
        /**
28
    * Return a list of external sniffs to include with this standard.
29
    *
30
    * External locations can be single sniffs, a whole directory of sniffs, or
31
    * an entire coding standard. Locations start with the standard name. For
32
    * example:
33
    *  PEAR                              => include all sniffs in this standard
34
    *  PEAR/Sniffs/Files                 => include all sniffs in this dir
35
    *  PEAR/Sniffs/Files/LineLengthSniff => include this single sniff
36
    *
37
    * @return array
38
    */
39
    public function getIncludedSniffs()
40
    {
41
        return array();
42
    }
43
}