Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DummyFile.php

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

DummyFile

Namespace

PHP_CodeSniffer\Files

Code

public function setErrorCounts($errorCount, $warningCount, $fixableCount, $fixedCount) {
    $this->errorCount = $errorCount;
    $this->warningCount = $warningCount;
    $this->fixableCount = $fixableCount;
    $this->fixedCount = $fixedCount;
}
RSS feed
Powered by Drupal