After creating an object of this class, you probably just want to call runPHPCS() or runPHPCBF().
[line 32]
The config data for the run.[line 46]
The reporter used for generating reports after the run.[line 39]
The ruleset used for the run.array checkRequirements(
)
void handleErrors(
int
$code, string
$message, string
$file, int
$line)
This method forces a sniff to stop processing if it is not able to handle a specific piece of code, instead of continuing and potentially getting into a loop.
void printProgress(
File
$file, int
$numFiles, int
$numProcessed)
void processFile(
\PHP_CodeSniffer\Files\File
$file)