CodeAnalyzerSniff
in package
implements
Sniff
Interfaces, Classes and Traits
Table of Contents
- process() : int
- Processes the tokens that this sniff is interested in.
- register() : array<string|int, int>
- Returns the token types that this sniff is interested in.
Methods
process()
Processes the tokens that this sniff is interested in.
public
process(File $phpcsFile, int $stackPtr) : int
Parameters
- $phpcsFile : File
-
The file where the token was found.
- $stackPtr : int
-
The position in the stack where the token was found.
Tags
Return values
int —register()
Returns the token types that this sniff is interested in.
public
register() : array<string|int, int>