PHP_CodeSniffer
[ class tree: PHP_CodeSniffer ] [ index: PHP_CodeSniffer ] [ all elements ]

Class: PHP_CodeSniffer_Standards_CodingStandard

Source Location: /PHP_CodeSniffer-0.7.0/CodeSniffer/Standards/CodingStandard.php

Class Overview


Base Coding Standard class.


Author(s):

Version:

  • Release: 0.7.0

Copyright:

  • 2006 Squiz Pty Ltd (ABN 77 084 670 600)

Methods


Child classes:

Inherited Variables

Inherited Methods


Class Details

[line 29]
Base Coding Standard class.


[ Top ]


Method Detail

getExcludedSniffs   [line 64]

array getExcludedSniffs( )

Return a list of external sniffs to exclude from this standard.

External locations can be single sniffs, a whole directory of sniffs, or an entire coding standard. Locations start with the standard name. For example: PEAR => exclude all sniffs in this standard PEAR/Sniffs/Files => exclude all sniffs in this dir PEAR/Sniffs/Files/LineLengthSniff => exclude this single sniff

  • Access: public

[ Top ]

getIncludedSniffs   [line 45]

array getIncludedSniffs( )

Return a list of external sniffs to include with this standard.

External locations can be single sniffs, a whole directory of sniffs, or an entire coding standard. Locations start with the standard name. For example: PEAR => include all sniffs in this standard PEAR/Sniffs/Files => include all sniffs in this dir PEAR/Sniffs/Files/LineLengthSniff => include this single sniff

  • Access: public

Overridden in child classes as:

PHP_CodeSniffer_Standards_Squiz_SquizCodingStandard::getIncludedSniffs()
Return a list of external sniffs to include with this standard.
PHP_CodeSniffer_Standards_PEAR_PEARCodingStandard::getIncludedSniffs()
Return a list of external sniffs to include with this standard.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:06:34 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.