BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
PHP_CodeSniffer\Standards\Generic\Sniffs\Debug\ClosureLinterSniff Class Reference
Inheritance diagram for PHP_CodeSniffer\Standards\Generic\Sniffs\Debug\ClosureLinterSniff:
Collaboration diagram for PHP_CodeSniffer\Standards\Generic\Sniffs\Debug\ClosureLinterSniff:

Public Member Functions

 register ()
 
 process (File $phpcsFile, $stackPtr)
 

Public Attributes

 $errorCodes = array()
 
 $ignoreCodes = array()
 
 $supportedTokenizers = array('JS')
 

Member Function Documentation

PHP_CodeSniffer\Standards\Generic\Sniffs\Debug\ClosureLinterSniff::process ( File  $phpcsFile,
  $stackPtr 
)

Processes the tokens that this sniff is interested in.

Parameters
\PHP_CodeSniffer\Files\File$phpcsFileThe file where the token was found.
int$stackPtrThe position in the stack where the token was found.
Returns
void
Exceptions
\PHP_CodeSniffer\Exceptions\RuntimeExceptionIf jslint.js could not be run

Implements PHP_CodeSniffer\Sniffs\Sniff.

PHP_CodeSniffer\Standards\Generic\Sniffs\Debug\ClosureLinterSniff::register ( )

Returns the token types that this sniff is interested in.

Returns
int[]

Implements PHP_CodeSniffer\Sniffs\Sniff.


The documentation for this class was generated from the following file: