\Joomla_Sniffs_Functions_FunctionDeclarationSniff
Joomla_Sniffs_Functions_FunctionDeclarationSniff.
Ensure single and multi-line function declarations are defined correctly.
- Author: Greg Sherwood <gsherwood@squiz.net>
- Copyright: 2006 Squiz Pty Ltd (ABN 77 084 670 600)
- License: http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
Synopsis
class Joomla_Sniffs_Functions_FunctionDeclarationSniff
implements
PHP_CodeSniffer_Sniff
{
- // methods
- public array register()
- public void process()
- public void processSingleLineDeclaration()
- public void processMultiLineDeclaration()
Hierarchy
Implements
Methods
public
- process() — Processes this test, when one of its tokens is encountered.
- processMultiLineDeclaration() — Processes mutli-line declarations.
- processSingleLineDeclaration() — Processes single-line declarations.
- register() — Returns an array of tokens this test wants to listen for.