Interface PHPStan\Command\ErrorFormatter\ErrorFormatter

This is the interface custom error formatters implement. Register it in the configuration file like this:

services:
	errorFormatter.myFormat:
		class: App\PHPStan\AwesomeErrorFormatter

Learn more: https://phpstan.org/developing-extensions/error-formatters

  • PHPStan\Command\ErrorFormatter\ErrorFormatter
    • PHPStan\Command\ErrorFormatter\GithubErrorFormatter implements ErrorFormatter
    • PHPStan\Command\ErrorFormatter\JsonErrorFormatter implements ErrorFormatter
    • PHPStan\Command\ErrorFormatter\CheckstyleErrorFormatter implements ErrorFormatter
    • PHPStan\Command\ErrorFormatter\TeamcityErrorFormatter implements ErrorFormatter
    • PHPStan\Command\ErrorFormatter\GitlabErrorFormatter implements ErrorFormatter
    • PHPStan\Command\ErrorFormatter\JunitErrorFormatter implements ErrorFormatter
    • PHPStan\Command\ErrorFormatter\CiDetectedErrorFormatter implements ErrorFormatter
    • PHPStan\Command\ErrorFormatter\TableErrorFormatter implements ErrorFormatter
    • PHPStan\Command\ErrorFormatter\RawErrorFormatter implements ErrorFormatter
Methods