3
* PEAR Coding Standard.
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
13
* @version CVS: $Id: PEARCodingStandard.php,v 1.6 2007/08/02 23:18:31 squiz Exp $
14
* @link http://pear.php.net/package/PHP_CodeSniffer
17
if (class_exists('PHP_CodeSniffer_Standards_CodingStandard', true) === false) {
18
throw new PHP_CodeSniffer_Exception('Class PHP_CodeSniffer_Standards_CodingStandard not found');
22
* PEAR Coding Standard.
25
* @package PHP_CodeSniffer
26
* @author Greg Sherwood <gsherwood@squiz.net>
27
* @author Marc McIntyre <mmcintyre@squiz.net>
28
* @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600)
29
* @license http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
30
* @version Release: 1.0.1
31
* @link http://pear.php.net/package/PHP_CodeSniffer
33
class PHP_CodeSniffer_Standards_PEAR_PEARCodingStandard extends PHP_CodeSniffer_Standards_CodingStandard
38
* Return a list of external sniffs to include with this standard.
40
* The PEAR standard uses some generic sniffs.
44
public function getIncludedSniffs()
47
'Generic/Sniffs/Formatting/MultipleStatementAlignmentSniff.php',
48
'Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php',
49
'Generic/Sniffs/NamingConventions/UpperCaseConstantNameSniff.php',
50
'Generic/Sniffs/PHP/LowerCaseConstantSniff.php',
51
'Generic/Sniffs/PHP/DisallowShortOpenTagSniff.php',
52
'Generic/Sniffs/WhiteSpace/DisallowTabIndentSniff.php',
55
}//end getIncludedSniffs()