Class: CamelCapsMethodNameSniff
Source Location: /PHP_CodeSniffer-3.0.1/src/Standards/PSR1/Sniffs/Methods/CamelCapsMethodNameSniff.php
GenericCamelCapsFunctionNameSniff
|
--CamelCapsMethodNameSniff
Ensures method names are defined using camel case.
Author(s):
Copyright:
- 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
Inherited Variables
Inherited Methods
Class Details
[line
16]
Ensures method names are defined using camel case.
Method Detail
processTokenOutsideScope [line 71]
void processTokenOutsideScope(
File
$phpcsFile, int
$stackPtr)
Processes the tokens outside the scope.
Parameters:
\PHP_CodeSniffer\Files\File
$phpcsFile
—
The file being processed.
int
$stackPtr
—
The position where this token was found.
processTokenWithinScope [line 30]
void processTokenWithinScope(
File
$phpcsFile, int
$stackPtr, int
$currScope)
Processes the tokens within the scope.
Parameters:
\PHP_CodeSniffer\Files\File
$phpcsFile
—
The file being processed.
int
$stackPtr
—
The position where this token was found.
int
$currScope
—
The position of the current scope.
Documentation generated on 2019年3月11日 14:17:43 -0400 by
phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.