Class: Generic_Sniffs_Debug_ClosureLinterSniff
Source Location: /PHP_CodeSniffer-2.5.0/CodeSniffer/Standards/Generic/Sniffs/Debug/ClosureLinterSniff.php
Generic_Sniffs_Debug_ClosureLinterSniff.
Author(s):
Version:
Copyright:
- 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
Inherited Variables
Inherited Methods
Class Details
[line 28]
Generic_Sniffs_Debug_ClosureLinterSniff.
Runs gjslint on the file.
Class Variables
$errorCodes = array()
[line 38]
A list of error codes that should show errors.
All other error codes will show warnings.
$ignoreCodes = array()
[line 45]
A list of error codes to ignore.
$supportedTokenizers = array('JS')
[line 52]
A list of tokenizers this sniff supports.
Method Detail
process [line 77]
Processes the tokens that this sniff is interested in.
- Throws: PHP_CodeSniffer_Exception If jslint.js could not be run
- Access: public
Parameters:
int
$stackPtr
—
The position in the stack where the token was found.
register [line 60]
Returns the token types that this sniff is interested in.
Documentation generated on 2019年3月11日 15:10:30 -0400 by
phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.