phpBB
Statistics
| Revision:

root / trunk / code_sniffer / phpbb / phpbbCodingStandard.php

History | View | Annotate | Download (1.2 kB)

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