[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/_cs/DokuWiki/Sniffs/Functions/ -> OpeningFunctionBraceSniff.php (summary)

(no description)

File Size: 81 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

DokuWiki_Sniffs_Functions_OpeningFunctionBraceSniff:: (2 methods):
  register()
  process()


Class: DokuWiki_Sniffs_Functions_OpeningFunctionBraceSniff  - X-Ref

Generic_Sniffs_Functions_OpeningFunctionBraceKernighanRitchieSniff.

register()   X-Ref
Registers the tokens that this sniff wants to listen for.

return: void

process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)   X-Ref
Processes this test, when one of its tokens is encountered.

param: PHP_CodeSniffer_File $phpcsFile The file being scanned.
param: int                  $stackPtr  The position of the current token in the
return: void