function DummyFile::setErrorCounts
Set the error, warning, and fixable counts for the file.
Parameters
int $errorCount The number of errors found.:
int $warningCount The number of warnings found.:
int $fixableCount The number of fixable errors found.:
int $fixedCount The number of errors that were fixed.:
Return value
void
File
-
vendor/
squizlabs/ php_codesniffer/ src/ Files/ DummyFile.php, line 72
Class
Namespace
PHP_CodeSniffer\FilesCode
public function setErrorCounts($errorCount, $warningCount, $fixableCount, $fixedCount) {
$this->errorCount = $errorCount;
$this->warningCount = $warningCount;
$this->fixableCount = $fixableCount;
$this->fixedCount = $fixedCount;
}