public
formatErrors(AnalysisResult $analysisResult, Output $output): int
Formats the errors and outputs them to the console.
Error code.
PHPStan\Command\ErrorFormatter\CiDetectedErrorFormatter::formatErrors()
PHPStan\Command\ErrorFormatter\TableErrorFormatter::formatErrors()