mglaman/phpstan-junit

This package is abandoned and no longer maintained. The author suggests using the phpstan/phpstan package instead.

ErrorFormatter for PHPStan to output errors in JUnit format

0.12 2020-02-14 11:39 UTC

This package is auto-updated.

Last update: 2024-03-07 17:54:46 UTC


README

ErrorFormatter for PHPStan to output errors in JUnit format

Usage

Add the following to your phpstan.neon:

services:
	errorFormatter.junit:
		class: PHPStan\Command\ErrorFormatter\JUnitErrorFormatter

Now you can format PHPStan's output using --error-format=junit.